Skip to content

Commit b72939b

Browse files
diberryCopilot
andcommitted
Fix copilot review comments on Go quickstart
- Remove dead AZURE_OPENAI_EMBEDDING_API_VERSION env var (Go SDK manages versioning internally) - Update PR description to reflect correct product (Cosmos DB NoSQL) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c80f431 commit b72939b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/cosmos-db/quickstart-vector-store-go.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ Find the sample code with resource provisioning on [GitHub](https://github.com/A
146146
```ini
147147
# Azure OpenAI Embedding Settings
148148
AZURE_OPENAI_EMBEDDING_MODEL=text-embedding-3-small
149-
AZURE_OPENAI_EMBEDDING_API_VERSION=2024-08-01-preview
150149
AZURE_OPENAI_EMBEDDING_ENDPOINT=
151150
152151
# Cosmos DB configuration
@@ -162,6 +161,9 @@ Find the sample code with resource provisioning on [GitHub](https://github.com/A
162161
VECTOR_ALGORITHM=diskann
163162
```
164163

164+
> [!NOTE]
165+
> The Go `azopenai` SDK manages API versioning internally. No API version environment variable is needed.
166+
165167
Replace the placeholder values in the `.env` file with your own information:
166168
- `AZURE_OPENAI_EMBEDDING_ENDPOINT`: Your Azure OpenAI resource endpoint URL
167169
- `AZURE_COSMOSDB_ENDPOINT`: Your Azure Cosmos DB endpoint URL

0 commit comments

Comments
 (0)