A Solution Accelerator for the RAG pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences. This includes most common requirements and best practices.
Added azureOpenAISystemMessage and azureSearchTopK param in main.bicep files for function app to set/update the value of AZURE_SEARCH_TOP_K and AZURE_OPENAI_SYSTEM_MESSAGE env variable in azure function app using azd env set and azd up command
Does this introduce a breaking change?
[ ] Yes
[x] No
How to Test
Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
Run below commands from VS code powershell terminal:
azd env refresh
azd set AZURE_OPENAI_SYSTEM_MESSAGE "You help people find all the information."
azd up
SSH to the function app:
echo $AZURE_OPENAI_SYSTEM_MESSAGE
Check whether you are able to see the expected SYSTEM_MESSAGE.
Purpose
Added azureOpenAISystemMessage and azureSearchTopK param in main.bicep files for function app to set/update the value of AZURE_SEARCH_TOP_K and AZURE_OPENAI_SYSTEM_MESSAGE env variable in azure function app using azd env set and azd up command
Does this introduce a breaking change?
How to Test
Run below commands from VS code powershell terminal:
azd env refresh azd set AZURE_OPENAI_SYSTEM_MESSAGE "You help people find all the information." azd up
SSH to the function app: echo $AZURE_OPENAI_SYSTEM_MESSAGE
Check whether you are able to see the expected SYSTEM_MESSAGE.
Please find below screenshot for your reference: