Direct Speech Line conversation session lifetime

Paolo Scomparin 51 Reputation points
2022-04-05T15:45:29.743+00:00

Hi,

in a bot framework configuration thru direct speech line channel, how many minutes the conversation session will keep in memory on server side ?

From documentation , the channel direct speech line don't support endOfConversation event.
Is automaticaly managed from direct speech channel ?

https://learn.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-direct-line-3-0-end-conversation?view=azure-bot-service-4.0

regards,

Paolo

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
771 questions
Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,484 questions
{count} votes

2 answers

Sort by: Most helpful
  1. YutongTie-MSFT 47,686 Reputation points
    2022-04-08T00:01:55.607+00:00

    Hello @Paolo Scomparin

    I just got confirmation from pm of both standard Direct Line channel and direct speech line channel.

    For the standard Direct Line channel(the document you mentioned above), and individual message is stored up to 24 hours, and the record of the conversation up to 21 days after the last message in the conversation.

    For Direct Line speech channel, we don't store any conversation at the server end, it's differnent from standard channel, please refer to below process:
    overview-directlinespeech.png
    Reference: https://learn.microsoft.com/en-us/azure/bot-service/directline-speech-bot?view=azure-bot-service-4.0
    Reference sample: https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk

    For your second question, the document you mentioned is for Direct Line Standard channel not for Direct Line Speech.

    Hope above helps! Please let me know if you have more questions and need further help.

    Regards,
    Yutong
    -Please kindly accept the answer if you feel helpful, thanks.


  2. Paolo Scomparin 51 Reputation points
    2022-05-11T13:26:41.723+00:00

    Asking to a MS specialist that has pass on the question directly to the direct line speech team, the session lifetime seem is 24 hours in the channel if the client keeps the same conversation id.
    On the bot side, is need long term conversation state storage (like blob o cosmoDB) that is sync as persistence time.

    0 comments No comments