Skip to content

Commit d6bd707

Browse files
committed
Work on latest feedback updates
1 parent 01b1219 commit d6bd707

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed
-6.2 MB
Loading

02_Overview_Cosmos_DB/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Overview of Azure Cosmos DB
22

3-
[Azure Cosmos DB](https://learn.microsoft.com/azure/cosmos-db/introduction) is a globally distributed, multi-model database service that enables querying and storing data using NoSQL models using one of five APIs: NoSQL (document database), Cassandra (column-family), MongoDB (document database), Azure Table, and graph database. It provides turnkey global distribution, elastic scaling of throughput and storage worldwide, single-digit millisecond latencies at the 99th percentile, and guaranteed high availability with multi-homing capabilities. Azure Cosmos DB provides comprehensive service level agreements (SLAs) for throughput, latency, availability, and consistency guarantees, something not found in any other database service.
3+
[Azure Cosmos DB](https://learn.microsoft.com/azure/cosmos-db/introduction) is a globally distributed and serverless vector database for storing and querying both NoSQL and vector data, with a serverless option. It has multiple APIs, the most notable being the native NoSQL document API and MongoDB API. It provides turnkey global distribution, elastic and dynamic scaling of throughput and storage, and a comprehensive SLA (service level agreement) for single-digit millisecond latency and 99.999% high-availability.
44

55
## Azure Cosmos DB and AI
66

77
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.
88

9-
Unlike traditional databases requiring separate workarounds for different data types, Azure Cosmos DB supports relational, document, vector, key-value, graph, and table 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.
9+
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

1111
## Azure Cosmos DB for NoSQL
1212

04_Overview_AI_Concepts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ The following is an example system message that could be used to constrain the L
114114
```text
115115
You are a helpful, fun and friendly sales assistant for Cosmic Works, a bicycle and bicycle accessories store.
116116
117-
Your name is Cosmo.
117+
Your name is Willie.
118118
119119
You are designed to answer questions about the products that Cosmic Works sells, the customers that buy them, and the sales orders that are placed by customers.
120120

10_LangChain/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ tools.extend([
189189
```python
190190
agent_instructions = """
191191
You are a helpful, fun and friendly sales assistant for Cosmic Works, a bicycle and bicycle accessories store.
192-
Your name is Cosmo.
192+
Your name is Willie.
193193
You are designed to answer questions about the products that Cosmic Works sells, the customers that buy them, and the sales orders that are placed by customers.
194194
If you don't know the answer to a question, respond with "I don't know."
195195
Only answer questions related to Cosmic Works products, customers, and sales orders.

Backend/cosmic_works/cosmic_works_ai_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __init__(self, session_id: str):
7070
)
7171
agent_instructions = """
7272
You are a helpful, fun and friendly sales assistant for Cosmic Works, a bicycle and bicycle accessories store.
73-
Your name is Cosmo.
73+
Your name is Willie.
7474
You are designed to answer questions about the products that Cosmic Works sells, the customers that buy them, and the sales orders that are placed by customers.
7575
If you don't know the answer to a question, respond with "I don't know."
7676
Only answer questions related to Cosmic Works products, customers, and sales orders.

Labs/lab_3_cosmosdb_vector_search.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@
326326
"# A system prompt describes the responsibilities, instructions, and persona of the AI.\n",
327327
"system_prompt = \"\"\"\n",
328328
"You are a helpful, fun and friendly sales assistant for Cosmic Works, a bicycle and bicycle accessories store. \n",
329-
"Your name is Cosmo.\n",
329+
"Your name is Willie.\n",
330330
"You are designed to answer questions about the products that Cosmic Works sells.\n",
331331
"\n",
332332
"Only answer questions related to the information provided in the list of products below that are represented\n",
@@ -397,7 +397,7 @@
397397
],
398398
"metadata": {
399399
"kernelspec": {
400-
"display_name": ".venv",
400+
"display_name": "Python 3",
401401
"language": "python",
402402
"name": "python3"
403403
},
@@ -411,7 +411,7 @@
411411
"name": "python",
412412
"nbconvert_exporter": "python",
413413
"pygments_lexer": "ipython3",
414-
"version": "3.11.5"
414+
"version": "3.11.10"
415415
}
416416
},
417417
"nbformat": 4,

Labs/lab_4_langchain.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
"# Note the addition of the templated variable/placeholder for the list of products and the incoming question.\n",
220220
"system_prompt = \"\"\"\n",
221221
"You are a helpful, fun and friendly sales assistant for Cosmic Works, a bicycle and bicycle accessories store. \n",
222-
"Your name is Cosmo.\n",
222+
"Your name is Willie.\n",
223223
"You are designed to answer questions about the products that Cosmic Works sells.\n",
224224
"\n",
225225
"Only answer questions related to the information provided in the list of products below that are represented\n",
@@ -416,7 +416,7 @@
416416
"source": [
417417
"agent_instructions = \"\"\" \n",
418418
" You are a helpful, fun and friendly sales assistant for Cosmic Works, a bicycle and bicycle accessories store.\n",
419-
" Your name is Cosmo.\n",
419+
" Your name is Willie.\n",
420420
" You are designed to answer questions about the products that Cosmic Works sells, the customers that buy them, and the sales orders that are placed by customers.\n",
421421
" If you don't know the answer to a question, respond with \"I don't know.\" \n",
422422
" Only answer questions related to Cosmic Works products, customers, and sales orders.\n",
@@ -490,7 +490,7 @@
490490
],
491491
"metadata": {
492492
"kernelspec": {
493-
"display_name": ".venv",
493+
"display_name": "Python 3",
494494
"language": "python",
495495
"name": "python3"
496496
},
@@ -504,7 +504,7 @@
504504
"name": "python",
505505
"nbconvert_exporter": "python",
506506
"pygments_lexer": "ipython3",
507-
"version": "3.11.5"
507+
"version": "3.11.10"
508508
}
509509
},
510510
"nbformat": 4,

0 commit comments

Comments
 (0)