-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some full sentences are not heard by the bot #392
Comments
I should mention that this is the latest commit 47a8387 used locally and the container is stopped (v17.0.3) All these 3 issues have the same audio file and attachments |
From your last comment you said that the full sentences might not be heard because of delay and anti-virus so I tested it again in the container where I produced the same problem I made a seperate Issue for this |
Seems in part related to #399. |
Seeing the logs, also related of #395. |
Also, from the logs, I can see that the bot answered well for multiple sentences, and stopped answering. Can you share the App Insights traces? It is probable that you exhausted your tokens per minute quota on Azure OpenAI and that the application retried the call multiple times. Also, note that the Global Standard deployment is practical but not latency guaranteed. Sometimes, I'll be extremely fast, sometimes, it'll be much slower. To mitigate that, your company can purshase a reservation, to have guaranteed latency with enhanced performances. |
Commit a6a3958 should fix the ability to cut answers and properly load the next. It may mitigate your issue. Publshed as of |
I deployed the newest commit 40d003b with 17.1.0 like I usually do and it couldn't connect to Redis [2025-01-21 19:48:40 +0000] [8] [INFO] Application startup complete. |
Thank you for the information, I have changed the quota limit like you said, it was at the default value "Corresponding requests per minute (RPM) = 50 " |
I have always removed every resource except communication service every time I have tested the application to save on cost So when I want to test it again I do a setup ritual and I don't know if there is a more effecient way to do things
If I knew that I could let some services stay up without any meaningful charge then I would do so, otherwise I just keep doing this |
Upgrading your quota won't cause you any charge. Only when you'll use it. Azure OpenAI with Global Deployment is pay as you go. |
I deployed it into a correct state yesterday morning with a fully filled out config.yaml file in the extended structure of a config-local-example.yaml Then later the same day I had removed all resources but CS and redeployed using the smaller structure of config-remote-example.yaml only adding my number and monitoring. When I called the container this time it has this error. I removed it afterwards and redeployed this morning but got same error, the only things I have changed from your repo was image_version := 17.1.0 Removing a few letters of this name so that I don't get a name-max-length error Removing a few letters of this name so that I don't get a conflict with a "customSubDomainName" which Azure claims is in a soft-deleted state (I have double checked with commands to list any resources including soft-deleted once but it doesn't really exist) Connecting... |
I should add that even though the container is failing to connect to Redis whatever I do I am still able to use the app locally |
This is a new call I made to local and it is cutting off almost all ending text with the newest commit I tried raising the value of "recognition_stt_complete_timeout_ms" to 200 local_call_2_17-1-0.mp4 |
I was able to call the container by filling out a config-local-example.yaml and deploying all the resources from that instead, deploying from config-remote-example.yaml causes the container to immediately not be able to connect to Redis. |
I have called the container with the latest version but it still cuts all sentences short |
As specified in the documentation, the algorithm use the result of the transcription in best efforts. Please fine-tune the recognition timeout values (https://github.com/microsoft/call-center-ai?tab=readme-ov-file#customize-the-conversation). You can start with NB, the complete recognition frequently arrives after 500-1000 ms. Enlarging |
By default, in both configuration examples, Redis is disabled. Redis is only enabled remotely, and obviously when you sync remote config locally. |
Okey, but the container has problems connecting to Redis all the time Connecting... |
The logs you are showing are from Container Apps not from your local computer, if I’m not wrong. In Azure, Redis configuration is always defined. Your Redis instance is maybe stopped or scaled to 0. That’s not an app issue. |
I know that this might sound unfounded but essentially what I am claiming is that even though I deployed the resources twice with the same basic config.yaml bellow, same commit, container version, same code - the application in the container did not work yesterday and it did work today. I realize that a purpose of containers is that they are supposed to be exactly the same, but right now I am assuming that something yesterday affected the execution that made the application not able to recieve phonecalls to it. I hope that you this consideration is not rejected out of hand since I have had considerable difficulty with unexpected behaviour when I have set up everything multiple times. 2025-01-23.21-06-40.mp4conversation: communication_services: sms: {} prompts: |
Issue created specifically for Redis: #407. |
The container is exactly the same each time, with the same configuration. I can assure you. But, as you destroy the infrastructure and pause some of it, DNS entries can be wrong (due to TTL on the DNS), and perhaps bug in Azure as start/destroy everyday the same resources with the same names if not a quality requirement of the engineering. To ease your life, it would be better to let everything running. Just use the company tenant with a POC or innovation budget. You'll ease your mind. |
At 0:40 min I am starting talking while the bot is introducing itself, it does not hear this.
At 2:00 min I say a full sentence which the bot does not hear and this creates a long silence afterwards while I thought I should wait for the bot to process but it times out
complete_log_with_monitoring.txt
Transcript written before the call that i will follow t.txt
Phone_call.zip
The text was updated successfully, but these errors were encountered: