Azure-Samples / azure-search-openai-demo-csharp

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.
MIT License
612 stars 401 forks source link

Feature: Interactive Auto rendering for holistic project #266

Open Coruscate5 opened 8 months ago

Coruscate5 commented 8 months ago

Please provide us with the following information:

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)

Given that this project has been migrated to .NET 8, it would be nice to have this sample take advantage of the new "preload" Interactive render features in Blazor. Any production branching that is being created will likely include mandatory authentication (as I've done) which forces the dreaded double-load of the WASM package without a first render (even with cached packages, still a pretty suboptimal user experience).

I understand MSAL is quite finicky with the new modality, just placing this here as this is a great repo that demos a lot of features that are hard to find elsewhere (generic azure openai samples in general are dime-a-dozen).

Much of what I've been able to learn about Doc Intelligence options, Bicep authoring, and AI Search has come from this sample, so thanks!

Coruscate5 commented 8 months ago

Alternatively - just a feature request that shows this sample with Integrated Auth (either Entra pre-auth or MSAL via internal app checking) would also be great! We've done this with MSAL but were unable to get "Easy Authentication" to forward the token for OBO API-to-API flows on the back-end - maybe there's a way...