Direct Speech Line - Unespected conversation update event (and without locale property set)

Paolo Scomparin 51 Reputation points
2022-05-12T11:20:52.223+00:00

Hi,

we are developing an multilangue bot thru Direct Speech Line channel.
We are using the default client: https://github.com/Azure-Samples/Cognitive-Services-Voice-Assistant/tree/main/clients/csharp-wpf

We note two strange beheaviors of the channel:

1) when the event ConversationUpdate is fired (at start of connection) the Bot not recognize the language that are set in the client, after the first message sended to the bot, the next messages are correctly localized. The problem is similar as this webchat channel issue --> https://github.com/microsoft/BotFramework-Composer/issues/8659

2) During the conversation the channel fire a ConversationUpdate (we don't understand why) also after few messages , also if a bot waits for a response (prompt question) from the user. Could be correct that the event ConversationUpdate fire due inactivity of the user, but not if there is an interaction going on.
This problem with the issiue of point 1) generate a situation like this:

client set in it-IT
(for convenience a write the message always in english, please refer to language code noted at the end of each sentence)

Channel: <ConversationUpdate >
Bot: hello [en-us] <-- the first one after the connection is always in english

... some interactions with the bot ...

User: let's check the weather [it-it]
Bot: Tell me the me your postal code [it-it]

Channel:<ConversationUpdate > <-- why happend ?

Bot: Tell me the me your postal code [en-us]
User: 123456
Bot: The wheather in your city is sunny [it-IT]

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
746 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,371 questions
{count} votes