This project demonstrates how to create a ChatGPT-like application with your custom data using Azure OpenAI and Azure AI Search, following the Retrieval Augmented Generation (RAG) pattern. It enables multi-turn chat and Q&A functionality tailored for specific data needs.
- Chat Interface: Offers both multi-turn chat and Q&A modes.
- Data Retrieval: Uses Azure AI Search for indexing and retrieving documents in various formats.
- Configurable Interface: Allows users to adjust settings to tweak model behavior.
- Optional Integrations: Vision-based document analysis, speech input/output, and secure Microsoft Entra login.
- Azure Account: Sign up if you don't have one, with permissions for Azure OpenAI Service.
- Tools Required: Install the Azure Developer CLI.
-
Clone the Repository:
git clone [your-repo-url]
-
Set Up Environment: Initialize the environment with:
azd init -t azure-search-openai-demo
-
Deploy Resources: Provision Azure and deploy the app:
azd up
-
In Azure: Access the deployed WebApp via the URL shown after deployment.
-
Locally: Start the app with the following:
./start.sh # for Unix ./start.ps1 # for PowerShell
-
Navigate to http://127.0.0.1:50505 to use the app.
-
Performance Monitoring: View logs and traces in Application Insights for diagnostics.
-
Common Issues: For troubleshooting tips, refer to docs/troubleshooting.md.
- To delete the Azure resources created by this project, run:
azd down