Spaces:
Running
Running
How to Vector Search from Cosmos Using Python and Azure Cosmos DB
#6
by
awacke1
- opened
- In your Azure Cosmos DB Account, go under Settings, then Features and turn on Feature Vector Search for NoSQL API (preview):
3, Using sql run your first Vector Index search:
SELECT TOP 10
c.document, c.content, VectorDistance(c.contentVector, [1,2,3]) as SimilarityScore
FROM c
ORDER BY VectorDistance(c.contentVector, [1,2,3])
- Demo sample of results: