Skip to content

Commit ac57221

Browse files
afoucretleemthompo
andauthored
Apply suggestions from code review
Co-authored-by: Liam Thompson <[email protected]>
1 parent 93e5cdd commit ac57221

File tree

1 file changed

+6
-7
lines changed
  • docs/reference/query-languages/esql/_snippets/commands/layout

1 file changed

+6
-7
lines changed

docs/reference/query-languages/esql/_snippets/commands/layout/completion.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,30 @@ COMPLETION [column =] prompt WITH inference_id
1818
`column`
1919
: (Optional) The name of the output column containing the LLM's response.
2020
If not specified, the results will be stored in a column named `completion`.
21-
If the specified column already exists, it will be overwritten with the new completion results.
21+
If the specified column already exists, it will be overwritten with the new results.
2222

2323
`prompt`
24-
: The input text or expression that will be used as the prompt for the completion.
24+
: The input text or expression used to prompt the LLM.
2525
This can be a string literal or a reference to a column containing text.
2626

2727
`inference_id`
28-
: The ID of the inference endpoint to use for text completion.
28+
: The ID of the [inference endpoint](docs-content://explore-analyze/elastic-inference/inference-api) to use for the task.
2929
The inference endpoint must be configured with the `completion` task type.
3030

3131
**Description**
3232

3333
The `COMPLETION` command provides a general-purpose interface for
34-
text generation using a Large Language Model (LLM) in ES|QL.
34+
text generation tasks using a Large Language Model (LLM) in ES|QL.
3535

36-
`COMPLETION`supports a wide range of text generation tasks. Depending on your
37-
prompt and the model you use, you can perform arbitrary text generation,
36+
`COMPLETION` supports a wide range of text generation tasks. Depending on your
37+
prompt and the model you use, you can perform arbitrary text generation tasks
3838
including:
3939

4040
- Question answering
4141
- Summarization
4242
- Translation
4343
- Content rewriting
4444
- Creative generation
45-
- ...
4645

4746
The command works with any LLM deployed to
4847
the [Elasticsearch inference API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put)

0 commit comments

Comments
 (0)