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
555 stars 346 forks source link

Simplify productionizing parameter configuration #197

Open luisquintanilla opened 8 months ago

luisquintanilla commented 8 months ago

The guidance for productionizing asks users to update parameters in the bicep files.

Investigate how to make it easier with azd paramter prompts or similar workflow.

aaronpowell commented 8 months ago

There's two ways we could do parameters with overrides:

  1. We can use environment variables that we set using azd env set, like we do for openAiResourceGroupLocation
  2. We can provide a default value if it's not set, like we do for chatGptDeploymentName