RAG chat app with Azure OpenAI and Azure AI Search
Top 7.3% on sourcepulse
This repository provides a sample application demonstrating the Retrieval-Augmented Generation (RAG) pattern for building ChatGPT-like experiences over private documents using Azure AI Search and Azure OpenAI. It's targeted at developers and researchers looking to leverage their data with large language models in a cloud-native environment, offering both Q&A and multi-turn chat interfaces with citations.
How It Works
The solution utilizes Azure OpenAI Service for accessing GPT models and Azure AI Search for indexing and retrieving relevant document chunks. This RAG approach enhances LLM responses by grounding them in specific data, improving accuracy and reducing hallucinations. The backend is Python, with samples also available in JavaScript, .NET, and Java.
Quick Start & Requirements
azd
).
azd init -t azure-search-openai-demo
azd auth login
azd env new
azd up
Highlighted Details
Maintenance & Community
This is a Microsoft sample, supported via GitHub Issues. Community support is available via a Teams channel for Microsoft employees.
Licensing & Compatibility
The code is provided under a standard open-source license, but the README strongly advises against direct production use without additional security features, recommending a productionizing guide and Azure OpenAI Landing Zone reference architecture.
Limitations & Caveats
The sample is intended for demonstration and requires careful security hardening for production environments. Resource provisioning incurs costs, and users are advised to clean up resources (azd down
) when finished to avoid ongoing charges.
1 day ago
Inactive