Skip to content

Instantly share code, notes, and snippets.

@hweller1
Created December 4, 2023 15:36
Show Gist options
  • Save hweller1/d440b4b0b2c82914622311e303f8f9b7 to your computer and use it in GitHub Desktop.
Save hweller1/d440b4b0b2c82914622311e303f8f9b7 to your computer and use it in GitHub Desktop.
sample_index4.py
{
"type": "vectorSearch,
"fields": [{
"path": "embedding",
"dimensions": 768, # the dimension of `mpnet-base` model
"similarity": "euclidean",
"type": "vector"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment