You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 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
```
fix#333
## 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. -->
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -307,27 +307,27 @@ By default, the deployed Azure container app will have no authentication or acce
307
307
308
308
To then limit access to a specific set of users or groups, you can follow the steps from [Restrict your Azure AD app to a set of users](https://learn.microsoft.com/azure/active-directory/develop/howto-restrict-your-app-to-a-set-of-users) by changing "Assignment Required?" option under the Enterprise Application, and then assigning users/groups access. Users not granted explicit access will receive the error message -AADSTS50105: Your administrator has configured the application <app_name> to block users unless they are specifically granted ('assigned') access to the application.-
309
309
310
-
### Enable GPT-4V support
310
+
### Enable vision (multi-modal) support
311
311
312
-
With GPT-4-vision-preview(GPT-4V), it's possible to support an enrichmented retrival augmented generation by providing both text and image as source content. To enable GPT-4V support, you need to enable `USE_VISION` and use `GPT-4V` model when provisioning.
312
+
With GPT-4o, it's possible to support an enrichmented retrival augmented generation by providing both text and image as source content. To enable vision support, you need to enable `USE_VISION` and use `GPT-4o` model when provisioning.
313
313
314
314
> [!NOTE]
315
-
> You would need to re-indexing supporting material and re-deploy the application after enabling GPT-4V support if you have already deployed the application before. This is because enabling GPT-4V support requires new fields to be added to the search index.
315
+
> You would need to re-indexing supporting material and re-deploy the application after enabling GPT-4o support if you have already deployed the application before. This is because enabling GPT-4o support requires new fields to be added to the search index.
316
316
317
317
To enable GPT-4V support with Azure OpenAI Service, run the following commands:
318
318
```bash
319
319
azd env set USE_VISION true
320
320
azd env set USE_AOAI true
321
-
azd env set AZURE_OPENAI_CHATGPT_MODEL_NAME gpt-4
322
-
azd env set AZURE_OPENAI_RESOURCE_LOCATION westus #gpt-4-vision-preview is only available in a few regions. Please check the model availability for more details.
321
+
azd env set AZURE_OPENAI_CHATGPT_MODEL_NAME gpt-4o
322
+
azd env set AZURE_OPENAI_RESOURCE_LOCATION westus # Please check the gpt-4o availability for more details.
323
323
azd up
324
324
```
325
325
326
-
To enable GPT-4V support with OpenAI, run the following commands:
326
+
To enable vision support with OpenAI, run the following commands:
327
327
```bash
328
328
azd env set USE_VISION true
329
329
azd env set USE_AOAI false
330
-
azd env set OPENAI_CHATGPT_DEPLOYMENT gpt-4-vision-preview
0 commit comments