You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/platform/packages/private/kbn-language-documentation/src/sections/generated/scalar_functions.tsx
+230-6Lines changed: 230 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -304,8 +304,8 @@ export const functions = {
304
304
Use \`CHUNK\` to split a text field into smaller chunks.
305
305
306
306
\`\`\`esql
307
-
FROM books
308
-
| EVAL chunks = CHUNK(description)
307
+
ROW result = CHUNK("It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief.", '{"strategy": "word", "max_chunk_size": 10, "overlap": 1}')
308
+
| MV_EXPAND result
309
309
\`\`\`
310
310
`,
311
311
description:
@@ -1561,6 +1561,34 @@ export const functions = {
1561
1561
ROW a="foo;bar;baz"
1562
1562
| EVAL first_a = MV_FIRST(SPLIT(a, ";"))
1563
1563
\`\`\`
1564
+
`,
1565
+
description:
1566
+
'Text is in markdown. Do not translate function names, special characters, or field names like sum(bytes)',
1567
+
ignoreTag: true,
1568
+
}
1569
+
),
1570
+
},
1571
+
},
1572
+
// Do not edit manually... automatically generated by scripts/generate_esql_docs.ts
Simplifies the input geometry by applying the Douglas-Peucker algorithm with a specified tolerance. Vertices that fall within the tolerance distance from the simplified shape are removed. Note that the resulting geometry may be invalid, even if the original input was valid.
'Text is in markdown. Do not translate function names, special characters, or field names like sum(bytes)',
@@ -3054,8 +3109,8 @@ export const functions = {
3054
3109
Generates dense vector embeddings from text input using a specified [inference endpoint](docs-content://explore-analyze/elastic-inference/inference-api.md). Use this function to generate query vectors for KNN searches against your vectorized data or others dense vector based operations.
3055
3110
3056
3111
\`\`\`esql
3057
-
ROW input="Who is Victor Hugo?"
3058
-
| EVAL embedding = TEXT_EMBEDDING("Who is Victor Hugo?", "test_dense_inference")
3112
+
FROM dense_vector_text METADATA _score
3113
+
| WHERE KNN(text_embedding_field, TEXT_EMBEDDING("be excellent to each other", "test_dense_inference"))
3059
3114
\`\`\`
3060
3115
`,
3061
3116
description:
@@ -3598,8 +3653,9 @@ export const functions = {
3598
3653
{
3599
3654
defaultMessage: `
3600
3655
### TO LONG
3601
-
Converts an input value to a long value. If the input parameter is of a date type,
3602
-
its value will be interpreted as milliseconds since the [Unix epoch](https://en.wikipedia.org/wiki/Unix_time), converted to long.
3656
+
Converts the input value to a long.
3657
+
If the input parameter is of a date type, its value will be interpreted as milliseconds
3658
+
since the [Unix epoch](https://en.wikipedia.org/wiki/Unix_time), converted to long.
3603
3659
Boolean \`true\` will be converted to long \`1\`, \`false\` to \`0\`.
3604
3660
3605
3661
\`\`\`esql
@@ -3796,6 +3852,33 @@ export const functions = {
3796
3852
\`\`\`esql
3797
3853
ROW v = TO_VERSION("1.2.3")
3798
3854
\`\`\`
3855
+
`,
3856
+
description:
3857
+
'Text is in markdown. Do not translate function names, special characters, or field names like sum(bytes)',
3858
+
ignoreTag: true,
3859
+
}
3860
+
),
3861
+
},
3862
+
},
3863
+
// Do not edit manually... automatically generated by scripts/generate_esql_docs.ts
Copy file name to clipboardExpand all lines: src/platform/packages/private/kbn-language-documentation/src/sections/generated/timeseries_aggregation_functions.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -380,7 +380,7 @@ export const functions = {
380
380
{
381
381
defaultMessage: `
382
382
### PERCENTILE OVER TIME
383
-
Calculates the percentile over time of a numeric field.
0 commit comments