moved to mongo

This commit is contained in:
andrea.terzani
2024-07-29 12:41:29 +02:00
parent f93b20293c
commit 59ee7672c9
10 changed files with 99 additions and 102 deletions

33
README.md Normal file
View File

@@ -0,0 +1,33 @@
#Vector search index
In a non dedicated istance the vectorSearch index must be created manually from Mongo Atlas interface.
Create a new Search index called vector_index wit following definition
{
"fields": [
{
"numDimensions": 1536,
"path": "embedding",
"similarity": "cosine",
"type": "vector"
},
{
"path": "metadata.KsApplicatioName",
"type": "filter"
},
{
"path": "metadata.KsDoSource",
"type": "filter"
},
{
"path": "metadata.Source",
"type": "filter"
},
{
"path": "metadata.KsDoctype",
"type": "filter"
}
]
}