k-miyake / VectorSearchAiAssistant

A series of samples that demonstrate how to build solutions that incorporate Azure Cosmos DB with Azure OpenAI to build vector search solutions with an AI assistant user interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vector Search & AI Assistant for Azure Cosmos DB

This solution is a series of samples that demonstrate how to build solutions that incorporate Azure Cosmos DB with Azure OpenAI to build vector search solutions with an AI assistant user interface. The solution shows hows to generate vectors on data stored in Azure Cosmos DB using Azure OpenAI, then shows how to implment vector search capabilities using a variety of different vector capable databases available from Azure Cosmos DB and Azure.

The scenario for this sample centers around a consumer retail "Intelligent Agent" that allows users to ask questions on vectorized product, customer and sales order data stored in the database. The data in this solution is the Cosmic Works sample for Azure Cosmos DB. This data is an adapted subset of the Adventure Works 2017 dataset for a retail Bike Shop that sells bicycles, biking accessories, components and clothing.

This repository has multiple versions of this solution which can be downloaded via One-Click Azure Deploy and used:

Azure Cosmos DB for MongoDB vCore version, https://github.com/AzureCosmosDB/VectorSearchAiAssistant/tree/MongovCore

Redis Enterprise version, https://github.com/AzureCosmosDB/VectorSearchAiAssistant/tree/Redis

More versions are Coming Soon!!!

Solution Architecture

The solution architecture is represented by this diagram:

The application frontend is a Blazor application with basic Q&A functionality:

Resources

About

A series of samples that demonstrate how to build solutions that incorporate Azure Cosmos DB with Azure OpenAI to build vector search solutions with an AI assistant user interface.

License:MIT License