Skip to content

Commit 2891850

Browse files
committed
adding screenshots
1 parent f36d1f3 commit 2891850

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,24 @@ Only public network access is supported. Please make sure the database allows pu
328328

329329
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.
330330

331+
### Source index
332+
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.
334+
335+
:::image type="content" source="../media/use-your-data/mongo-db-atlas-source-index" alt-text="A screenshot showing the field mapping options for Mongo DB Atlas" lightbox="../media/use-your-data/mongo-db-atlas-source-index:::
336+
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.
338+
339+
### Index field mapping
340+
341+
When you add your MongoDB Atlas data source, you can specify data fields to properly map your data for retrieval.
342+
343+
* 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.
345+
* File name/title/URL: Used to display more information when a document is referenced in the chat.
346+
347+
:::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":::
348+
331349
---
332350

333351
## Deploy to a copilot (preview), Teams app (preview), or web app
109 KB
Loading
154 KB
Loading

0 commit comments

Comments
 (0)