Skip to content

Commit 4fcb9da

Browse files
committed
Add descriptions for parameters
1 parent d18be95 commit 4fcb9da

File tree

3 files changed

+32
-18
lines changed

3 files changed

+32
-18
lines changed

output/schema/schema-serverless.json

Lines changed: 11 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 11 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/mapping/core.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,17 @@ export class SparseVectorProperty extends PropertyBase {
210210
export class SemanticTextProperty {
211211
type: 'semantic_text'
212212
meta?: Dictionary<string, string>
213+
/**
214+
* Inference endpoint that will be used to generate embeddings for the field. By default, `.elser-2-elasticsearch` is used.
215+
* This parameter cannot be updated. Use the Create inference API to create the endpoint.
216+
* If `search_inference_id` is specified, the inference endpoint will only be used at index time.
217+
*/
213218
inference_id: Id
219+
/**
220+
* Inference endpoint that will be used to generate embeddings at query time.
221+
* You can update this parameter by using the Update mapping API. Use the Create inference API to create the endpoint.
222+
* If not specified, the inference endpoint defined by inference_id will be used at both index and query time.
223+
*/
214224
search_inference_id?: Id
215225
}
216226

0 commit comments

Comments
 (0)