Skip to content

Commit afd20cb

Browse files
committed
Vectorization work
1 parent dfb52b0 commit afd20cb

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

05_Create_First_Cosmos_DB_Project/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Learn more about the pre-requisites and installation of the emulator [here](http
1414

1515
>**NOTE**: When using the Azure CosmosDB emulator using the API for MongoDB it must be started with the [MongoDB endpoint options enabled](https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-develop-emulator?tabs=windows%2Cpython&pivots=api-mongodb#start-the-emulator) on the command-line.
1616
17+
**The Azure Cosmos DB emulator does not support vector search. To complete the vector search and AI related labs, you must use an Azure Cosmos DB API for MongoDB vCore account in Azure.**
18+
1719
## Authentication
1820

1921
Authentication to Azure Cosmos DB API for Mongo DB is done using a connection string. The connection string is a URL that contains the authentication information for your Azure Cosmos DB account or local emulator. The username and password used when provisioning the Azure Cosmos DB API for MongoDB service are used in the connection string when authenticating to Azure.

08_Vector_Search_Cosmos_DB/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ In this example, assume textual data is vectorized and stored within an Azure Co
2222

2323
## Lab 3 - Use vector search on embeddings in Azure Cosmos DB for MongoDB vCore
2424

25-
In this lab, we'll use a notebook to demonstrate how to add an embedding field to a document, create a vector search index, and perform a vector search query.
25+
In this lab, a notebook is used to demonstrate how to add an embedding field to a document, create a vector search index, and perform a vector search query.
26+
27+
Lab 3 requires the Azure OpenAI endpoint and access key to be added to the settings (`.env`) file. Access this information by opening [Azure OpenAI Studio](https://oai.azure.com/portal) and selecting the **Gear**/Settings icon located to the right in the top toolbar.
28+
29+
![Azure OpenAI Studio displays with the Gear icon highlighted in the top toolbar.](media/azure_openai_studio_settings_icon.png)
30+
31+
On the **Settings** screen, select the **Resource** tab, then copy and record the **Endpoint** and **Key** values for use in the lab.
32+
33+
![The Azure OpenAI resource settings screen displays with the endpoint and key values highlighted.](media/azure_openai_settings.png)
34+
35+
>**NOTE**: This lab can only be completed using a deployed Azure Cosmos DB API for MongoDB vCore account due to the use of vector search. The Azure Cosmos DB Emulator does not support vector search.
2636
2737
Please visit the lab repository to complete this lab.
52.4 KB
Loading
32.2 KB
Loading

0 commit comments

Comments
 (0)