File tree Expand file tree Collapse file tree
mongo-vcore-vector-search-go Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ DATA_FOLDER=data
3737FIELD_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)
4343EMBEDDING_DIMENSIONS = 1536
Original file line number Diff line number Diff line change @@ -124,10 +124,10 @@ MONGO_CONNECTION_STRING=mongodb+srv://username:password@your-cluster.mongocluste
124124MONGO_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
128128DATA_FILE_WITH_VECTORS=data/HotelsData_toCosmosDB_Vector.json
129129FIELD_TO_EMBED=Description
130- EMBEDDED_FIELD=DescriptionVector
130+ EMBEDDED_FIELD=text_embedding_ada_002
131131EMBEDDING_DIMENSIONS=1536
132132EMBEDDING_SIZE_BATCH=16
133133LOAD_SIZE_BATCH=100
You can’t perform that action at this time.
0 commit comments