Skip to content

Central hub for demos, code snippets, and other assets for Azure Cosmos DB for AI apps.

License

Notifications You must be signed in to change notification settings

jcodella/AISamples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Cosmos DB for AI Apps

This is the official hub for demos, code, tutorials, videos, and documentation for using Azure Cosmos DB to build fast, scalable, and cost-effective AI applications.

Documentation

Introduction

Azure Cosmos DB for NoSQL

vCore-based Azure Cosmos DB for MongoDB

Integrations

Azure Cosmos DB for NoSQL

  • Semantic Kernel C#, Python
  • LangChain Python, JS (Coming soon!)
  • LlamaIndex (Coming soon!)

vCore-based Azure Cosmos DB for MongoDB

Developer Blog Articles

Code Samples

Azure Cosmos DB for NoSQL

  • Build a Copilot sample app
    • This sample application shows how to build a Generative-AI application using Azure Cosmos DB for NoSQL using its new vector search capabilities and Azure OpenAI Service and Semantic Kernel. The sample provides practical guidance on many concepts you will need to design and build these types of applications.
  • Build a Copilot sample app - Azure Cosmos DB for MongoDB
    • This sample application shows how to build a Generative-AI application using Azure Cosmos DB for MongoDB using its vector search capabilities and Azure OpenAI Service and Semantic Kernel. The sample provides practical guidance on many concepts you will need to design and build these types of applications.
  • Build your own Copilot End to End Solution Accelerator
    • Production Ready Reference Solution for how to build your own copilot using Azure services including: Azure Cosmos DB for NoSQL, Azure OpenAI Service, Azure Kubernetes Service or Azure Container Apps. Uses Semantic Kernel plugins for OpenAI, Cosmos DB connectors, and semantic cache. Built in C#.
  • Movie ChatBot for Azure Cosmos DB for NoSQL
    • In this sample, we'll demonstrate how to build a RAG (Retrieval Augmented Generation) pattern application using a subset of the popular Movie Lens 1M dataset. This sample performs RAG over movie data with vector search, stores conversational chat history, and leverages a semantic cache, all using Azure Cosmos DB and its built-in vector search capability. Azure OpenAI Service is used to generate embeddings and LLM completions.
  • LangChain integration with Azure Cosmos DB for NoSQL
    • This sample shows ingesting PDF's into Azure Cosmos DB for NoSQL and doing vector similarity search (RAG Pattern) using Langchain.
      • Jupyter Notebook
      • Python gradio
      • Code

vCore-based Azure Cosmos DB for MongoDB

  • Movie ChatBot for Azure Cosmos DB for MongoDB

    • In this sample, we'll demonstrate how to build a RAG (Retrieval Augmented Generation) pattern application using a subset of the popular Movie Lens 1M dataset. This sample performs RAG over movie data with vector search, stores conversational chat history, and leverages a semantic cache, all using Azure Cosmos DB and its built-in vector search capability. Azure OpenAI Service is used to generate embeddings and LLM completions.
  • Cosmic RAG Food app with Langchain, Azure OpenAI and Azure Cosmos DB for MongoDB (vCore)

    • A Demo application for a streamlined ordering system tailored for various food categories. It allows users to request customized meals, such as "high protein dishes," with recommendations provided from our database. Users can further customize their choices before sending their orders from the app to the restaurant, including delivery details.
      • Jupyter Notebook
      • Web app
      • Code
  • Advertisement generation with Azure OpenAI and vCore-based Azure Cosmos DB for MongoDB

    • This project demonstrates the use of Azure Cosmos DB's vCore's vector similarity search and OpenAI embeddings to generate advertising content aimed at boosting sales. It is particularly tailored for a shoe retailer looking to leverage recent trends for effective advertising.
      • Jupyter Notebook
      • Python gradio
      • Code
  • LangChain integration with vCore-based Azure Cosmos DB for MongoDB

    • This sample shows ingesting PDF's into Azure Cosmos DB and doing vector similarity search (RAG Pattern) using Langchain.
      • Jupyter Notebook
      • Gradio
      • Code
  • CosmosAIGraph: AI-Powered Graph and Knowledge Graph Solutions with Azure Cosmos DB

Videos

Azure Cosmos DB for NoSQL

vCore-based Azure Cosmos DB for MongoDB

About

Central hub for demos, code snippets, and other assets for Azure Cosmos DB for AI apps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%