Chat history errors related to CosmosDB database not found.
lizylgit opened this issue · comments
I have deployed the App using Azure AI studio, with chat history enabled.
However, when using the App, chat history is appearing as not enabled, a popup with the below error. And, chat conversations are not getting stored in the CosmosDB database.
I can confirm that the App CosmosDB environment variables are matching with the CosmosDB account, database and url.
This was working a day before.
Please guide me, if I am missing anything? (In my account, there is no CosmosDB Account Key set - which other forums mentioned with a similar issue). I am required to provide this app for demoing to our leadership.
Thanks
--
Error seen on when browsing the app:
"Chat history is not enabled
CosmosDB database db_conversation_history on account https://appname....com:443/ not found. Please contact the site administrator."
To Reproduce
Steps to reproduce the behavior:
- Go to 'Azure OpenAI'
- Click on 'Chat'
- Use your own data option
- Select data sources - existing Azure AI Search . (This data source was created previously 3days ago in AI studio did not want to create a new storage each time.)
-Select existing AI Service
-Select AI Service index - Deploy new App. with Chat enabled option.
Expected behavior
Chat history should be recorded in the 'chat history button' and user conversations stored in the CosmosDB.
Screenshots
-- CosmosDB environment variables
-- chat history error when app is loaded.
Configuration: Please provide the following
- Azure OpenAI model name and version - gpt-35-turbo
- Is chat history enabled? Yes
- Are you using data? Yes - Azure AI Search
Thanks
@sarah-widder, any advice on this would be greatly appreciated. Thanks.
It is working for me now.
@lizylgit - Can you please tell me how did you solve this? I'm getting exact same error message.
@sarah-widder - Can you please post the solution here, I am also facing the same error message. Thank you!