使用 AI 和 Azure Cosmos DB 的最佳做法和解決方案

使用適用於 NoSQL 的 Azure Cosmos DB 作為 AI 支援應用程式的資料庫,讓您可以隨著應用程式成長而成長資料庫。 您也可以依賴 Azure Cosmos DB 的速度和內建可靠性,以確保您的解決方案在一段時間內變更時快速且可用。

現代化 AI 應用程式

使用適用於 NoSQL 的 Azure Cosmos DB、Azure OpenAI、Azure Kubernetes Service 和 Azure AI 搜尋來實作向量搜尋和 AI 助理。

AI 助理應用程式回應零售商店各種自行車查詢的螢幕快照。

應用程式現代化解決方案加速器架構的圖表。

圖表說明使用 Azure AI 搜尋、Azure OpenAI、Azure 儲存體 和 Azure Cosmos DB 和支援服務的 Kubernetes 支援的 Web 應用程式。 向量和專案會保存在 Azure Cosmos DB 中,而檔案會保存在 Azure 儲存體 中。

連結
解決方案加速器 https://github.com/Azure/Vector-Search-AI-Assistant/tree/cognitive-search-vector
黑客松 https://github.com/Azure/Build-Modern-AI-Apps-Hackathon

付款和交易處理

使用 Azure Front Door、Azure OpenAI、Azure Kubernetes Service、Azure Static Web Apps 和適用於 NoSQL 的 Azure Cosmos DB 來實作付款追蹤程式。

付款處理解決方案加速器架構的圖表。

圖表說明使用 Azure Static Web 應用程式和 Azure Front Door 作為客戶介面的服務。 解決方案接著會裝載付款 API 和背景工作服務的組合,以處理 Azure Kubernetes Service 中的付款交易。 最後,Kubernetes 容器會將數據儲存在 Azure Cosmos DB 中,並從 Azure OpenAI 擷取 AI 完成。

連結
解決方案加速器 https://github.com/Azure/Real-time-Payment-Transaction-Processing-at-Scale
黑客松 https://github.com/Azure/Real-Time-Transactions-Hackathon

醫療宣告事務處理

使用具有 Azure 事件中樞、Azure Static Web Apps、Azure Kubernetes Service、Azure OpenAI、適用於 NoSQL 的 Azure Cosmos DB 的解決方案組建來處理複雜的醫療宣告。

宣告處理解決方案加速器架構的圖表。

圖表說明使用 Azure 事件中樞 內嵌宣告的外部系統。 同時,代理程式與 Azure 靜態 Web 應用程式很有趣。 背景工作服務和 API 裝載於 Azure Kubernetes Service 中。 容器會使用 Azure OpenAI 來完成。 容器也會將數據儲存在適用於 NoSQL 的 Azure Cosmos DB 中,然後使用 Azure Synapse Analytics 進行分析和管理。

連結
解決方案加速器 https://github.com/Azure/Medical-Claims-Transaction-Processing-at-scale
黑客松 https://github.com/Azure/Medical-Claims-Processing-Hackathon

自動化 AI 解決方案

使用新的 Azure 開發人員 CLI 之類的工具,將 AI 支援的解決方案部署自動化。 使用此自動化來建立新式開發人員和作業工作流程。

連結
範例聊天應用程式 https://github.com/Azure-Samples/cosmosdb-chatgpt
訓練模組 https://video2.skills-academy.com/training/modules/build-chat-bot-azure-cosmos-db-openai-blazor

使用適用於 MongoDB 的 Azure Cosmos DB 虛擬核心作為 AI 支援應用程式的資料庫,讓您可以隨著應用程式成長而成長資料庫。 您也可以依賴 Azure Cosmos DB 的速度和內建可靠性,以確保您的解決方案在一段時間內變更時快速且可用。

擷取增強世代

使用適用於 MongoDB 的 Azure Cosmos DB 虛擬核心、Azure OpenAI、Azure Functions 和 Azure Web Apps 的組合,實作 RAG 模式。

連結
解決方案加速器 https://github.com/Azure/Vector-Search-AI-Assistant-MongoDBvCore
Python 筆記本 https://github.com/Microsoft/AzureDataRetrievalAugmentedGenerationSamples/tree/main/Python/CosmosDB-MongoDB-vCore

後續步驟