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

No replies from chat Bot

Open
#35 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
131
Forks
78
PR merge metrics
No merged PRs in 30d

Description

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:

- GET "/chat/threads/{threadId}"
- GET "chat/threads/{threadId}/messages"
- GET "/chat/threads/{threadId}/participants"
- GET "/chat/threads/{threadId}/readReceipts" --> response: {"value":[]}
- when I write a message POST "chat/threads/{threadId}/messages", Payload {"content":"hello can you help me?","senderDisplayName":"Customer"} Response {"id":"1702291852703"}

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

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start with the browser network trace for api/customer/startconversation and the subsequent Azure Communication Services chat calls, then verify the Azure Communication Services Cognitive Services connection and related deployment configuration. Done means messages sent through Customer Support receive bot replies.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
api, backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.