Skip to content

Commit 58eeb2c

Browse files
Add OpenAI function appsettings (#215)
## Purpose <!-- Describe the intention of the changes being proposed. What problem does it solve or functionality does it add? --> * ... ## Does this introduce a breaking change? <!-- Mark one with an "x". --> ``` [ ] Yes [ ] No ``` ## Pull Request Type What kind of change does this Pull Request introduce? <!-- Please check the one that applies to this PR using "x". --> ``` [ ] 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 <!-- Add steps to run the tests suite and/or manually test --> ``` ``` ## What to Check Verify that the following are valid * ... ## Other Information <!-- Add any other helpful information that may be needed here. -->
1 parent eb65d06 commit 58eeb2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

infra/main.bicep

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,8 @@ module function './app/function.bicep' = {
302302
AZURE_SEARCH_SERVICE_ENDPOINT: searchService.outputs.endpoint
303303
AZURE_SEARCH_INDEX: searchIndexName
304304
AZURE_STORAGE_BLOB_ENDPOINT: storage.outputs.primaryEndpoints.blob
305+
AZURE_OPENAI_EMBEDDING_DEPLOYMENT: embeddingModelName
306+
AZURE_OPENAI_ENDPOINT: openAi.outputs.endpoint
305307
}
306308
}
307309
}

0 commit comments

Comments
 (0)