Skip to content

Azure-Samples/documentdb-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Azure DocumentDB Samples

This repository contains code samples for working with Azure DocumentDB, including AI-powered vector search implementations across multiple programming languages.

Vector Search Samples

Explore vector similarity search with Azure DocumentDB using different algorithms (IVF, HNSW, and DiskANN) and Azure OpenAI embeddings:

  • .NET - Vector search sample using .NET 8.0
  • Python - Vector search implementation in Python
  • Go - Vector search examples using Go
  • TypeScript - Vector search with TypeScript/Node.js

Each sample demonstrates how to generate embeddings, create vector indexes, and perform semantic similarity searches with hotel data.

Resources