Skip to content

Commit 355b949

Browse files
authored
Fix environment values (#34)
1 parent 690a12f commit 355b949

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

mongo-vcore-vector-search-go/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ DATA_FOLDER=data
3737
FIELD_TO_EMBED=Description
3838

3939
# Name of the field where embeddings will be stored
40-
EMBEDDED_FIELD=DescriptionVector
40+
EMBEDDED_FIELD=text_embedding_ada_002
4141

4242
# Number of dimensions in the embedding vectors (1536 for text-embedding-ada-002)
4343
EMBEDDING_DIMENSIONS=1536

mongo-vcore-vector-search-go/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ MONGO_CONNECTION_STRING=mongodb+srv://username:password@your-cluster.mongocluste
124124
MONGO_CLUSTER_NAME=vectorSearch
125125
126126
# Data Configuration (defaults should work)
127-
DATA_FILE_WITHOUT_VECTORS=data/HotelsData_toCosmosDB_Vector.json
127+
DATA_FILE_WITHOUT_VECTORS=data/HotelsData_toCosmosDB.json
128128
DATA_FILE_WITH_VECTORS=data/HotelsData_toCosmosDB_Vector.json
129129
FIELD_TO_EMBED=Description
130-
EMBEDDED_FIELD=DescriptionVector
130+
EMBEDDED_FIELD=text_embedding_ada_002
131131
EMBEDDING_DIMENSIONS=1536
132132
EMBEDDING_SIZE_BATCH=16
133133
LOAD_SIZE_BATCH=100

0 commit comments

Comments
 (0)