From 58eeb2c33f8ae74bd42d8b26d414b02d2d47f95d Mon Sep 17 00:00:00 2001 From: Luis Quintanilla <46974588+luisquintanilla@users.noreply.github.com> Date: Wed, 1 Nov 2023 22:13:45 -0400 Subject: [PATCH] Add OpenAI function appsettings (#215) ## Purpose * ... ## Does this introduce a breaking change? ``` [ ] Yes [ ] No ``` ## Pull Request Type What kind of change does this Pull Request introduce? ``` [ ] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [ ] Documentation content changes [ ] Other... Please describe: ``` ## How to Test * Get the code ``` git clone [repo-address] cd [repo-name] git checkout [branch-name] npm install ``` * Test the code ``` ``` ## What to Check Verify that the following are valid * ... ## Other Information --- infra/main.bicep | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infra/main.bicep b/infra/main.bicep index 43c2071b..dd9fe63f 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -302,6 +302,8 @@ module function './app/function.bicep' = { AZURE_SEARCH_SERVICE_ENDPOINT: searchService.outputs.endpoint AZURE_SEARCH_INDEX: searchIndexName AZURE_STORAGE_BLOB_ENDPOINT: storage.outputs.primaryEndpoints.blob + AZURE_OPENAI_EMBEDDING_DEPLOYMENT: embeddingModelName + AZURE_OPENAI_ENDPOINT: openAi.outputs.endpoint } } }