Skip to content

Commit

Permalink
[Inference API] Update get-inference docs to use elasticsearch service (
Browse files Browse the repository at this point in the history
#119238)

* update get-inference docs to use elasticsearch service

* fix indentation
  • Loading branch information
maxhniebergall authored Dec 30, 2024
1 parent f85be6e commit 7e126d7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/reference/inference/get-inference.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,17 @@ The API returns the following response:
{
"inference_id": "my-elser-model",
"task_type": "sparse_embedding",
"service": "elser",
"service": "elasticsearch",
"service_settings": {
"num_allocations": 1,
"num_threads": 1
"num_threads": 1,
"model_id": ".elser_model_2"
},
"task_settings": {}
"chunking_settings": {
"strategy": "sentence",
"max_chunk_size": 250,
"sentence_overlap": 1
}
}
------------------------------------------------------------
// NOTCONSOLE

0 comments on commit 7e126d7

Please sign in to comment.