You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/openai/concepts/use-your-data.md
+4-15Lines changed: 4 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -261,17 +261,9 @@ Using the Elasticsearch data source is a preview feature which is subject to the
261
261
262
262
1. (optional) use a custom field mapping.
263
263
264
-
You can customize the field mapping when you add your data source to define the fields that will get mapped when answering questions, or use the default values.
264
+
You can [customize the field mapping](#index-field-mapping) when you add your data source to define the fields that will get mapped when answering questions, or use the default values.
265
265
266
-
1. Choose the search types. Azure OpenAI On Your Data provides the following search types you can use when you add your data source.
267
-
268
-
*[Keyword search](../../../search/search-lucene-query-architecture.md) which is available for any index.
269
-
*[Vector search](../../../search/vector-search-overview.md) using a `text-embedding-ada-002` embedding model, available in [selected regions](./models.md#embeddings-models).
270
-
271
-
To enable vector search, you need:
272
-
273
-
1. An index that is generated with vector embeddings generated from one of the embedding models in the prerequisites.
274
-
1. To have an existing embedding model deployed in your Azure OpenAI resource (`text-embedding-ada-002`) or hosted on Elasticsearch.
266
+
1. Choose the [search type](#search-types). Azure OpenAI On Your Data provides the following search types you can use when you add your data source.
275
267
276
268
1. Continue through the screens that appear and select **Save and close**.
277
269
@@ -282,20 +274,17 @@ Azure OpenAI On Your Data provides the following search types you can use when y
*[Vector search](/azure/search/vector-search-overview) using Ada [embedding](./understand-embeddings.md) models, available in [selected regions](models.md#embeddings-models)
284
276
285
-
To enable vector search, you need an existing embedding model deployed in your Azure OpenAI resource. Select your embedding deployment when connecting your data, then select one of the vector search types under **Data management**. If you're using Azure AI Search as a data source, make sure you have a vector column in the index.
286
-
287
-
If you're using your own index, you can customize the [field mapping](#index-field-mapping) when you add your data source to define the fields that will get mapped when answering questions. To customize field mapping, select **Use custom field mapping** on the **Data Source** page when adding your data source.
277
+
To enable vector search, you need an existing embedding model deployed in your Azure OpenAI resource or hosted on Elasticsearch. Select your embedding deployment when connecting your data, then select one of the vector search types under **Data management**. If you're using Azure AI Search as a data source, make sure you have a vector column in the index.
288
278
289
279
| Search option | Retrieval type | Additional pricing? |Benefits|
|*keyword*| Keyword search | No additional pricing. |Performs fast and flexible query parsing and matching over searchable fields, using terms or phrases in any supported language, with or without operators.|
292
282
|*vector*| Vector search | No additional pricing |Enables you to find documents that are similar to a given query input based on the vector embeddings of the content. |
293
-
|*hybrid (vector + keyword)*| A hybrid of vector search and keyword search |[Additional pricing](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/) on your Azure OpenAI account from calling the embedding model. |Performs similarity search over vector fields using vector embeddings, while also supporting flexible query parsing and full text search over alphanumeric fields using term queries.|
294
283
295
284
296
285
### Index field mapping
297
286
298
-
If you're using your own index, you will be prompted in the Azure OpenAI Studio to define which fields you want to map for answering questions when you add your data source. You can provide multiple fields for *Content data*, and should include all fields that have text pertaining to your use case.
287
+
You can customize the [field mapping](#index-field-mapping) when you add your data source to define the fields that will get mapped when answering questions. To customize field mapping, select **Use custom field mapping** on the **Data Source** page when adding your data source. You can provide multiple fields for *content data*, and should include all fields that have text pertaining to your use case.
299
288
300
289
Mapping these fields correctly helps ensure the model has better response and citation quality. You can additionally configure this [in the API](../references/elasticsearch.md#fields-mapping-options) using the `fields_mapping` parameter.
0 commit comments