Skip to content

Commit fb95e53

Browse files
authored
Clarify that gpt-4-v cant be used with integrated vectorization (#1282)
1 parent ee4425d commit fb95e53

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docs/gpt4v.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,20 @@ This repository now includes an example of integrating GPT-4 Turbo with Vision w
3333
Pull the latest changes.
3434

3535
2. **Enable GPT-4 Turbo with Vision:**
36-
Set the environment variable with `azd env set USE_GPT4V true`. This flag is used to deploy necessary components for vision fuctionality and to toggle UI components.
36+
37+
First, make sure you do *not* have integrated vectorization enabled, since that is currently incompatible:
38+
39+
```shell
40+
azd env set USE_FEATURE_INT_VECTORIZATION false
41+
```
42+
43+
Then set the environment variable for enabling vision support:
44+
45+
```shell
46+
azd env set USE_GPT4V true
47+
```
48+
49+
When set, that flag will provision a Computer Vision resource and GPT-4-vision model, upload image versions of PDFs to Blob storage, upload embeddings of images in a new `imageEmbedding` field, and enable the vision approach in the UI.
3750

3851
3. **Clean old deployments (optional):**
3952
Run `azd down --purge` for a fresh setup.

0 commit comments

Comments
 (0)