Skip to content

Commit 7e41be4

Browse files
committed
feedback
1 parent 65c2dee commit 7e41be4

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

articles/ai-services/openai/concepts/use-your-data.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ Along with using Elasticsearch databases in Azure OpenAI Studio, you can also us
312312
### Prerequisites
313313

314314
* A [MongoDB Atlas account](https://account.mongodb.com/account/register)
315+
* An Azure OpenAI ada002 [embedding model](./models.md#embeddings)
316+
* To achieve good retrieval quality, make sure your vector index is created with Azure OpenAI ada002 embedding model.
315317

316318
We recommend using one of the following models for MongoDB Atlas
317319
* gpt-4 (0613)
@@ -326,22 +328,28 @@ Only public network access is supported. Please make sure the database allows pu
326328

327329
### Data preparation
328330

329-
Use the [available script on Github](https://github.com/microsoft/sample-app-aoai-chatGPT/blob/rawan/mongodbdataprep/scripts/mongo_vector_db_data_preparation.py) to prepare your Data for use with Azure OpenAI On Your Data.
331+
If you want to create a new vector search index with your documents, you can use the [available script on Github](https://github.com/microsoft/sample-app-aoai-chatGPT/blob/rawan/mongodbdataprep/scripts/mongo_vector_db_data_preparation.py) to prepare your data for use with Azure OpenAI On Your Data.
332+
333+
### Connection to MongoDB account
334+
335+
To add your data source, you first need to create a connection to MongoDB Atlas. This connection includes information such as authentication (username and password).
336+
337+
:::image type="content" source="../media/use-your-data/mongo-db-atlas-connection.png" alt-text="A screenshot showing the connection screen for Mongo DB" lightbox="../media/use-your-data/mongo-db-atlas-connection.png":::
330338

331339
### Source index
332340

333-
To add your data source, you first need to provide information about your index, and create a connection. This connection includes information such as authentication (username and password), your connection string, and database and colection name.
341+
Once you have created a connection or chosen an existing connection, you can enter the information to connect to a specific vector index within this connected account. You need to input the name of your database, collection and vector index. Make sure you have entered the information correctly to successfully build the connection.
334342

335343
:::image type="content" source="../media/use-your-data/mongo-db-atlas-source-index.png" alt-text="A screenshot showing the field mapping options for Mongo DB Atlas" lightbox="../media/use-your-data/mongo-db-atlas-source-index.png":::
336344

337-
To use MongoDB Atlas, you'll need an embedding model. This model will be created for you if you don't already have one, wich will incur [usage](https://go.microsoft.com/fwlink/?linkid=2264246) on your account.
345+
To use MongoDB Atlas, you'll need an Azure OpenAI ada002 embedding model. This model will be created for you if you don't already have one, wich will incur [usage](https://go.microsoft.com/fwlink/?linkid=2264246) on your account.
338346

339347
### Index field mapping
340348

341349
When you add your MongoDB Atlas data source, you can specify data fields to properly map your data for retrieval.
342350

343351
* Content data (required): This is the main text content of each document. For multiple fields, separate the values with commas, with no spaces.
344-
* * Vector field (required): The field name in your MongoDB Atlas search index that contains the vectors.
352+
* Vector field (required): The field name in your MongoDB Atlas search index that contains the vectors.
345353
* File name/title/URL: Used to display more information when a document is referenced in the chat.
346354

347355
:::image type="content" source="../media/use-your-data/mongo-db-atlas-field-mapping.png" alt-text="A screenshot showing the field mapping options for Mongo DB Atlas" lightbox="../media/use-your-data/mongo-db-atlas-field-mapping.png":::
97.7 KB
Loading

0 commit comments

Comments
 (0)