Skip to content

Commit 1bdcb23

Browse files
[Inference API] Update get-inference docs to use elasticsearch service (elastic#119238) (elastic#119353)
* update get-inference docs to use elasticsearch service * fix indentation
1 parent 5622855 commit 1bdcb23

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/reference/inference/get-inference.asciidoc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,17 @@ The API returns the following response:
7878
{
7979
"inference_id": "my-elser-model",
8080
"task_type": "sparse_embedding",
81-
"service": "elser",
81+
"service": "elasticsearch",
8282
"service_settings": {
8383
"num_allocations": 1,
84-
"num_threads": 1
84+
"num_threads": 1,
85+
"model_id": ".elser_model_2"
8586
},
86-
"task_settings": {}
87+
"chunking_settings": {
88+
"strategy": "sentence",
89+
"max_chunk_size": 250,
90+
"sentence_overlap": 1
91+
}
8792
}
8893
------------------------------------------------------------
8994
// NOTCONSOLE

0 commit comments

Comments
 (0)