MongoDB和Foundry示例
一组可部署的代码示例,演示如何使用 MongoDB 阿特拉斯 和 Azure AI Foundry.
样品
| 示例 | 描述 | 关键技术 |
|---|---|---|
| 电影上的简单RAG | 使用向量嵌入和MCP对MongoDB电影数据进行语义搜索 | Azure AI Foundry、MongoDB Atlas向量搜索、Azure Functions、MCP |
| 多模式产品搜索 | 使用文本、图像或两者结合的多模式嵌入进行可视化产品搜索 | Azure AI Foundry、MongoDB Atlas矢量搜索、Voyage AI、Azure Functions、MCP |
| 语音客户支持 | 支持语音的物流支持代理,提供订单跟踪、政策搜索和机票创建 | Azure AI Foundry、GPT Realtime API、MongoDB Atlas、Azure Functions、MCP |
| 保险索赔代理 | 通过图像分析和保单搜索进行多代理保险索赔提交和评估 | Azure AI Foundry、GPT-4o、Voyage AI、MongoDB Atlas矢量搜索、Azure Functions、MCP |
常见先决条件
入门指南
- 克隆此存储库:
git clone https://github.com/vpriyanshi/mongodb-foundry-agent.git
cd mongodb-foundry-agent- 导航到示例文件夹并按照其README进行操作:
cd samples/simple-rag-movies仓库结构
mongodb-foundry-agent/
├── README.md # This file — sample catalog
├── LICENSE
├── CONTRIBUTING.md
├── SECURITY.md
├── .gitignore
└── samples/
├── simple-rag-movies/ # Semantic search agent over movies
│ ├── README.md # Full setup & deployment guide
│ ├── src/ # Source code (Azure Function)
│ ├── deploy/ # Bicep & ARM templates
│ ├── docs/ # Architecture, agent instructions, OpenAPI spec
│ ├── scripts/ # Deployment scripts (Bash & PowerShell)
│ └── sample-queries.md # Example queries to test the agent
└── multimodal-product-search/ # Visual product search with images
├── README.md # Full setup & deployment guide
├── src/ # Embedding function + data loader
├── deploy/ # Bicep & ARM templates
├── docs/ # Agent instructions, OpenAPI spec
├── scripts/ # Deployment scripts (Bash & PowerShell)
└── sample-queries.md # Example queries to test the agent
└── voice-customer-support/ # Voice logistics support agent
├── README.md # Full setup & deployment guide
├── src/ # Embedding func, ticket func, voice UI, data loader
├── deploy/ # Bicep & ARM templates
├── docs/ # Agent instructions, OpenAPI specs
├── scripts/ # Deployment scripts (Bash & PowerShell)
└── sample-conversations.md # Example voice conversations
└── insurance-claim-agent/ # Multi-agent insurance claim processing
├── README.md # Full setup & deployment guide
├── src/ # Image analysis func, embedding func, data loader
├── deploy/ # Bicep & ARM templates
├── docs/ # Two agent instructions, OpenAPI specs
├── scripts/ # Deployment scripts (Bash & PowerShell)
└── sample-scenarios.md # Example claim scenarios贡献
欢迎投稿!请阅读我们的 贡献指南 有关添加新样本或改进现有样本的详细信息。
许可证
该项目根据MIT许可证获得许可——请参阅 许可证 文件以获取详细信息。
