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.
[ ] 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)
[x] I can get the AAD guid for the signed in user from Azure Active Directory.
If the user is already logged into the webapp and the auth header is available, use that.
Give me a way to do local dev.
The login should NOT be the app service managed identity, but the user.
If the user is not already logged into the webapp, redirect to login screen.
This issue is for a: (mark with an
x
)Description
Expected/desired behavior
Please include any acceptance criteria here (should look like tasks to complete for the issue to be resolved)
[x] I can get the AAD guid for the signed in user from Azure Active Directory.
If the user is already logged into the webapp and the auth header is available, use that.
Give me a way to do local dev.
The login should NOT be the app service managed identity, but the user.
If the user is not already logged into the webapp, redirect to login screen.
Mention any other details that might be useful