Azure-Samples / communication-services-AI-customer-service-sample

A sample app for the customer support center running in Azure, using Azure Communication Services and Azure OpenAI for text and voice bots.
MIT License
87 stars 62 forks source link

No replies from chat Bot #35

Open maxlisi opened 9 months ago

maxlisi commented 9 months ago

Hi, I have deployed all components in Azure, also backend and frontend. I had to do it manually because I have no suffient permission to run the script. I guess all is setup up correctly and I'm able to run the frontend, but when I press the button "Customer Support" the Bot doesn't ask me nothing and when I write a message I get no replies.

I see in browser inspection that the frontend is able to communicate with the backend, I can see the "startconversation" call "api/customer/startconversation" that replies with the "threadId", "token", "identity", "endpointUrl", "messageId" equals to null, and "botUserId". Then I see some succeeded calls to Azure Communication Service:

After this API call, nothing happens and I cannot see any replies.

One doubt is about the Azure Communication Services configuration for Cognitive Services, I created a connection of kind "Cognitive Services" to the "Azure AI services multi-service account" resource created.

Where I can do some checks to get it running?

Thanks for help

maxlisi commented 9 months ago

Now I'm able to receive response from Bot, I had to create event grid subscription not only for local deploy running frontend and backend locally, but also for cloud deploy. Now I'm able to test the Bot and I also receive the call, but when the system has to send to me the link to talk with a Technician, the SMS message is not arriving. The number I created should be able to send SMS. I also created a "Regulatory Documents" request, by filling out a form with all information needed.

Another issue I'm facing is that when I open the "Customer Support" chat panel, the Bot does not to start the conversation with that message "Hello there. How can I help you?" like showed in the video at 4:32

Bergdoktor commented 1 month ago

hi @maxlisi, tried deploying the sample on azure and it seemed to go through fine. but now I'm facing the same issue: opening "customer support chat" does not prompt any reaction from the bot. could you elaborate on what kind of subscriptions you had to manually create? There's an "event grid system topic" that is subscribed to Webhook endpoint called "acssupportchat1" within my ressource group.

rnpramasamyai commented 3 weeks ago

@maxlisi To load the customer chat window, please send the message 'Please connect me with someone' in the chat located on the homepage. This will prompt you to enter your phone number, make a call to your phone, and then load the customer chat window. After that, it should work fine.

If the chat on the homepage does not start a conversation, you should send a message like 'Is anybody there?'.