Share via

Teams(GPT) bot does not response when taking longer to generate answer via Azure OpenAI

kosuke tsuda 0 Reputation points
2024-03-25T13:28:56.22+00:00

We have created a GPT bot for MS Teams using "Azure Bot Service SDK for Python".

It works fine usually, however, the bot does not respond sometimes. It seems that it happens when Azure OpenAI takes longer to generate a text.

I guess this is caused by timeout settings in Team, but i have no crew so far.

Could anyone advice me where to look?

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

0 comments No comments

1 answer

Sort by: Most helpful
  1. ChetanSharmamsft 1,036 Reputation points Microsoft External Staff Moderator
    2024-03-26T07:45:19.06+00:00

    Hello kosuke tsuda,
    Thanks for raising your query.

    Sometimes Azure Open AI takes time to get answers due to high traffic, please wait for couple of mins before resubmitting.

    So, you can return appropriate response via bot like below:
    Sometimes it takes time to get answers due to high traffic, please wait for couple of mins before resubmitting.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.