Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mongo-vcore-vector-search-go/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ DATA_FOLDER=data
FIELD_TO_EMBED=Description

# Name of the field where embeddings will be stored
EMBEDDED_FIELD=DescriptionVector
EMBEDDED_FIELD=text_embedding_ada_002

# Number of dimensions in the embedding vectors (1536 for text-embedding-ada-002)
EMBEDDING_DIMENSIONS=1536
Expand Down
4 changes: 2 additions & 2 deletions mongo-vcore-vector-search-go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ MONGO_CONNECTION_STRING=mongodb+srv://username:[email protected]
MONGO_CLUSTER_NAME=vectorSearch

# Data Configuration (defaults should work)
DATA_FILE_WITHOUT_VECTORS=data/HotelsData_toCosmosDB_Vector.json
DATA_FILE_WITHOUT_VECTORS=data/HotelsData_toCosmosDB.json
DATA_FILE_WITH_VECTORS=data/HotelsData_toCosmosDB_Vector.json
FIELD_TO_EMBED=Description
EMBEDDED_FIELD=DescriptionVector
EMBEDDED_FIELD=text_embedding_ada_002
EMBEDDING_DIMENSIONS=1536
EMBEDDING_SIZE_BATCH=16
LOAD_SIZE_BATCH=100
Expand Down