GeorgiosIoannouCoder commited on
Commit
47d5b57
·
verified ·
1 Parent(s): 27f24d8

Update mongodb_atlas_vector_search_setup.md

Browse files
Files changed (1) hide show
  1. mongodb_atlas_vector_search_setup.md +12 -12
mongodb_atlas_vector_search_setup.md CHANGED
@@ -50,18 +50,18 @@
50
  - Configure index settings:
51
  ```json
52
  {
53
- "fields": [
54
- {
55
- "numDimensions": 768, // Adjust based on your model. (e.g., 768 for all-mpnet-base-v2 )
56
- "path": "embedding",// Adjust it to your index/embedding column.
57
- "similarity": "euclidean", // Adjust it to your desired similarity function.
58
- "type": "vector"
59
- },
60
- {
61
- "path": "source", // Adjust it to the column you would like to filter with.
62
- "type": "filter"
63
- }
64
- ]
65
  }
66
  ```
67
  - Assign your index to the collection name created in step 6 using the drop down menu on the left.
 
50
  - Configure index settings:
51
  ```json
52
  {
53
+ "fields": [
54
+ {
55
+ "numDimensions": 768, // Adjust based on your model. (e.g., 768 for all-mpnet-base-v2 )
56
+ "path": "embedding",// Adjust it to your index/embedding column.
57
+ "similarity": "euclidean", // Adjust it to your desired similarity function.
58
+ "type": "vector"
59
+ },
60
+ {
61
+ "path": "source", // Adjust it to the column you would like to filter with.
62
+ "type": "filter"
63
+ }
64
+ ]
65
  }
66
  ```
67
  - Assign your index to the collection name created in step 6 using the drop down menu on the left.