Azure-Samples/azure-search-openai-demo
A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
What it solves
此项目提供完整的参考实现,用于构建类似 ChatGPT 的聊天界面,能够基于用户自己的私人文档回答问题,而不是仅依赖大型语言模型的通用知识。
How it works
它实现了 Retrieval Augmented Generation(RAG)模式。系统使用 Azure AI Search 对提供的数据集进行索引并检索相关文档片段,然后将这些片段传递给 Azure OpenAI GPT 模型,以生成有依据、带引用的答案。
Who it’s for
使用 Azure 生态系统的开发者和组织,想要部署一个可投入生产的 RAG‑based AI 助手示例,用于内部政策、福利或领域特定知识库。
Highlights
- Multi-turn Chat:支持带上下文的持续对话。
- Citations:呈现生成每个答案所使用的具体来源和思考过程。
- Multimodal Support:可选的视觉模型集成,能够对图像密集的文档进行推理。
- Flexible Ingestion:支持多种文档格式和云端数据摄取。
- Integrated Settings:通过 UI 控件调节提示词和模型行为,以便实验。