Skip to content

Commit

Permalink
Add OpenAI function appsettings (Azure-Samples#215)
Browse files Browse the repository at this point in the history
## 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. -->
  • Loading branch information
luisquintanilla authored and IEvangelist committed Dec 5, 2023
1 parent e04691e commit 6b9e141
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
Expand Down

0 comments on commit 6b9e141

Please sign in to comment.