File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
docs/reference/query-languages/esql/_snippets/commands/layout Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ COMPLETION [column =] prompt WITH inference_id
3030
3131**Description**
3232
33- The `COMPLETION` command provides a general-purpose interface for
33+ The `COMPLETION` command provides a general-purpose interface for
3434text generation tasks using a Large Language Model (LLM) in ES|QL.
3535
3636` COMPLETION` supports a wide range of text generation tasks. Depending on your
@@ -43,9 +43,11 @@ including:
4343- Content rewriting
4444- Creative generation
4545
46- The command works with any LLM deployed to
47- the [Elasticsearch inference API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put)
48- and can be chained with other ES|QL commands for further processing.
46+ **Requirements**
47+
48+ To use this command, you must deploy your LLM model in Elasticsearch as
49+ an [≈inference endpoint](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put) with the
50+ task type `completion`.
4951
5052**Examples**
5153
You can’t perform that action at this time.
0 commit comments