microsoft / sample-app-aoai-chatGPT

Sample code for a simple web chat experience through Azure OpenAI, including Azure OpenAI On Your Data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mutliple Users using AI STUDIO deployed APP with history enbaled in cosmo db but the history is visible of all the users and not based on user id.

rehat22 opened this issue · comments

Shouldn't it show history based on cookie or device? The entire user history of multiple users are visible in the history tab and its not showing history based on per user i.e each person has his own history rather than seeing the collective history of all users.
Also the Cosmo db backend showing user id like this now.
Screenshot 2024-05-10 at 5 57 24 PM
Auth enabled is set to false

If there's no authentication the app cannot know who is currently using it, so it can't save or display a specific user's history.

There is an open pull request awaiting approval to hide the chat history button for cases where multiple users are using the same instance that you may like to follow [Add env var to show/hide Chat History Button] (#771)

This issue is stale because it has been open for 30 days with no activity.