Samples Gallery

Explore ready-to-run code samples that show how to build real-world applications with DocumentDB

3 samples

𝗧𝗦
TypeScript

AI/ML

Intermediate

Hotel Recommendation Agent: RAG with Native Vector Search and LLM Synthesizer in TypeScript

A TypeScript app that uses DocumentDB OSS native vector search to retrieve semantically similar hotels from a natural-language query, then passes the results to a LlamaIndex synthesizer agent (llama3.2 via Ollama) to generate a concise, comparative recommendation. Runs entirely on open-source tools with no cloud accounts required.

Vector SearchAI AgentLlamaIndexOllamaEmbeddingsRAGDocumentDB OSSOpen Source
View on GitHub
Node.js

AI/ML

Intermediate

BookFinder: AI-Powered Semantic Book Discovery

A Node.js/Express app that uses OpenAI embeddings and DocumentDB vector search to let users discover books through natural language queries like 'dystopian future with rebellion'.

Vector SearchOpenAIEmbeddingsExpressSemantic Search
View on GitHub
Node.js

Retail

Beginner

Retail Product Store: Full-Stack Product Catalog with DocumentDB

A Node.js/Express app backed by DocumentDB that serves a responsive retail storefront with product browsing, category filtering, sort, and keyword search. Products are stored in DocumentDB and served via a REST API, with a vanilla JS frontend.

ExpressREST APIDocumentDB OSSVanilla JSFull Stack
View on GitHub

Want to contribute a sample?

Open a Pull Request