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/references/elasticsearch.md
+15-10Lines changed: 15 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,11 @@ The configurable options for Elasticsearch when using Azure OpenAI On Your Data.
36
36
|`strictness`| integer | False | The configured strictness of the search relevance filtering. The higher of strictness, the higher of the precision but lower recall of the answer. Default is `3`.|
37
37
|`top_n_documents`| integer | False | The configured top number of documents to feature for the configured query. Default is `5`. |
38
38
39
-
## Key and key ID authentication options
39
+
## Authentication Options
40
+
41
+
Azure OpenAI On Your Data supports multiple authentication types:
42
+
43
+
### Key and key ID authentication options
40
44
41
45
The authentication options for Azure OpenAI On Your Data when using an API key.
42
46
@@ -46,7 +50,7 @@ The authentication options for Azure OpenAI On Your Data when using an API key.
46
50
|`key_id`|string|True|The Elasticsearch key ID to use for authentication.|
47
51
|`type`|string|True| Must be `key_and_key_id`.|
48
52
49
-
## Encoded API key authentication options
53
+
###Encoded API key authentication options
50
54
51
55
The authentication options for Azure OpenAI On Your Data when using an Elasticsearch encoded API key.
52
56
@@ -74,23 +78,24 @@ The details of the vectorization source, used by Azure OpenAI On Your Data when
74
78
|`authentication`|[ApiKeyAuthenticationOptions](#api-key-authentication-options)|True | Specifies the authentication options to use when retrieving embeddings from the specified endpoint.|
75
79
|`type`|string|True| Must be `endpoint`.|
76
80
77
-
##Model ID vectorization source
81
+
### API key authentication options
78
82
79
-
The details of the vectorization source, used by Azure OpenAI On Your Data when applying vector search. This vectorization source is based on Elasticsearch model ID.
83
+
The authentication options for Azure OpenAI On Your Data when using an API key.
80
84
81
85
|Name | Type | Required | Description |
82
86
|--- | --- | --- | --- |
83
-
|`model_id`|string|True| Specifies the model ID to use for vectorization. This model ID must be defined in Elasticsearch.|
84
-
|`type`|string|True| Must be `model_id`.|
87
+
|`key`|string|True|The API key to use for authentication.|
88
+
|`type`|string|True| Must be `api_key`.|
85
89
86
-
## API key authentication options
90
+
## Model ID vectorization source
87
91
88
-
The authentication options for Azure OpenAI On Your Data when using an API key.
92
+
The details of the vectorization source, used by Azure OpenAI On Your Data when applying vector search. This vectorization source is based on Elasticsearch model ID.
89
93
90
94
|Name | Type | Required | Description |
91
95
|--- | --- | --- | --- |
92
-
|`key`|string|True|The API key to use for authentication.|
93
-
|`type`|string|True| Must be `api_key`.|
96
+
|`model_id`|string|True| Specifies the model ID to use for vectorization. This model ID must be defined in Elasticsearch.|
0 commit comments