GeorgiosIoannouCoder
commited on
Commit
•
d93456f
1
Parent(s):
26eaf1c
Update mongodb_atlas_vector_search_setup.md
Browse files
mongodb_atlas_vector_search_setup.md
CHANGED
@@ -38,6 +38,7 @@
|
|
38 |
- Click "Add My Own Data"
|
39 |
- Create database (e.g., "txts")
|
40 |
- Create collection (e.g., "txts_collection")
|
|
|
41 |
- Click "Create"
|
42 |
|
43 |
## Vector Search Configuration
|
@@ -49,10 +50,9 @@
|
|
49 |
- Configure index settings:
|
50 |
```json
|
51 |
{
|
52 |
-
"name": "vector_index", // Adjust it to your desired name.
|
53 |
"type": "vector",
|
54 |
"path": "embedding", // Adjust it to your index/embedding column.
|
55 |
-
"numDimensions":
|
56 |
"similarity": "euclidean" // Adjust it to your desired similarity function.
|
57 |
}
|
58 |
```
|
|
|
38 |
- Click "Add My Own Data"
|
39 |
- Create database (e.g., "txts")
|
40 |
- Create collection (e.g., "txts_collection")
|
41 |
+
- No need to select any additional preferences.
|
42 |
- Click "Create"
|
43 |
|
44 |
## Vector Search Configuration
|
|
|
50 |
- Configure index settings:
|
51 |
```json
|
52 |
{
|
|
|
53 |
"type": "vector",
|
54 |
"path": "embedding", // Adjust it to your index/embedding column.
|
55 |
+
"numDimensions": 768, // Adjust based on your model. (e.g., 768 for all-mpnet-base-v2 )
|
56 |
"similarity": "euclidean" // Adjust it to your desired similarity function.
|
57 |
}
|
58 |
```
|