bdleavitt / chatgpt-on-azure

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure Cognitive Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
1 stars 0 forks source link

As an admin, I want to know who the current user is #10

Closed kjpap closed 1 year ago

kjpap commented 1 year ago

This issue is for a: (mark with an x)

[ ] bug report -> please search issues before submitting
[x] feature request
[ ] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Description

As an admin, I want to know who the current user is so that I can have traceability into logging (#9 ) and see only my chats (#5 )

Expected/desired behavior

Please include any acceptance criteria here (should look like tasks to complete for the issue to be resolved)

Mention any other details that might be useful

This may be a prereq for #5 and #9

kjpap commented 1 year ago

AAD integration is in there, but want to make sure that cascades to cosmos partitions, etc...

bdleavitt commented 1 year ago

Added utils for auth that can be used on the front end or the backend.