Skip to content

Commit 11e317f

Browse files
committed
a few more feedback updates
1 parent dd25444 commit 11e317f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

02_Overview_Cosmos_DB/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Azure Cosmos DB and AI
66

7-
The surge of AI-powered applications has led to the need to integrate data from multiple data stores, introducing another layer of complexity as each data store tends to have its own workflow and operational performance. Azure Cosmos DB simplifies this process by providing a unified platform for all data types, including AI data. In particular, its support for vector storage and retrieval is a game-changer for generative AI applications. By representing complex data elements like text, images, or sound as high-dimensional vectors, Azure Cosmos DB allows for efficient storage, indexing, and querying of these vectors, which is crucial for many generative AI tasks.
7+
The surge of AI-powered applications has led to the need to integrate operational data from multiple data stores, introducing another layer of complexity as each data store tends to have its own workflow and operational performance. Azure Cosmos DB simplifies this process by providing a unified platform for all data types, including AI data. In particular, its support for vector storage and retrieval is a game-changer for generative AI applications. By representing complex data elements like text, images, or sound as high-dimensional vectors, Azure Cosmos DB allows for efficient storage, indexing, and querying of these vectors, which is crucial for many generative AI tasks.
88

99
Unlike traditional databases requiring separate workarounds for different data types, Azure Cosmos DB supports multiple data models within a single, integrated environment. This simplification means you can leverage the same robust platform for all your AI data needs. Many AI applications rely on external stand-alone vector stores, which can be cumbersome to manage and maintain. Azure Cosmos DB's native support for vector storage and retrieval eliminates the need for these external stores as all the application's data is located in a single place thus streamlining the development and deployment of AI applications. These features enable the building, deploying, and scaling of AI applications to be more efficient and reliable, making Azure Cosmos DB an ideal choice for handling the complex data requirements of modern generative AI solutions.
1010

09_Vector_Search_Cosmos_DB/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ In this example, assume textual data is vectorized and stored within an Azure Co
3636

3737
## Why use Azure Cosmos DB for NoSQL as a vector store?
3838

39-
It is common practice to store vectorized data in a dedicated vector store as vector search indexing is not a common capability of most databases. However, this introduces additional complexity to the solution as the data must be stored in two different locations. Azure Cosmos DB for NoSQL supports vector search indexing, which means that the vectorized data can be stored in the same document as the original data. This reduces the complexity of the solution and allows for a single database to be used for both the vector store and the original data.
39+
It is common practice to store vectorized data in a dedicated vector store as vector search indexing is not a common capability of most databases. However, this introduces additional complexity to the solution as the data must be stored in two different locations. Azure Cosmos DB for NoSQL supports vector search indexing, which means that the vectorized data can be stored in the same document as the operational NoSQL data. This reduces the complexity of the solution and allows for a single database to be used for both the vector store and the operational NoSQL data.
40+
41+
Azure Cosmos DB offers the ability to run serverless workloads, allowing for cost-effective, on-demand scaling for applications that don't require constant high performance. As your workloads grow, you can seamlessly transition to provisioned throughput, unlocking advanced capabilities such as low latency and high availability. This ability to scale both up and down means you can optimize for both performance and cost-efficiency, ensuring that vector search operations meet the demands of your application without compromising on response times or availability.
4042

4143
## Vector index options in Azure Cosmos DB for NoSQL
4244

@@ -216,8 +218,6 @@ product_v_container = db.create_container_if_not_exists(
216218
)
217219
```
218220

219-
220-
221221
### Performing a vector search query
222222

223223
```python

13_Conclusion/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ This guide has provided a comprehensive walkthrough for creating intelligent sol
44

55
The benefits of building a chat bot experience using Azure Cosmos DB for NoSQL with vector search capabilities powered by DiskANN and Azure OpenAI services includes:
66

7-
- **Unified data and vector management**: Store both operational data and vectors together in a single database, reducing complexity and improving performance.
7+
- **Unified data and vector management**: Storing both operational data and vectors together in a single database reduces complexity, improves performance, and eliminates the need to synchronize data between multiple databases.
88
- **No need for synchronization**: By keeping data and vectors in one place, you avoid the overhead of synchronizing two different databases.
99
- **Flexible schema**: Adapt to changing data structures effortlessly, ensuring your system remains flexible and scalable as your application evolves.
1010
- **Support for latency-sensitive applications**: Azure Cosmos DB is optimized for applications requiring low-latency responses, making it suitable for real-time, interactive use cases.
1111
- **High elasticity and throughput**: Azure Cosmos DB can scale seamlessly to handle high-throughput workloads, making it perfect for applications that need to grow dynamically with demand.
12-
- **Store chat history and vector data**: Easily manage chat histories alongside vector data, making it ideal for chat bot and other interactive applications.
12+
- **Store chat history and vector data**: Easily manage chat histories alongside vector and operational data, making it ideal for chat bot and other interactive applications.
1313

1414
This guide was designed to provide an insightful journey for Python developers to get started with Azure Cosmos DB for NoSQL as it applies to creating exciting AI-enabled applications using existing skills. We hope you found this guide helpful and informative.
1515

0 commit comments

Comments
 (0)