Skip to content

Commit c137c1c

Browse files
authored
use headings, fix link
1 parent 2abaefd commit c137c1c

File tree

1 file changed

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

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ stack: preview 9.1.0
77
88
The `COMPLETION` command allows you to send prompts and context to a Large Language Model (LLM) directly within your ES|QL queries, to perform text generation tasks.
99

10-
**Syntax**
10+
### Syntax
1111

1212
```esql
1313
COMPLETION [column =] prompt WITH inference_id
1414
```
1515

16-
**Parameters**
16+
### Parameters
1717

1818
`column`
1919
: (Optional) The name of the output column containing the LLM's response.
@@ -28,7 +28,7 @@ COMPLETION [column =] prompt WITH inference_id
2828
: The ID of the [inference endpoint](docs-content://explore-analyze/elastic-inference/inference-api.md) to use for the task.
2929
The inference endpoint must be configured with the `completion` task type.
3030

31-
**Description**
31+
## Description
3232

3333
The `COMPLETION` command provides a general-purpose interface for
3434
text generation tasks using a Large Language Model (LLM) in ES|QL.
@@ -43,13 +43,13 @@ including:
4343
- Content rewriting
4444
- Creative generation
4545

46-
**Requirements**
46+
## Requirements
4747

4848
To use this command, you must deploy your LLM model in Elasticsearch as
4949
an [inference endpoint](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put) with the
5050
task type `completion`.
5151

52-
**Handling timeouts**
52+
### Handling timeouts
5353

5454
`COMPLETION` commands may time out when processing large datasets or complex prompts. To increase timeout limits for these operations, the configuration methods vary by deployment type:
5555

@@ -75,7 +75,7 @@ Requires a manual override from Elastic Support as users cannot modify timeout s
7575

7676
* Reduce data volume with `LIMIT` or more selective filters before the `COMPLETION` command
7777
* Split complex operations into multiple simpler queries
78-
* Configure your HTTP client's response timeout (Refer to [HTTP client configuration](/reference/configuration-reference/networking-settings.md#_http_client_configuration)
78+
* Configure your HTTP client's response timeout (Refer to [HTTP client configuration](/reference/elasticsearch/configuration-reference/networking-settings.md#_http_client_configuration)
7979

8080
**Examples**
8181

0 commit comments

Comments
 (0)