Skip to content

Commit 0d2eb1c

Browse files
authored
Merge pull request #263520 from seesharprun/cosmos-solution-accelerators
Cosmos DB | Create NoSQL & MongoDB solution accelerator pages
2 parents 40486f6 + 38ce913 commit 0d2eb1c

File tree

10 files changed

+120
-2
lines changed

10 files changed

+120
-2
lines changed
152 KB
Loading
104 KB
Loading
84.3 KB
Loading
109 KB
Loading

articles/cosmos-db/mongodb/vcore/TOC.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,7 @@
8080
items:
8181
- name: Troubleshoot common issues
8282
href: troubleshoot-common-issues.md
83+
- name: Samples
84+
items:
85+
- name: Solution accelerators
86+
href: ../../solutions.md?pivots=api-mongodb

articles/cosmos-db/mongodb/vcore/index.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,9 @@ landingContent:
8484
url: ../../../dms/tutorial-mongodb-cosmos-db-online.md
8585
- text: Migrate using Azure Database Migration Service (offline)
8686
url: ../../../dms/tutorial-mongodb-cosmos-db.md
87+
- title: Samples
88+
linkLists:
89+
- linkListType: sample
90+
links:
91+
- text: Solution accelerators
92+
url: ../../solutions.md?pivots=api-mongodb

articles/cosmos-db/nosql/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575
displayName: Python, Scala, Spark, Java, Databricks
7676
- name: Samples
7777
items:
78+
- name: Solution accelerators
79+
href: ../solutions.md?pivots=api-nosql
7880
- name: .NET
7981
href: samples-dotnet.md
8082
- name: Java

articles/cosmos-db/nosql/index.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,13 @@ landingContent:
9393
- text: Configure role-based access control
9494
url: ../how-to-setup-rbac.md
9595
- text: Configure customer-managed keys
96-
url: ../how-to-setup-customer-managed-keys.md
96+
url: ../how-to-setup-customer-managed-keys.md
97+
- title: Samples
98+
linkLists:
99+
- linkListType: sample
100+
links:
101+
- text: Solution accelerators
102+
url: ../solutions.md?pivots=api-nosql
97103
- title: Get training
98104
linkLists:
99105
- linkListType: learn
@@ -103,7 +109,7 @@ landingContent:
103109
- text: Build a Node.js app
104110
url: /training/modules/build-node-cosmos-app-vscode/
105111
- text: Build a Java app
106-
url: /training/modules/build-cosmos-db-java-app/
112+
url: /training/modules/build-cosmos-db-java-app/
107113
- linkListType: video
108114
links:
109115
- text: Azure Friday - Extension for Azure Functions update with Microsoft Entra support

articles/cosmos-db/solutions.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
title: Best practices and solutions using AI
3+
titleSuffix: Azure Cosmos DB
4+
description: Review solution accelerators using both Azure Cosmos DB and Azure OpenAI. The solutions integrate AI with vector search capabilities.
5+
author: seesharprun
6+
ms.author: sidandrews
7+
ms.reviewer: wangwilliam
8+
ms.service: cosmos-db
9+
ms.subservice: nosql
10+
ms.topic: best-practice
11+
ms.date: 02/27/2024
12+
zone_pivot_groups: azure-cosmos-db-apis-nosql-mongodb
13+
---
14+
15+
# Best practices and solutions using AI and Azure Cosmos DB
16+
17+
::: zone pivot="api-nosql"
18+
19+
Use Azure Cosmos DB for NoSQL as a database for your AI-powered applications so you can grow your database as your application grows. You can also rely on the speed of Azure Cosmos DB and built-in reliability to ensure that your solution is fast and available as your needs change over time.
20+
21+
## Modernize AI applications
22+
23+
Implement vector search and an AI assistant using Azure Cosmos DB for NoSQL, Azure OpenAI, Azure Kubernetes Service, and Azure AI Search.
24+
25+
:::image type="content" source="media/solutions/modernize-apps-screenshot.png" alt-text="Screenshot of an AI assistants application responding to queries about various bikes for a retail shop.":::
26+
27+
:::image type="complex" source="media/solutions/modernize-apps-diagram.png" alt-text="Diagram of the architecture of the application modernization solution accelerator.":::
28+
Diagram illustrating a Kubernetes-backed web application using Azure AI Search, Azure OpenAI, Azure Storage, and Azure Cosmos DB and backing services. Vectors and items are persisted in Azure Cosmos DB while files are persisted in Azure Storage.
29+
:::image-end:::
30+
31+
| | Link |
32+
| --- | --- |
33+
| **Solution accelerator** | <https://github.com/Azure/Vector-Search-AI-Assistant/tree/cognitive-search-vector> |
34+
| **Hackathon** | <https://github.com/Azure/Build-Modern-AI-Apps-Hackathon> |
35+
36+
## Payment and transaction processing
37+
38+
Use Azure Front Door, Azure OpenAI, Azure Kubernetes Service, Azure Static Web Apps, and Azure Cosmos DB for NoSQL to implement a payment tracking process.
39+
40+
:::image type="complex" source="media/solutions/payment-processing-diagram.png" alt-text="Diagram of the architecture of the payment processing solution accelerator.":::
41+
Diagram illustrating a service that uses an Azure Static Web App and Azure Front Door as a customer interface. The solution then hosts a combination of payment APIs and worker services to process payment transactions in Azure Kubernetes Service. Finally, the Kubernetes containers store data in Azure Cosmos DB and retrieve AI completions from Azure OpenAI.
42+
:::image-end:::
43+
44+
| | Link |
45+
| --- | --- |
46+
| **Solution accelerator** | <https://github.com/Azure/Real-time-Payment-Transaction-Processing-at-Scale> |
47+
| **Hackathon** | <https://github.com/Azure/Real-Time-Transactions-Hackathon> |
48+
49+
## Medical claims transaction processing
50+
51+
Process complex medical claims using a solution build with Azure Event Hubs, Azure Static Web Apps, Azure Kubernetes Service, Azure OpenAI, an Azure Cosmos DB for NoSQL.
52+
53+
:::image type="complex" source="media/solutions/claims-processing-diagram.png" alt-text="Diagram of the architecture of the claims processing solution accelerator.":::
54+
Diagram Illustrating an external system ingesting claims using Azure Event Hubs. Concurrently, agents are interesting with an Azure Static Web App. Worker Services and APIs are hosted in Azure Kubernetes Service. The containers use Azure OpenAI for completions. The containers also store data in Azure Cosmos DB for NoSQL, which is then analyzed and manged using Azure Synapse Analytics.
55+
:::image-end:::
56+
57+
| | Link |
58+
| --- | --- |
59+
| **Solution accelerator** | <https://github.com/Azure/Medical-Claims-Transaction-Processing-at-scale> |
60+
| **Hackathon** | <https://github.com/Azure/Medical-Claims-Processing-Hackathon> |
61+
62+
## Automate AI solutions
63+
64+
Automate the deployment of AI-powered solutions using tools like the new Azure Developer CLI. Use this automation to create a modern developer and operations workflow.
65+
66+
| | Link |
67+
| --- | --- |
68+
| **Sample chat application** | <https://github.com/Azure-Samples/cosmosdb-chatgpt> |
69+
| **Training module** | [https://learn.microsoft.com/training/modules/build-chat-bot-azure-cosmos-db-openai-blazor](/training/modules/build-chat-bot-azure-cosmos-db-openai-blazor) |
70+
71+
::: zone-end
72+
73+
::: zone pivot="api-mongodb"
74+
75+
Use Azure Cosmos DB for MongoDB vCore as a database for your AI-powered applications so you can grow your database as your application grows. You can also rely on the speed of Azure Cosmos DB and built-in reliability to ensure that your solution is fast and available as your needs change over time.
76+
77+
## Retrieval augmented generation
78+
79+
Implement the RAG pattern using a combination of Azure Cosmos DB for MongoDB vCore, Azure OpenAI, Azure Functions, and Azure Web Apps.
80+
81+
| | Link |
82+
| --- | --- |
83+
| **Solution accelerator** | <https://github.com/Azure/Vector-Search-AI-Assistant-MongoDBvCore> |
84+
| **Python notebook** | <https://github.com/Microsoft/AzureDataRetrievalAugmentedGenerationSamples/tree/main/Python/CosmosDB-MongoDB-vCore> |
85+
86+
::: zone-end
87+
88+
## Next step
89+
90+
> [!div class="nextstepaction"]
91+
> [Vector database](vector-database.md)

articles/zone-pivot-groups.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2940,6 +2940,15 @@ groups:
29402940
- id: method-template
29412941
title: GitHub Actions template
29422942
# Owner: sidandrews
2943+
- id: azure-cosmos-db-apis-nosql-mongodb
2944+
title: Azure Cosmos DB APIs
2945+
prompt: Choose an API
2946+
pivots:
2947+
- id: api-nosql
2948+
title: NoSQL
2949+
- id: api-mongodb
2950+
title: MongoDB
2951+
# Owner: sidandrews
29432952
- id: azure-cosmos-db-apis-nosql-mongodb-gremlin-table
29442953
title: Azure Cosmos DB APIs
29452954
prompt: Choose an API

0 commit comments

Comments
 (0)