diff --git a/packages/esql_knowledge_base/LICENSE.txt b/packages/esql_knowledge_base/LICENSE.txt
new file mode 100644
index 00000000000..809108b857f
--- /dev/null
+++ b/packages/esql_knowledge_base/LICENSE.txt
@@ -0,0 +1,93 @@
+Elastic License 2.0
+
+URL: https://www.elastic.co/licensing/elastic-license
+
+## Acceptance
+
+By using the software, you agree to all of the terms and conditions below.
+
+## Copyright License
+
+The licensor grants you a non-exclusive, royalty-free, worldwide,
+non-sublicensable, non-transferable license to use, copy, distribute, make
+available, and prepare derivative works of the software, in each case subject to
+the limitations and conditions below.
+
+## Limitations
+
+You may not provide the software to third parties as a hosted or managed
+service, where the service provides users with access to any substantial set of
+the features or functionality of the software.
+
+You may not move, change, disable, or circumvent the license key functionality
+in the software, and you may not remove or obscure any functionality in the
+software that is protected by the license key.
+
+You may not alter, remove, or obscure any licensing, copyright, or other notices
+of the licensor in the software. Any use of the licensor’s trademarks is subject
+to applicable law.
+
+## Patents
+
+The licensor grants you a license, under any patent claims the licensor can
+license, or becomes able to license, to make, have made, use, sell, offer for
+sale, import and have imported the software, in each case subject to the
+limitations and conditions in this license. This license does not cover any
+patent claims that you cause to be infringed by modifications or additions to
+the software. If you or your company make any written claim that the software
+infringes or contributes to infringement of any patent, your patent license for
+the software granted under these terms ends immediately. If your company makes
+such a claim, your patent license ends immediately for work on behalf of your
+company.
+
+## Notices
+
+You must ensure that anyone who gets a copy of any part of the software from you
+also gets a copy of these terms.
+
+If you modify the software, you must include in any modified copies of the
+software prominent notices stating that you have modified the software.
+
+## No Other Rights
+
+These terms do not imply any licenses other than those expressly granted in
+these terms.
+
+## Termination
+
+If you use the software in violation of these terms, such use is not licensed,
+and your licenses will automatically terminate. If the licensor provides you
+with a notice of your violation, and you cease all violation of this license no
+later than 30 days after you receive that notice, your licenses will be
+reinstated retroactively. However, if you violate these terms after such
+reinstatement, any additional violation of these terms will cause your licenses
+to terminate automatically and permanently.
+
+## No Liability
+
+*As far as the law allows, the software comes as is, without any warranty or
+condition, and the licensor will not be liable to you for any damages arising
+out of these terms or the use or nature of the software, under any kind of
+legal claim.*
+
+## Definitions
+
+The **licensor** is the entity offering these terms, and the **software** is the
+software the licensor makes available under these terms, including any portion
+of it.
+
+**you** refers to the individual or entity agreeing to these terms.
+
+**your company** is any legal entity, sole proprietorship, or other kind of
+organization that you work for, plus all organizations that have control over,
+are under the control of, or are under common control with that
+organization. **control** means ownership of substantially all the assets of an
+entity, or the power to direct its management and policies by vote, contract, or
+otherwise. Control can be direct or indirect.
+
+**your licenses** are all the licenses granted to you for the software under
+these terms.
+
+**use** means anything you do with the software requiring one of your licenses.
+
+**trademark** means trademarks, service marks, and similar rights.
diff --git a/packages/esql_knowledge_base/changelog.yml b/packages/esql_knowledge_base/changelog.yml
new file mode 100644
index 00000000000..bb0320a5243
--- /dev/null
+++ b/packages/esql_knowledge_base/changelog.yml
@@ -0,0 +1,6 @@
+# newer versions go on top
+- version: "0.0.1"
+ changes:
+ - description: Initial draft of the package
+ type: enhancement
+ link: https://github.com/elastic/integrations/pull/1 # FIXME Replace with the real PR link
diff --git a/packages/esql_knowledge_base/data_stream/esql_knowledge_base/agent/stream/stream.yml.hbs b/packages/esql_knowledge_base/data_stream/esql_knowledge_base/agent/stream/stream.yml.hbs
new file mode 100644
index 00000000000..5845510de80
--- /dev/null
+++ b/packages/esql_knowledge_base/data_stream/esql_knowledge_base/agent/stream/stream.yml.hbs
@@ -0,0 +1,7 @@
+paths:
+{{#each paths as |path i|}}
+ - {{path}}
+{{/each}}
+exclude_files: [".gz$"]
+processors:
+ - add_locale: ~
diff --git a/packages/esql_knowledge_base/data_stream/esql_knowledge_base/documents/esql-kb-docs.json b/packages/esql_knowledge_base/data_stream/esql_knowledge_base/documents/esql-kb-docs.json
new file mode 100644
index 00000000000..c11ec92e4fa
--- /dev/null
+++ b/packages/esql_knowledge_base/data_stream/esql_knowledge_base/documents/esql-kb-docs.json
@@ -0,0 +1,34334 @@
+[
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "6fcb4f88-fa15-4168-a9de-835320db4646",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/esql_commands.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 1.0777957,
+ "software": 0.547155,
+ "##d": 0.19460428,
+ "##long": 0.017845195,
+ "##g": 0.5659581,
+ "##i": 0.19513766,
+ "del": 0.07304224,
+ "processors": 0.20174845,
+ "alphabet": 0.12283469,
+ "##l": 1.5878663,
+ "##o": 0.22934377,
+ "tables": 0.870688,
+ "java": 0.9447806,
+ "peg": 0.51427263,
+ "##cel": 0.035565283,
+ "stats": 0.4374385,
+ "##v": 0.4608828,
+ "jan": 0.12931749,
+ "jerry": 0.43545857,
+ "algorithm": 0.5268393,
+ "order": 0.25235492,
+ "addition": 0.03814733,
+ "databases": 0.18975925,
+ "images": 0.98472196,
+ "gene": 0.52722895,
+ "tex": 0.3731231,
+ "index": 0.4869017,
+ "+": 0.92825377,
+ "##ok": 1.3079258,
+ "analysis": 0.13187897,
+ "processor": 0.8383664,
+ "an": 0.36100107,
+ "-": 0.1371631,
+ "script": 0.5329279,
+ "tags": 0.36941352,
+ "input": 0.91140115,
+ "as": 0.331625,
+ "cue": 0.0069690724,
+ "processing": 1.5117759,
+ "math": 0.4554492,
+ "##vis": 0.03361684,
+ "template": 0.12802039,
+ "server": 0.3457524,
+ "columns": 0.7333924,
+ "document": 0.1459256,
+ "##ler": 0.07791209,
+ "##bre": 1.1626402,
+ "computer": 0.4111382,
+ "search": 0.0512854,
+ "file": 0.70026815,
+ "##os": 0.025964005,
+ "julia": 0.03089823,
+ "vector": 0.23772812,
+ "where": 0.026719417,
+ "##sse": 1.1964794,
+ "[": 0.2944408,
+ "fred": 0.16619699,
+ "copy": 0.008338636,
+ "graphic": 0.27672863,
+ "table": 1.3746173,
+ "_": 0.9218834,
+ "sami": 0.34578696,
+ "include": 0.68211406,
+ "editor": 0.67616624,
+ "chip": 0.4794675,
+ "sv": 0.78541327,
+ "e": 0.13358808,
+ "change": 0.65937096,
+ "display": 0.529211,
+ "one": 0.046737842,
+ "column": 0.6459646,
+ "##id": 0.8575209,
+ "procedure": 0.121784374,
+ "produce": 0.25519907,
+ "excel": 0.15813158,
+ "machine": 0.087062545,
+ "cod": 0.35294488,
+ "chart": 0.20477326,
+ "}": 0.09258635,
+ "shaw": 0.00474992,
+ "statistics": 0.3778203,
+ "checkpoint": 0.43896684,
+ "esq": 1.9772519,
+ "data": 0.6348245,
+ "di": 0.08894469,
+ "dj": 0.0063293716,
+ "replace": 0.061400052,
+ "anne": 0.64454347,
+ "language": 0.060781237,
+ "source": 1.2619169,
+ "ata": 0.31428617,
+ "##ab": 0.87538314,
+ "protocol": 0.12794466,
+ "apache": 0.67700094,
+ "commander": 0.27512896,
+ "tab": 0.2662841,
+ "##ip": 0.18550992,
+ "limit": 0.68788123,
+ "create": 0.3966489,
+ "ren": 0.80236816,
+ "from": 0.6330375,
+ "html": 0.39860043,
+ "tip": 0.06108598,
+ "tag": 0.90542394,
+ "buffer": 0.12708889,
+ "generate": 0.48692274,
+ "commands": 1.3418279,
+ "ed": 0.6648583,
+ "add": 0.084433235,
+ "par": 0.031904444,
+ "image": 0.6161665,
+ "##se": 0.31677976,
+ "including": 0.20946127,
+ "read": 0.1796806,
+ "chess": 0.06743919,
+ "query": 0.84374946,
+ "##ame": 0.58715105,
+ "format": 0.19740017,
+ "batch": 0.04777678,
+ "mv": 0.43726075,
+ "en": 0.12115547,
+ "##ido": 1.4836456,
+ "archive": 0.086036086,
+ "sort": 0.95858616,
+ "pro": 0.5562485,
+ "list": 0.37301362,
+ "modification": 0.59688777,
+ "es": 1.0478848,
+ "plus": 0.24343681,
+ "##ca": 0.001259249,
+ "produced": 0.31942168,
+ "tutor": 0.0031484817,
+ "##idi": 0.11052163,
+ "jamie": 0.45535386,
+ "core": 0.104887955,
+ "expand": 0.43943185,
+ "##cho": 0.00988741,
+ "keep": 0.362211,
+ "##ida": 0.5283863,
+ "files": 0.054633908,
+ "support": 0.3242611,
+ "useful": 0.06353,
+ "drop": 1.1137897,
+ "que": 0.2788411,
+ "code": 0.3714119,
+ "sources": 0.075897016,
+ "import": 0.005064753,
+ "production": 0.07931908,
+ "bot": 0.38912836,
+ "cad": 0.7525045,
+ "##lan": 0.03254542,
+ "show": 0.43683806,
+ "gil": 0.09512378,
+ "interface": 0.654158,
+ "title": 0.2055217,
+ "remove": 0.5020958,
+ "sid": 0.6481251,
+ "sql": 0.34380752,
+ "button": 0.13206421,
+ "eva": 1.2276589,
+ "apple": 0.018387692,
+ "database": 0.5058259,
+ "compiled": 0.021716889,
+ "undo": 0.01926883,
+ "##ci": 1.4353987,
+ "sheet": 0.018458731,
+ "row": 0.79889625,
+ "##lib": 0.2081834,
+ "david": 0.1821692,
+ "class": 0.5483126,
+ "##rich": 1.1477475,
+ "keyboard": 0.17519747,
+ "process": 0.85921454,
+ "center": 0.9280788,
+ "start": 0.049633764,
+ "control": 0.27269056,
+ "gr": 0.7839993,
+ "rows": 0.5376482,
+ "command": 1.6596491,
+ "editing": 0.3466968,
+ "scribe": 5.3081725E-4,
+ "processed": 0.54848117,
+ "modify": 0.120689526,
+ "print": 0.04462628,
+ "serial": 0.3962603,
+ "syntax": 0.6847405,
+ "pub": 0.079319306
+ },
+ "is_truncated": true,
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-commands]]\n=== {esql} commands\n\n++++\nCommands\n++++\n\n// tag::source_commands[]\n==== Source commands\n\nAn {esql} source command produces a table, typically with data from {es}. An {esql} query must start with a source command.\n\nimage::images/esql/source-command.svg[A source command producing a table from {es},align=\"center\"]\n\n{esql} supports these source commands:\n\n* <>\n* <>\n* <>\n\n// end::source_command[]\n\n// tag::proc_commands[]\n==== Processing commands\n\n{esql} processing commands change an input table by adding, removing, or changing\nrows and columns.\n\nimage::images/esql/processing-command.svg[A processing command changing an input table,align=\"center\"]\n\n{esql} supports these processing commands:\n\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n\n// end::proc_command[]\n\ninclude::source-commands/from.asciidoc[]\ninclude::source-commands/row.asciidoc[]\ninclude::source-commands/show.asciidoc[]\n\ninclude::processing-commands/dissect.asciidoc[]\ninclude::processing-commands/drop.asciidoc[]\ninclude::processing-commands/enrich.asciidoc[]\ninclude::processing-commands/eval.asciidoc[]\ninclude::processing-commands/grok.asciidoc[]\ninclude::processing-commands/keep.asciidoc[]\ninclude::processing-commands/limit.asciidoc[]\ninclude::processing-commands/mv_expand.asciidoc[]\ninclude::processing-commands/rename.asciidoc[]\ninclude::processing-commands/sort.asciidoc[]\ninclude::processing-commands/stats.asciidoc[]\ninclude::processing-commands/where.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "eedc2aac-cc70-4682-a7f1-4d2b4803fa5a",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/esql_enrich_data.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 0.19794028,
+ "##g": 0.08028513,
+ "##ng": 0.92550695,
+ "executing": 0.3951883,
+ "##l": 1.1463273,
+ "resolution": 0.008489236,
+ "enrichment": 0.5921539,
+ "guild": 0.0120165255,
+ "java": 0.81940216,
+ "identification": 0.7766104,
+ "##u": 3.4731554E-4,
+ "##v": 0.5062714,
+ "xml": 0.26571718,
+ "##z": 0.08978893,
+ "brand": 0.1519825,
+ "shopping": 0.34849522,
+ "databases": 0.437701,
+ "based": 0.05978627,
+ "using": 0.117632024,
+ "tex": 0.48262548,
+ "'": 0.0075890804,
+ "+": 1.1611129,
+ "analysis": 0.13872448,
+ "execute": 0.7386287,
+ "processor": 0.48689908,
+ "-": 0.04951272,
+ "quality": 0.052889545,
+ "input": 0.72179306,
+ "miller": 0.27450642,
+ "slow": 0.7931869,
+ "domain": 0.15624079,
+ "processing": 1.3188691,
+ "<": 0.046536457,
+ "components": 0.6208716,
+ "##ten": 0.29366472,
+ "ordering": 0.32424292,
+ "document": 0.97181356,
+ "##raf": 0.19879244,
+ "global": 0.17819421,
+ "##bre": 1.3640251,
+ "matching": 0.97028273,
+ "how": 0.1929985,
+ "routing": 0.052532412,
+ "search": 0.07920323,
+ "vendor": 0.44033468,
+ "audit": 0.28377634,
+ "managed": 0.06662572,
+ "structured": 0.2611462,
+ "vector": 0.20342293,
+ "fred": 0.16789503,
+ "graphic": 0.21912989,
+ "email": 0.7641012,
+ "policy": 1.3772738,
+ "_": 0.2537972,
+ "website": 0.592966,
+ "address": 0.24308266,
+ "brands": 0.15280998,
+ "manager": 0.011713418,
+ "e": 0.6033866,
+ "column": 0.79404676,
+ "services": 0.29808193,
+ "store": 0.27144605,
+ "broker": 0.14357865,
+ "sample": 0.19890404,
+ "p": 0.2942185,
+ "marketing": 0.30238834,
+ "indices": 1.0752366,
+ "component": 0.12511359,
+ "information": 0.626013,
+ "z": 0.33436647,
+ "polish": 0.16135424,
+ "contacts": 0.032956593,
+ "suppliers": 0.49862003,
+ "documents": 0.71484566,
+ "anne": 0.5518596,
+ "source": 1.2564353,
+ "accounting": 0.40152928,
+ "##ab": 1.0241053,
+ "apache": 0.55771005,
+ "contact": 0.3750414,
+ "implement": 0.20156975,
+ "vendors": 0.8719488,
+ "export": 0.22425663,
+ "ed": 0.42175025,
+ "add": 0.63748145,
+ "which": 0.17387491,
+ "image": 0.6352059,
+ "eh": 0.07684948,
+ "batch": 0.0757769,
+ "en": 1.6345632,
+ "list": 0.41947228,
+ "es": 1.2268012,
+ "supplements": 0.57289124,
+ "procurement": 0.04064181,
+ "nutritional": 0.052416466,
+ "fields": 0.46443436,
+ "useful": 0.24327073,
+ "streamlined": 1.4345225,
+ "shop": 0.2504254,
+ "sources": 0.48011678,
+ "import": 0.46168175,
+ "title": 0.7393092,
+ "inventory": 0.61333,
+ "interface": 0.2629908,
+ "peru": 0.15654165,
+ "commerce": 0.023161002,
+ "sid": 0.5640301,
+ "##ci": 0.9774001,
+ "linux": 0.19327003,
+ "##est": 0.17692347,
+ "client": 0.2074105,
+ "trademark": 0.20394552,
+ "class": 0.54184055,
+ "##rich": 2.022717,
+ "identify": 0.7157839,
+ "citation": 0.0862019,
+ "gm": 0.03560244,
+ "center": 0.7049557,
+ "custom": 0.19800091,
+ "multiple": 0.6343073,
+ "titles": 0.049557872,
+ "label": 0.048935883,
+ "manage": 0.0476496,
+ "special": 0.24361435,
+ "management": 0.39982775,
+ "service": 0.09677962,
+ "syntax": 0.47196695,
+ "pub": 0.028952243,
+ "comprehensive": 0.16752781,
+ "copyright": 0.18755192,
+ "software": 0.3734505,
+ "called": 0.13156152,
+ "bin": 0.46366423,
+ "catalog": 0.37951994,
+ "multi": 0.01925655,
+ "tables": 0.67383355,
+ "peg": 0.28290954,
+ "supplier": 0.3376796,
+ "id": 0.30406,
+ "jerry": 0.20680162,
+ "enter": 0.07705578,
+ "order": 0.93302184,
+ "algorithm": 0.3314596,
+ "images": 0.76694655,
+ "mapping": 0.33356014,
+ "indexed": 0.51171076,
+ "gene": 0.18696967,
+ "enriched": 0.49816263,
+ "work": 0.20481192,
+ "ip": 0.9270163,
+ "index": 1.5287254,
+ "script": 0.35244036,
+ "certification": 0.007893913,
+ "system": 0.57425475,
+ "supplement": 1.2245365,
+ "analyze": 0.022439614,
+ "doc": 0.047583107,
+ "orders": 0.773973,
+ "math": 0.3822182,
+ "jude": 0.24019186,
+ "template": 0.24844363,
+ "server": 0.29985538,
+ "works": 0.60162324,
+ "aim": 0.09213637,
+ "columns": 0.93393254,
+ "pattern": 0.20340203,
+ "retail": 1.0176114,
+ "products": 0.16081582,
+ "wholesale": 0.5193905,
+ "file": 0.5149214,
+ "web": 0.8113472,
+ "identity": 0.03958695,
+ "berlin": 0.10520252,
+ "table": 1.1252773,
+ "regular": 0.4846067,
+ "editor": 0.7224624,
+ "mat": 0.02195494,
+ "product": 0.88421005,
+ "##yl": 0.23431492,
+ "##id": 0.5189221,
+ "excel": 0.2996265,
+ "report": 0.2005155,
+ "cod": 0.16688396,
+ "transaction": 0.029636778,
+ "checkpoint": 0.34046024,
+ "esq": 1.875391,
+ "data": 1.2837132,
+ "mail": 0.3832924,
+ "use": 0.1761571,
+ "honor": 0.1198582,
+ "nur": 0.14323565,
+ "reference": 0.08082888,
+ "protocol": 0.007976346,
+ "commander": 0.14823838,
+ "tab": 0.22248864,
+ "create": 0.63339293,
+ "from": 0.67001784,
+ "html": 0.39006925,
+ "tag": 0.3789878,
+ "stock": 0.24313061,
+ "retailers": 0.42378438,
+ "new": 0.19778877,
+ "format": 0.2671418,
+ "##ido": 1.2958252,
+ "archive": 0.33038992,
+ "sort": 0.28832546,
+ "plus": 0.41365454,
+ "tool": 0.22481404,
+ "tutor": 0.181073,
+ "amazon": 0.33401486,
+ "market": 0.21840201,
+ "expand": 0.48539835,
+ "simplified": 0.57308805,
+ "lists": 0.03211815,
+ "##ida": 0.42313245,
+ "enforce": 0.012236289,
+ "configuration": 0.6345844,
+ "bot": 0.518969,
+ "cad": 0.37943992,
+ "policies": 0.9289178,
+ "storage": 0.3360746,
+ "gil": 0.16927736,
+ "sql": 0.44314268,
+ "network": 0.17437991,
+ "database": 0.6375631,
+ "row": 0.44225386,
+ "##lib": 0.14881082,
+ "execution": 0.6746684,
+ "ing": 0.83522904,
+ "comply": 0.061948232,
+ "determine": 0.0021664263,
+ "match": 0.37596685,
+ "control": 0.30478492,
+ "rows": 0.61745495,
+ "command": 1.2640944,
+ "online": 0.122646585
+ },
+ "is_truncated": true,
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-enrich-data]]\n=== Enrich data\n\n++++\nEnrich data\n++++\n\nYou can use {esql}'s <> processing command to enrich a table with\ndata from indices in {es}.\n\nFor example, you can use `ENRICH` to:\n\n* Identify web services or vendors based on known IP addresses\n* Add product information to retail orders based on product IDs\n* Supplement contact information based on an email address\n\n[[esql-how-enrich-works]]\n==== How the `ENRICH` command works\n\nThe `ENRICH` command adds new columns to a table, with data from {es} indices.\nIt requires a few special components:\n\nimage::images/esql/esql-enrich.png[align=\"center\"]\n\n[[esql-enrich-policy]]\nEnrich policy::\n+\n--\nA set of configuration options used to add the right enrich data to the input\ntable.\n\nAn enrich policy contains:\n\ninclude::../ingest/enrich.asciidoc[tag=enrich-policy-fields]\n\nAfter <>, it must be\n<> before it can be used. Executing an\nenrich policy uses data from the policy's source indices to create a streamlined\nsystem index called the _enrich index_. The `ENRICH` command uses this index to\nmatch and enrich an input table.\n--\n\n[[esql-source-index]]\nSource index::\nAn index which stores enrich data that the `ENRICH` command can add to input\ntables. You can create and manage these indices just like a regular {es} index.\nYou can use multiple source indices in an enrich policy. You also can use the\nsame source index in multiple enrich policies.\n\n[[esql-enrich-index]]\nEnrich index::\n+\n--\nA special system index tied to a specific enrich policy.\n\nDirectly matching rows from input tables to documents in source indices could be\nslow and resource intensive. To speed things up, the `ENRICH` command uses an\nenrich index.\n\ninclude::../ingest/enrich.asciidoc[tag=enrich-index]\n--\n\n[[esql-set-up-enrich-policy]]\n==== Set up an enrich policy\n\nTo start using `ENRICH`, follow these steps:\n\n. Check the <>.\n. <>.\n. <>.\n. <>.\n. <>\n\nOnce you have enrich policies set up, you can <> and <>.\n\n[IMPORTANT]\n====\nThe `ENRICH` command performs several operations and may impact the speed of\nyour query.\n====\n\n[[esql-enrich-prereqs]]\n==== Prerequisites\n\ninclude::{es-repo-dir}/ingest/apis/enrich/put-enrich-policy.asciidoc[tag=enrich-policy-api-prereqs]\n\n[[esql-create-enrich-source-index]]\n==== Add enrich data\n\ninclude::../ingest/enrich.asciidoc[tag=create-enrich-source-index]\n\n[[esql-create-enrich-policy]]\n==== Create an enrich policy\n\ninclude::../ingest/enrich.asciidoc[tag=create-enrich-policy]\n\n[[esql-execute-enrich-policy]]\n==== Execute the enrich policy\n\ninclude::../ingest/enrich.asciidoc[tag=execute-enrich-policy1]\n\nimage::images/esql/esql-enrich-policy.png[align=\"center\"]\n\ninclude::../ingest/enrich.asciidoc[tag=execute-enrich-policy2]\n\n[[esql-use-enrich]]\n==== Use the enrich policy\n\nAfter the policy has been executed, you can use the <> to enrich your data.\n\nimage::images/esql/esql-enrich-command.png[align=\"center\",width=50%]\n\ninclude::processing-commands/enrich.asciidoc[tag=examples]\n\n[[esql-update-enrich-data]]\n==== Update an enrich index\n\ninclude::{es-repo-dir}/ingest/apis/enrich/execute-enrich-policy.asciidoc[tag=update-enrich-index]\n\n[[esql-update-enrich-policies]]\n==== Update an enrich policy\n\ninclude::../ingest/enrich.asciidoc[tag=update-enrich-policy]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "d7e6b73f-1cbe-4b47-b46b-8dcbb2db0e57",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/esql_functions.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.18166842,
+ "functions": 0.99270445,
+ "software": 0.04242719,
+ "##g": 0.4300125,
+ "gage": 0.33155546,
+ "##l": 1.5606546,
+ "##n": 0.6203941,
+ "##r": 0.43712163,
+ "compatible": 0.25466335,
+ "java": 1.3012133,
+ "peg": 0.07094736,
+ "##v": 0.48665553,
+ "jan": 0.3009044,
+ "rank": 0.106968276,
+ "nan": 1.2705694,
+ "jerry": 0.36859986,
+ "case": 0.4485313,
+ "##es": 0.439198,
+ "algorithm": 0.6361967,
+ "ac": 0.40018627,
+ "gene": 0.45052743,
+ "tex": 0.0070667323,
+ "'": 0.14571232,
+ "index": 1.0130472,
+ "dates": 0.2991403,
+ "+": 1.0476805,
+ "-": 0.30012184,
+ "script": 0.16621102,
+ "bucket": 1.0164454,
+ "cue": 0.09826741,
+ "miller": 0.13974337,
+ "av": 0.7504997,
+ "math": 0.9556103,
+ "hash": 0.121236786,
+ "server": 0.16501035,
+ "functional": 0.14921702,
+ "longest": 0.42027584,
+ "log": 1.0319968,
+ "##let": 0.027318373,
+ "infinite": 0.65387845,
+ "##rim": 0.8660355,
+ "least": 0.17928311,
+ "pattern": 0.14307222,
+ "monte": 0.30268133,
+ "sum": 0.8810196,
+ "##bre": 1.0962064,
+ "matrix": 0.100133136,
+ "long": 0.061121084,
+ "capacity": 0.12575778,
+ "matching": 0.09071585,
+ "min": 0.49603194,
+ "file": 0.008590057,
+ "##os": 0.777879,
+ "pow": 0.715714,
+ "where": 1.1975758,
+ "vector": 0.088393874,
+ "[": 0.78662723,
+ "place": 0.1604937,
+ "fred": 0.027839294,
+ "table": 0.1742937,
+ "_": 0.7567718,
+ "editor": 0.36409074,
+ "mat": 0.29351076,
+ "ce": 0.095045194,
+ "chip": 0.013949164,
+ "expression": 0.3313481,
+ "middle": 0.08345693,
+ "max": 0.5175766,
+ "display": 0.14920235,
+ "column": 0.5611295,
+ "co": 0.24033295,
+ "##10": 0.4392441,
+ "excel": 0.4218669,
+ "abs": 1.0266807,
+ "ibm": 0.080074765,
+ "v": 0.042597074,
+ "maximum": 0.66847575,
+ "cod": 0.51202035,
+ "php": 0.1440292,
+ "}": 0.6646516,
+ "tr": 0.45426318,
+ "date": 0.8918904,
+ "checkpoint": 0.41507018,
+ "ass": 0.27357832,
+ "esq": 1.8745638,
+ "auto": 0.59455806,
+ "dj": 0.2849225,
+ "##cat": 1.0993553,
+ "lt": 0.5395271,
+ "replace": 0.41382983,
+ "anne": 0.7320877,
+ "integer": 0.22211629,
+ "ata": 1.0992805,
+ "##ab": 1.0298842,
+ "apache": 0.72626823,
+ "##il": 0.45744976,
+ "##in": 0.6076609,
+ "function": 1.2078223,
+ "html": 0.49570137,
+ "implement": 0.14011358,
+ "buffer": 0.17240705,
+ "ed": 0.40373936,
+ "par": 0.38909975,
+ "##se": 0.3734326,
+ "taylor": 0.14354354,
+ "chess": 0.45914498,
+ "oracle": 0.21788934,
+ "mp": 0.008699258,
+ "##sh": 0.041585557,
+ "finite": 0.52254605,
+ "count": 0.6592812,
+ "format": 0.5519041,
+ "mv": 0.91674227,
+ "archive": 0.22257434,
+ "sort": 0.009593928,
+ "list": 0.03165616,
+ "plus": 0.07115699,
+ "most": 0.09421418,
+ "jamie": 0.15721022,
+ "core": 0.022911703,
+ "extract": 0.8406985,
+ "median": 1.1743431,
+ "coal": 0.93450737,
+ "decimal": 0.13921797,
+ "support": 0.6463272,
+ "cid": 0.74958414,
+ "largest": 0.26628712,
+ "code": 0.29695517,
+ "import": 0.14816837,
+ "string": 0.010264937,
+ "cad": 0.3645404,
+ "title": 0.99993604,
+ "interface": 0.4768988,
+ "india": 0.22586773,
+ "sid": 0.5915578,
+ "sql": 0.2270345,
+ "eva": 0.978701,
+ "apple": 0.16100074,
+ "database": 0.40157148,
+ "floors": 0.6584193,
+ "para": 0.2512025,
+ "array": 0.2264981,
+ "now": 0.06528853,
+ "end": 0.09129292,
+ "row": 1.2627915,
+ "floor": 0.98491085,
+ "class": 0.7062949,
+ "greatest": 0.871773,
+ "##du": 0.16479109,
+ "length": 0.9958873,
+ "match": 0.77134234,
+ "##un": 0.7035221,
+ "automatic": 0.053438228,
+ "rows": 0.54031897,
+ "serial": 0.37363783,
+ "pi": 0.8263769,
+ "syntax": 0.46540308,
+ "pub": 0.49256703
+ },
+ "is_truncated": true,
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-functions]]\n== {esql} functions\n\n++++\nFunctions\n++++\n\n<>, <> and <> support\nthese functions:\n\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n\ninclude::functions/abs.asciidoc[]\ninclude::functions/acos.asciidoc[]\ninclude::functions/asin.asciidoc[]\ninclude::functions/atan.asciidoc[]\ninclude::functions/atan2.asciidoc[]\ninclude::functions/auto_bucket.asciidoc[]\ninclude::functions/case.asciidoc[]\ninclude::functions/ceil.asciidoc[]\ninclude::functions/cidr_match.asciidoc[]\ninclude::functions/coalesce.asciidoc[]\ninclude::functions/concat.asciidoc[]\ninclude::functions/cos.asciidoc[]\ninclude::functions/cosh.asciidoc[]\ninclude::functions/date_extract.asciidoc[]\ninclude::functions/date_format.asciidoc[]\ninclude::functions/date_parse.asciidoc[]\ninclude::functions/date_trunc.asciidoc[]\ninclude::functions/e.asciidoc[]\ninclude::functions/ends_with.asciidoc[]\ninclude::functions/floor.asciidoc[]\ninclude::functions/greatest.asciidoc[]\ninclude::functions/is_finite.asciidoc[]\ninclude::functions/is_infinite.asciidoc[]\ninclude::functions/is_nan.asciidoc[]\ninclude::functions/least.asciidoc[]\ninclude::functions/left.asciidoc[]\ninclude::functions/length.asciidoc[]\ninclude::functions/log10.asciidoc[]\ninclude::functions/ltrim.asciidoc[]\ninclude::functions/mv_avg.asciidoc[]\ninclude::functions/mv_concat.asciidoc[]\ninclude::functions/mv_count.asciidoc[]\ninclude::functions/mv_dedupe.asciidoc[]\ninclude::functions/mv_max.asciidoc[]\ninclude::functions/mv_median.asciidoc[]\ninclude::functions/mv_min.asciidoc[]\ninclude::functions/mv_sum.asciidoc[]\ninclude::functions/now.asciidoc[]\ninclude::functions/pi.asciidoc[]\ninclude::functions/pow.asciidoc[]\ninclude::functions/replace.asciidoc[]\ninclude::functions/right.asciidoc[]\ninclude::functions/round.asciidoc[]\ninclude::functions/rtrim.asciidoc[]\ninclude::functions/sin.asciidoc[]\ninclude::functions/sinh.asciidoc[]\ninclude::functions/split.asciidoc[]\ninclude::functions/sqrt.asciidoc[]\ninclude::functions/starts_with.asciidoc[]\ninclude::functions/substring.asciidoc[]\ninclude::functions/tan.asciidoc[]\ninclude::functions/tanh.asciidoc[]\ninclude::functions/tau.asciidoc[]\ninclude::functions/to_boolean.asciidoc[]\ninclude::functions/to_datetime.asciidoc[]\ninclude::functions/to_degrees.asciidoc[]\ninclude::functions/to_double.asciidoc[]\ninclude::functions/to_integer.asciidoc[]\ninclude::functions/to_ip.asciidoc[]\ninclude::functions/to_long.asciidoc[]\ninclude::functions/to_radians.asciidoc[]\ninclude::functions/to_string.asciidoc[]\ninclude::functions/to_unsigned_long.asciidoc[]\ninclude::functions/to_version.asciidoc[]\ninclude::functions/trim.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "99550598-184e-4a7a-84c0-17e0302ea6ac",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/esql_functions_operators.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 0.9818313,
+ "functions": 1.3170668,
+ "##d": 0.8225008,
+ "software": 0.6419074,
+ "##g": 1.1174377,
+ "pun": 0.19429867,
+ "arithmetic": 0.4343046,
+ "##i": 0.16877571,
+ "convert": 0.9337481,
+ "alphabet": 0.37168148,
+ "program": 0.23042005,
+ "##l": 1.4996076,
+ "type": 0.84312,
+ "division": 0.24471478,
+ "java": 1.0798888,
+ "peg": 0.6207263,
+ "##v": 0.5906676,
+ "jan": 0.28781074,
+ "notation": 0.24607706,
+ "jerry": 0.49437627,
+ "manipulation": 0.09520291,
+ "algorithm": 0.4932176,
+ "gene": 0.26774177,
+ "ag": 1.3603714,
+ "tex": 0.018379733,
+ "index": 0.54492813,
+ "dates": 0.5656692,
+ "is": 0.22174047,
+ "+": 1.2197745,
+ "analysis": 0.071884364,
+ "-": 0.03135271,
+ "tags": 0.4922068,
+ "as": 0.8341505,
+ "provide": 0.08935251,
+ "binary": 0.45370302,
+ "processing": 0.13649254,
+ "math": 1.1091808,
+ "jude": 0.26032108,
+ "functional": 0.7170103,
+ "aim": 0.21159971,
+ "association": 0.07108382,
+ "##bre": 1.1613765,
+ "##bra": 0.051563732,
+ "computer": 0.17002185,
+ "library": 0.39687738,
+ "operators": 1.3811253,
+ "julia": 0.29836893,
+ "vector": 0.06485592,
+ "categories": 0.8766152,
+ "[": 0.4448959,
+ "fred": 0.2800086,
+ "multiplication": 0.101343244,
+ "table": 0.16942267,
+ "_": 0.5737375,
+ "include": 0.98501486,
+ "editor": 0.5992521,
+ "expression": 0.91320133,
+ "c": 0.27259007,
+ "set": 0.09622834,
+ "display": 0.45152375,
+ "column": 0.5119837,
+ "##id": 0.97618645,
+ "excel": 0.32080844,
+ "v": 0.007128756,
+ "cod": 0.56124824,
+ "operation": 0.6465099,
+ "}": 0.33382115,
+ "fun": 0.19655102,
+ "mathematical": 0.42145872,
+ "date": 0.86212337,
+ "calculation": 0.036464866,
+ "instructions": 0.09607794,
+ "symbol": 0.084900714,
+ "esq": 2.025417,
+ "con": 0.0884384,
+ "data": 1.0030423,
+ "conditional": 0.83141935,
+ "dj": 0.16670144,
+ "converting": 0.073125236,
+ "recognition": 0.0051121945,
+ "anne": 0.8271002,
+ "language": 0.5109442,
+ "wright": 0.07708415,
+ "operator": 1.3469015,
+ "ata": 0.05484642,
+ "##ab": 0.89994675,
+ "apache": 0.2650295,
+ "split": 0.15160508,
+ "tab": 0.08560875,
+ "mc": 0.16885747,
+ "function": 1.4382293,
+ "##ip": 0.09074296,
+ "html": 0.26626393,
+ "tag": 0.9195214,
+ "programming": 0.196081,
+ "ed": 0.5928271,
+ "par": 0.04344676,
+ "including": 0.54434466,
+ "mp": 0.46437824,
+ "package": 0.11620706,
+ "format": 0.48120925,
+ "eric": 0.27505535,
+ "mv": 1.2310886,
+ "##ido": 1.6618156,
+ "includes": 0.034860272,
+ "sort": 0.27353787,
+ "clock": 0.267569,
+ "list": 0.8141697,
+ "expressions": 0.74606985,
+ "plus": 0.3932169,
+ "##ca": 0.19053054,
+ "modules": 0.020783616,
+ "tutor": 0.095518254,
+ "##idi": 0.18323988,
+ "jamie": 0.6052422,
+ "core": 0.15292907,
+ "sequence": 0.12200018,
+ "unit": 0.20365985,
+ "##cho": 0.10224371,
+ "converted": 0.17082368,
+ "lists": 0.7358119,
+ "##ida": 0.5880437,
+ "geometric": 0.3015423,
+ "decimal": 0.22267662,
+ "code": 0.44544554,
+ "memory": 0.14254496,
+ "string": 1.105766,
+ "cad": 0.501765,
+ "classes": 0.4206506,
+ "divided": 0.36370012,
+ "mass": 0.15961333,
+ "aggregation": 1.244437,
+ "gil": 0.052763578,
+ "interface": 0.2933352,
+ "title": 0.15585242,
+ "amy": 0.05483367,
+ "symbols": 0.29929975,
+ "platform": 0.12567304,
+ "sid": 0.3955828,
+ "aggregate": 0.18928218,
+ "sql": 0.18416218,
+ "timer": 0.16886361,
+ "database": 0.35452023,
+ "operations": 0.20253508,
+ "para": 0.6460872,
+ "##ci": 1.5063459,
+ "and": 0.32901958,
+ "working": 0.01686376,
+ "david": 0.33442074,
+ "##lib": 0.07287268,
+ "compiler": 0.089152984,
+ "lang": 0.029550904,
+ "class": 0.73386765,
+ "included": 0.14965385,
+ "conversion": 0.94467527,
+ "cipher": 0.05912252,
+ "op": 0.9527987,
+ "keyboard": 0.37650454,
+ "types": 0.49826187,
+ "equation": 0.20723999,
+ "length": 0.24164298,
+ "command": 0.32522482,
+ "serial": 0.40844652,
+ "translation": 0.14450957,
+ "syntax": 0.70699733,
+ "time": 0.9020389,
+ "##do": 0.051938076,
+ "category": 0.7469219,
+ "pub": 0.49294007,
+ "comprehensive": 1.2181896
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-functions-operators]]\n=== {esql} functions and operators\n\n++++\nFunctions and operators\n++++\n\n{esql} provides a comprehensive set of functions and operators for working with data.\nThe functions are divided into the following categories:\n\n[[esql-functions]]\n<>::\ninclude::functions/aggregation-functions.asciidoc[tag=agg_list]\n\n<>::\ninclude::functions/math-functions.asciidoc[tag=math_list]\n\n<>::\ninclude::functions/string-functions.asciidoc[tag=string_list]\n\n<>::\ninclude::functions/date-time-functions.asciidoc[tag=date_list]\n\n<>::\ninclude::functions/type-conversion-functions.asciidoc[tag=type_list]\n\n<>::\ninclude::functions/conditional-functions-and-expressions.asciidoc[tag=cond_list]\n\n<>::\ninclude::functions/mv-functions.asciidoc[tag=mv_list]\n\n<>::\ninclude::functions/operators.asciidoc[tag=op_list]\n\ninclude::functions/aggregation-functions.asciidoc[]\ninclude::functions/math-functions.asciidoc[]\ninclude::functions/string-functions.asciidoc[]\ninclude::functions/date-time-functions.asciidoc[]\ninclude::functions/type-conversion-functions.asciidoc[]\ninclude::functions/conditional-functions-and-expressions.asciidoc[]\ninclude::functions/mv-functions.asciidoc[]\ninclude::functions/operators.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "d27dd644-0856-4fd7-8182-8e5796d051bb",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/esql_get_started.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "studio": 0.14224988,
+ "bring": 0.029788487,
+ "alphabet": 0.451981,
+ "program": 0.29261875,
+ "##l": 1.4795318,
+ "soon": 0.29418895,
+ "scene": 0.08718055,
+ "advance": 0.06367464,
+ "java": 1.037251,
+ "grammar": 0.70126706,
+ "peg": 0.40106106,
+ "##v": 0.72878975,
+ "notation": 0.32493982,
+ "welcome": 0.29476047,
+ "11": 0.6869547,
+ "ab": 0.033723228,
+ "#": 0.2739747,
+ "grow": 0.025638256,
+ "having": 0.021016872,
+ "verb": 0.61683255,
+ "(": 0.19915052,
+ "lesson": 0.03762739,
+ "index": 0.30212975,
+ ")": 0.013326501,
+ "come": 0.8380742,
+ "+": 1.4243585,
+ ",": 0.1321553,
+ "-": 0.6322168,
+ "version": 0.09049525,
+ "script": 0.2050687,
+ "/": 0.03636038,
+ "cue": 0.23300289,
+ "alex": 0.047300484,
+ "8": 1.0893881,
+ "integration": 0.07572352,
+ "math": 0.55897105,
+ "starting": 0.64609605,
+ "<": 0.43835843,
+ "@": 0.25212362,
+ "document": 0.032345656,
+ "eventually": 0.03808043,
+ "##bre": 1.2873769,
+ "##bra": 0.21049196,
+ "example": 0.04044881,
+ "into": 0.1261352,
+ "get": 1.3459332,
+ "came": 0.31351557,
+ "[": 1.1327108,
+ "fred": 0.009923646,
+ "]": 0.66185343,
+ "_": 0.58626,
+ "latest": 0.128898,
+ "editor": 0.43992212,
+ "expression": 0.19002269,
+ "explore": 0.0953322,
+ "learn": 0.12581013,
+ "miranda": 0.07068393,
+ "started": 1.3874301,
+ "sample": 0.104973175,
+ "bug": 0.28558198,
+ "instruction": 0.27171335,
+ "v": 0.13680115,
+ "cod": 0.5265528,
+ "php": 0.15322876,
+ "{": 0.27859357,
+ "}": 0.9035598,
+ "first": 0.38434368,
+ "esq": 1.8794225,
+ "before": 0.038125873,
+ "dj": 0.5383694,
+ "anne": 0.42827716,
+ "project": 0.2055779,
+ "language": 0.0401605,
+ "arriving": 0.34066716,
+ "experience": 0.32768968,
+ "got": 0.59772164,
+ "##ab": 0.9346774,
+ "apache": 0.48118627,
+ "tab": 0.08903096,
+ "earlier": 0.005075309,
+ "html": 0.6912263,
+ "tag": 0.41698337,
+ "programming": 0.2221877,
+ "ed": 0.5004389,
+ "par": 0.2778744,
+ "level": 0.041493155,
+ "archive": 0.114659965,
+ "list": 0.04572299,
+ "plus": 0.59256476,
+ "tutor": 0.7486382,
+ "sequence": 0.21355826,
+ "page": 0.39476082,
+ "forthcoming": 0.41410422,
+ "next": 0.3149036,
+ "code": 0.42907423,
+ "string": 0.2822877,
+ "import": 0.03621415,
+ "arrival": 0.7758543,
+ "student": 0.21197058,
+ "idea": 0.0503366,
+ "cad": 0.16485095,
+ "learning": 0.63216865,
+ "title": 0.91876835,
+ "interface": 0.4211375,
+ "##li": 0.08807016,
+ "sid": 0.21749292,
+ "getting": 1.2272927,
+ "button": 9.0331753E-4,
+ "synonym": 0.33784,
+ "class": 0.36473703,
+ "__": 0.16999641,
+ "keyboard": 0.18304136,
+ "introduce": 0.033948068,
+ "implementation": 0.12610976,
+ "start": 1.3237954,
+ "with": 0.9344683,
+ "serial": 0.071638264,
+ "syntax": 0.76800776,
+ "step": 0.242813,
+ "pub": 0.15800773,
+ "coming": 1.3934557,
+ "upcoming": 0.37572142
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-getting-started]]\n== Getting started with {esql}\n\n++++\nGetting started\n++++\n\ncoming::[8.11]"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "b8d2fb62-7d1a-4a01-b86e-64b15787b470",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/esql_kibana.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.4436951,
+ "##b": 1.3211455,
+ "##i": 0.24202338,
+ "##l": 1.4707874,
+ "java": 1.0568484,
+ "##v": 0.6734782,
+ "jan": 0.24261588,
+ "notation": 0.19458897,
+ "jam": 0.26295874,
+ "record": 0.13464192,
+ "playback": 0.24866426,
+ "filtering": 0.1553393,
+ "cuba": 1.2015538,
+ "ab": 0.24800473,
+ "using": 0.9600072,
+ "lenses": 0.87446535,
+ "iris": 0.5387574,
+ "#": 0.029723454,
+ "(": 0.019067097,
+ "*": 0.14821246,
+ "+": 1.2305005,
+ "analysis": 0.41423926,
+ "click": 0.07632984,
+ "node": 0.08616067,
+ "atlantic": 0.01466695,
+ "##ray": 0.03042157,
+ "trying": 0.3153133,
+ "ax": 0.18817835,
+ "telescope": 0.03879923,
+ "##ran": 0.20648797,
+ "##bre": 1.2896262,
+ "##bra": 0.72757566,
+ "##ban": 0.102079675,
+ "search": 0.5825202,
+ "##ries": 0.7399276,
+ "vector": 0.042928655,
+ "[": 0.8502247,
+ "fred": 0.27463287,
+ "]": 0.25098604,
+ "_": 0.34092852,
+ "##tara": 0.12893645,
+ "set": 0.90958494,
+ "sets": 0.11409176,
+ "learn": 0.27732557,
+ "started": 0.13255401,
+ "sample": 0.106714055,
+ "mana": 0.54365724,
+ "bug": 0.039576292,
+ "v": 0.03106997,
+ "timeline": 0.0717439,
+ "z": 0.116781816,
+ "{": 0.74296993,
+ "to": 0.23688094,
+ "}": 0.40410537,
+ "optical": 0.21559608,
+ "ass": 0.1728091,
+ "dj": 0.5039641,
+ "questions": 0.011028761,
+ "anne": 0.65284973,
+ "language": 0.05052589,
+ "down": 0.22966692,
+ "quest": 0.10240706,
+ "research": 0.31453627,
+ "ata": 0.29499018,
+ "##ba": 0.10560955,
+ "##ab": 1.0343217,
+ "view": 1.070129,
+ "apache": 0.32497928,
+ "jamaica": 0.38183355,
+ "ed": 0.42034686,
+ "glass": 0.076123506,
+ "chess": 0.25086713,
+ "query": 0.6348644,
+ "collection": 0.42948535,
+ "graph": 0.11939641,
+ "extract": 0.06937551,
+ "##bi": 0.15125847,
+ "##ry": 0.028668243,
+ "que": 1.0712746,
+ "drop": 0.60283506,
+ "memory": 0.07329309,
+ "import": 0.33769703,
+ "learning": 0.10730638,
+ "lens": 1.5875864,
+ "title": 0.9555634,
+ "interface": 0.46807453,
+ "barbie": 0.055510532,
+ "inventory": 0.03447649,
+ "peru": 0.010024323,
+ "kim": 0.5357431,
+ "sid": 0.5625157,
+ "button": 0.439694,
+ "kin": 0.19154231,
+ "plot": 0.21426782,
+ "##down": 0.3955645,
+ "class": 0.18740208,
+ "start": 0.57829064,
+ "filters": 0.18440568,
+ "titles": 0.10153163,
+ "syntax": 0.43385047,
+ "time": 1.0932822,
+ "pub": 0.35741636,
+ "select": 0.68971795,
+ "software": 0.43592307,
+ "catalog": 0.02684395,
+ "gage": 0.36180577,
+ "attempt": 0.11588554,
+ "peg": 0.57588404,
+ "experiment": 0.3344065,
+ "dna": 0.020170454,
+ "spatial": 3.121604E-4,
+ "algorithm": 0.6736315,
+ "gene": 0.3194932,
+ "##list": 0.47407684,
+ "index": 0.6796748,
+ "script": 0.17359306,
+ "anal": 0.11972156,
+ "explored": 0.23778686,
+ "analyze": 0.18158203,
+ "explorer": 0.2536653,
+ "math": 0.61337405,
+ "jude": 0.13875072,
+ "server": 0.13003874,
+ "gun": 0.09135298,
+ "##bana": 2.1566699,
+ "range": 0.21097523,
+ "computer": 0.03585561,
+ "library": 0.27178383,
+ "file": 0.20167936,
+ "julia": 0.04790667,
+ "ka": 0.19662242,
+ "ke": 0.22896734,
+ "torre": 0.57863677,
+ "ki": 1.7893376,
+ "table": 0.025457097,
+ "editor": 0.7606288,
+ "mat": 0.2954692,
+ "explore": 1.5689812,
+ "question": 0.27018106,
+ "ko": 0.051614907,
+ "display": 0.3700171,
+ "miranda": 0.065667816,
+ "filter": 1.0133314,
+ "excel": 0.38223308,
+ "exploring": 0.7705167,
+ "discovery": 1.0628176,
+ "##una": 0.22581305,
+ "cod": 0.28627214,
+ "shaw": 0.080735974,
+ "checkpoint": 0.37782454,
+ "esq": 1.9351292,
+ "reveal": 0.24571788,
+ "data": 1.3499048,
+ "use": 0.86043704,
+ "used": 0.27462,
+ "protocol": 0.11483747,
+ "tab": 0.5046485,
+ "brendan": 0.122124895,
+ "find": 0.589303,
+ "html": 0.22352876,
+ "buffer": 0.20131323,
+ "selected": 0.143482,
+ "notebook": 0.0838739,
+ "discover": 1.7976645,
+ "exploration": 0.8529747,
+ "read": 0.03240117,
+ "format": 0.0461602,
+ "archive": 0.22670794,
+ "sort": 0.09810036,
+ "clock": 0.06835344,
+ "plus": 0.39564732,
+ "tool": 0.15480979,
+ "tutor": 0.34755218,
+ "core": 0.33577913,
+ "jamie": 0.22645475,
+ "sequence": 0.013034027,
+ "expand": 0.21420325,
+ "try": 0.9440694,
+ "carly": 0.29155707,
+ "code": 0.20905794,
+ "ling": 0.11567521,
+ "student": 0.07583956,
+ "bot": 0.2426862,
+ "cad": 0.40303066,
+ "link": 0.12677453,
+ "investigate": 0.5149955,
+ "gil": 0.09030805,
+ "sql": 0.19144447,
+ "timer": 0.19760124,
+ "database": 0.49136022,
+ "kai": 0.26468027,
+ "array": 0.054493487,
+ "predict": 0.38115785,
+ "##lib": 0.4134141,
+ "keyboard": 0.41319442,
+ "zoom": 0.27780724,
+ "control": 0.15567206,
+ "command": 0.1061158,
+ "probe": 0.40669888,
+ "cuban": 0.14742532,
+ "serial": 0.43226415,
+ "online": 0.0100264475,
+ "##set": 0.63854295,
+ "user": 0.03639659
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-kibana]]\n== Using {esql} in {kib}\n\n++++\nKibana\n++++\n\n\nUse {esql} in Discover to explore a data set. From the data view dropdown,\nselect *Try {esql}* to get started.\n\nNOTE: {esql} queries in Discover and Lens are subject to the time range selected\nwith the time filter.\n\n\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "7cdadca3-2c8a-448c-b3a2-242d3c6bf879",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/esql_language.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "metadata": 1.129117,
+ "vladimir": 0.04780258,
+ "##c": 0.65024084,
+ "##d": 0.64177334,
+ "functions": 0.5817536,
+ "software": 0.48957372,
+ "##i": 0.37439176,
+ "program": 0.20379646,
+ "alphabet": 0.122778915,
+ "##l": 1.585415,
+ "type": 0.040383782,
+ "multi": 0.9884675,
+ "enrichment": 0.23123129,
+ "java": 1.016635,
+ "peg": 0.50947255,
+ "##v": 0.7101326,
+ "jan": 0.21428686,
+ "dna": 0.04867113,
+ "curt": 0.066967376,
+ "##z": 0.006642286,
+ "jerry": 0.4587366,
+ "text": 0.101313084,
+ "algorithm": 0.44425943,
+ "iris": 0.2860475,
+ "using": 0.20607926,
+ "gene": 0.535653,
+ "work": 0.19538988,
+ "tex": 0.15852527,
+ "index": 0.83908856,
+ "+": 1.1432251,
+ "-": 0.1366533,
+ "script": 0.2702514,
+ "as": 0.72870696,
+ "cue": 0.05746308,
+ "field": 0.8489086,
+ "binary": 0.03606376,
+ "math": 0.44672006,
+ "##val": 1.1241823,
+ "gun": 0.003079674,
+ "miscellaneous": 0.11924448,
+ "##ler": 0.062443588,
+ "document": 0.060444307,
+ "##bre": 1.2730403,
+ "##bra": 0.23945701,
+ "computer": 0.3145675,
+ "file": 0.49798194,
+ "library": 0.24058555,
+ "operators": 0.7242331,
+ "julia": 0.053851742,
+ "ian": 0.099223115,
+ "vector": 0.23240156,
+ "[": 1.1902722,
+ "fred": 0.17474383,
+ "arm": 0.16995557,
+ "]": 0.092425294,
+ "_": 0.47769362,
+ "include": 0.7972007,
+ "editor": 0.7615632,
+ "chip": 0.59566176,
+ "expression": 0.3600273,
+ "c": 0.06938151,
+ "contain": 0.06579786,
+ "languages": 0.694307,
+ "display": 0.27069318,
+ "column": 0.5631565,
+ "##id": 0.8689365,
+ "sample": 0.03595762,
+ "ibm": 0.17230962,
+ "machine": 0.09631636,
+ "isa": 0.060877595,
+ "cod": 0.29513237,
+ "information": 0.301858,
+ "z": 0.04045396,
+ "{": 0.44308022,
+ "}": 0.5239269,
+ "operation": 0.2525071,
+ "font": 0.19962847,
+ "checkpoint": 0.24824584,
+ "ass": 0.112926066,
+ "instructions": 0.14634399,
+ "esq": 2.1156428,
+ "data": 0.5911932,
+ "dj": 0.2843082,
+ "anne": 0.8363909,
+ "language": 1.3727901,
+ "operator": 0.7240557,
+ "ata": 0.45263222,
+ "##ab": 1.0204276,
+ "protocol": 0.28061306,
+ "apache": 0.48725635,
+ "function": 0.72454274,
+ "##ip": 0.0026550777,
+ "html": 0.42683583,
+ "implement": 0.007371015,
+ "commands": 0.5233886,
+ "programming": 0.14530985,
+ "ed": 0.39496097,
+ "including": 0.3267524,
+ "oracle": 0.16505796,
+ "format": 0.14740063,
+ "eric": 0.040637575,
+ "en": 0.5853112,
+ "##ido": 1.5348964,
+ "archive": 0.40988624,
+ "list": 0.057928827,
+ "plus": 0.25502452,
+ "##ca": 0.19237468,
+ "tutor": 0.33900025,
+ "jamie": 0.26588872,
+ "core": 0.052224934,
+ "expand": 0.2612904,
+ "##ida": 0.56228906,
+ "fields": 1.1181452,
+ "decimal": 0.06390794,
+ "code": 0.45785967,
+ "import": 0.017965216,
+ "cad": 0.6510972,
+ "gil": 0.007167578,
+ "title": 0.756353,
+ "interface": 0.72045976,
+ "sid": 0.7856728,
+ "apple": 0.016599637,
+ "database": 0.5003416,
+ "array": 0.1929923,
+ "##ci": 1.3445692,
+ "working": 0.88101476,
+ "david": 0.30171502,
+ "##lib": 0.018691944,
+ "compiler": 0.25668153,
+ "lang": 0.09058759,
+ "class": 0.6114963,
+ "enhance": 0.432256,
+ "##rich": 1.3816763,
+ "##ue": 0.68899727,
+ "keyboard": 0.3057316,
+ "multiple": 0.31504425,
+ "length": 0.18644053,
+ "alberta": 0.18717839,
+ "command": 0.85687333,
+ "with": 0.6823971,
+ "serial": 0.45188078,
+ "detailed": 0.42280695,
+ "syntax": 1.0172025,
+ "pub": 0.3252244
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-language]]\n== Working with the {esql} language\n\n++++\nWorking with the {esql} language\n++++\n\nDetailed information about the {esql} language:\n\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n\ninclude::esql-syntax.asciidoc[]\ninclude::esql-commands.asciidoc[]\ninclude::esql-functions-operators.asciidoc[]\ninclude::multivalued-fields.asciidoc[]\ninclude::metadata-fields.asciidoc[]\ninclude::esql-enrich-data.asciidoc[]\n\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "d634e783-7ee6-465e-9912-07a8ed201d73",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/esql_limitations.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.14304918,
+ "half": 0.9567486,
+ "##d": 0.08325085,
+ "allowed": 0.57085073,
+ "##l": 1.6717647,
+ "constraints": 0.38250497,
+ "java": 1.1086512,
+ "##v": 0.6490745,
+ "jan": 0.09944665,
+ "represented": 0.16148338,
+ "api": 0.23946302,
+ "limitations": 1.6229883,
+ "##lean": 0.8395302,
+ "10": 0.45164475,
+ "databases": 0.39116552,
+ "ab": 0.0414338,
+ "*": 0.20287488,
+ "+": 1.0847507,
+ "version": 0.68791413,
+ "000": 0.5230332,
+ "miscellaneous": 0.27181256,
+ "##type": 0.10522376,
+ "##ler": 0.09032852,
+ "##bre": 1.3504865,
+ "long": 0.86599207,
+ "##bra": 0.033841934,
+ "characters": 0.013706259,
+ "search": 0.16518642,
+ "supports": 0.22489154,
+ "vector": 0.08893935,
+ "[": 0.48543262,
+ "fred": 0.36031976,
+ "limits": 0.70018256,
+ "key": 0.5118437,
+ "_": 0.65429777,
+ "latest": 0.4546725,
+ "scaling": 0.51357347,
+ "column": 0.22045182,
+ "many": 0.26178506,
+ "single": 0.64728814,
+ "bug": 0.025372723,
+ "v": 0.07444182,
+ "maximum": 1.2124687,
+ "{": 0.36007947,
+ "returned": 0.30482042,
+ "}": 0.48094422,
+ "supported": 1.2725884,
+ "represent": 0.50603414,
+ "standard": 0.0011117237,
+ "available": 0.16238916,
+ "anne": 0.67261297,
+ "language": 0.16078527,
+ "##ab": 1.0708286,
+ "apache": 0.8496512,
+ "weighted": 0.27632657,
+ "ed": 0.39731103,
+ "par": 0.15286532,
+ "chess": 0.2707751,
+ "eh": 0.076664336,
+ "oracle": 0.015453245,
+ "maps": 0.16070762,
+ "##card": 0.5243239,
+ "query": 1.1347871,
+ "batch": 0.08764096,
+ "discrete": 1.3852229,
+ "##word": 1.0722902,
+ "fields": 0.9382811,
+ "support": 0.7819416,
+ "parameters": 0.10454205,
+ "que": 0.38805476,
+ "formats": 0.25945973,
+ "memory": 0.1786072,
+ "classes": 0.21232271,
+ "title": 0.9837734,
+ "interface": 0.5591159,
+ "representation": 0.6439945,
+ "sid": 0.79805005,
+ "not": 0.16411492,
+ "now": 0.091073975,
+ "compiler": 0.043605175,
+ "class": 0.6962519,
+ "cipher": 0.14233291,
+ "types": 1.354153,
+ "length": 0.34222993,
+ "multiple": 0.32180935,
+ "titles": 0.2640932,
+ "restricted": 0.48466888,
+ "syntax": 0.61877024,
+ "short": 0.61367387,
+ "family": 0.321603,
+ "pub": 0.2553534,
+ "software": 0.36125013,
+ "type": 1.1257528,
+ "compatible": 0.19772196,
+ "peg": 0.59764296,
+ "narrow": 0.06276921,
+ "text": 0.7796885,
+ "jerry": 0.439324,
+ "algorithm": 0.63740015,
+ "mapping": 1.2327322,
+ "gene": 0.1740913,
+ "double": 1.1340073,
+ "byte": 1.0434653,
+ "ip": 1.0481609,
+ "index": 0.90029275,
+ "signed": 0.46535912,
+ "dates": 0.84254235,
+ "script": 0.3011008,
+ "field": 1.1104105,
+ "million": 0.27718455,
+ "doubles": 0.38172913,
+ "versions": 0.10428775,
+ "following": 0.28148842,
+ "restriction": 0.7758355,
+ "math": 0.5376107,
+ "jude": 0.13165987,
+ "hash": 0.28825316,
+ "card": 0.020339724,
+ "server": 0.41905096,
+ "longest": 0.08912103,
+ "columns": 0.30328122,
+ "pattern": 0.055307973,
+ "capacity": 0.0117501775,
+ "valid": 0.18037361,
+ "file": 0.32269403,
+ "native": 0.13927875,
+ "shorts": 0.026776172,
+ "map": 0.51982105,
+ "table": 0.2444213,
+ "editor": 0.55805665,
+ "robust": 0.0011320856,
+ "max": 0.9992531,
+ "display": 0.25904378,
+ "excel": 0.43481794,
+ "framework": 0.028937768,
+ "cod": 0.08356363,
+ "php": 0.07421074,
+ "constraint": 0.31422672,
+ "minimum": 0.47232938,
+ "return": 0.55002886,
+ "date": 1.0677205,
+ "checkpoint": 0.021498967,
+ "esq": 2.0609663,
+ "constant": 0.77467644,
+ "scaled": 1.222083,
+ "data": 0.31860432,
+ "integer": 0.20354791,
+ "float": 1.298464,
+ "tab": 0.026619827,
+ "continuous": 0.5684125,
+ "limit": 1.1629767,
+ "html": 0.2991975,
+ "buffer": 0.27915496,
+ "including": 0.032364815,
+ "format": 0.26738727,
+ "restrictions": 0.80383587,
+ "archive": 0.23907349,
+ "sort": 0.1339341,
+ "plus": 0.3843547,
+ "jamie": 0.20802385,
+ "null": 0.78393304,
+ "mapped": 0.29984966,
+ "files": 0.08411382,
+ "##words": 0.3224357,
+ "limitation": 1.174316,
+ "boo": 1.01575,
+ "legacy": 0.26555833,
+ "code": 0.15677872,
+ "keys": 0.023829257,
+ "cad": 0.41746798,
+ "scale": 0.6838251,
+ "sql": 0.8135147,
+ "weakness": 0.10070846,
+ "database": 0.86495304,
+ "total": 0.14766899,
+ "array": 0.11773259,
+ "floating": 0.84350765,
+ "alias": 1.7004,
+ "dated": 0.36694688,
+ "row": 0.92698103,
+ "lang": 0.17709064,
+ "value": 0.32370353,
+ "limited": 0.971847,
+ "rows": 1.0117382,
+ "families": 0.43665022,
+ "int": 0.9052741,
+ "command": 0.8985537,
+ "consecutive": 0.14053027,
+ "currently": 0.89187396,
+ "serial": 0.5371535,
+ "bytes": 0.25071806,
+ "unsigned": 0.89225304,
+ "wild": 1.367314
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-limitations]]\n== {esql} limitations\n\n++++\nLimitations\n++++\n\n[discrete]\n[[esql-supported-types]]\n=== Supported types\n\n* {esql} currently supports the following <>:\n\n** `alias`\n** `boolean`\n** `date`\n** `double` (`float`, `half_float`, `scaled_float` are represented as `double`)\n** `ip`\n** `keyword` family including `keyword`, `constant_keyword`, and `wildcard`\n** `int` (`short` and `byte` are represented as `int`)\n** `long`\n** `null`\n** `text`\n** `unsigned_long`\n** `version`\n\n[discrete]\n[[esql-max-rows]]\n=== 10,000 row maximum\n\nA single query will not return more than 10,000 rows, regardless of the\n`LIMIT` command's value."
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "4f4a5017-2cfc-4919-9127-88c59aed14e2",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/esql_query_api.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.13765217,
+ "##c": 0.42227647,
+ "year": 1.077629,
+ "smiles": 0.7348791,
+ "05": 0.11449913,
+ "##i": 0.002874174,
+ "del": 0.37073174,
+ "##l": 1.4370952,
+ "##m": 0.45870978,
+ "##q": 0.65415776,
+ "##r": 0.24429545,
+ "java": 1.0644249,
+ "stats": 0.79951626,
+ "##v": 1.2395749,
+ "##ms": 0.7581786,
+ "jan": 0.21561117,
+ "xml": 0.090530425,
+ "record": 0.090729564,
+ "rank": 0.2856429,
+ "api": 1.7308487,
+ "welcome": 0.035667896,
+ "##lean": 0.42395398,
+ "proposal": 0.44748816,
+ "apr": 0.11233578,
+ "optional": 1.1066319,
+ "google": 0.20521416,
+ "+": 0.7502469,
+ "analysis": 0.0678326,
+ "-": 0.037265338,
+ "accept": 1.137827,
+ "/": 0.33704358,
+ "ar": 0.10404799,
+ "smiled": 0.3597246,
+ "5": 0.9027955,
+ "domain": 0.24998061,
+ "<": 0.5322953,
+ "##ter": 0.051755164,
+ "statistical": 0.36320126,
+ "role": 0.46310264,
+ "##bre": 1.1928,
+ "availability": 0.20188943,
+ "virus": 0.16514145,
+ "result": 0.796783,
+ "search": 1.3488699,
+ "default": 0.8534356,
+ "##or": 1.1989098,
+ "si": 0.09595427,
+ "popularity": 0.06815925,
+ "attribute": 0.45956314,
+ "fred": 0.31025004,
+ "cb": 1.5786501,
+ "_": 0.5371389,
+ "website": 0.5468768,
+ "stat": 0.06592219,
+ "languages": 0.2723862,
+ "e": 0.30491164,
+ "column": 1.0012828,
+ "librarian": 0.5265592,
+ "j": 0.6798258,
+ "sample": 0.107611515,
+ "cp": 0.07477905,
+ "cs": 1.3332245,
+ "q": 1.142165,
+ "v": 0.12432867,
+ "maximum": 0.49225157,
+ "returned": 0.46020815,
+ "|": 0.41242895,
+ "tr": 1.1272304,
+ "ass": 0.27205178,
+ "calculation": 0.048959494,
+ "##ar": 1.5071253,
+ "privileges": 0.63979965,
+ "##re": 0.91273487,
+ "##au": 0.19131117,
+ "dj": 0.013305797,
+ "anne": 0.715806,
+ "historical": 0.10171158,
+ "language": 0.85478634,
+ "source": 0.898238,
+ "secure": 0.037968423,
+ "##ab": 0.93958265,
+ "features": 0.6107723,
+ "apache": 0.82788235,
+ "post": 0.9963384,
+ "##imi": 0.3033517,
+ "results": 0.95065886,
+ "ur": 0.3260448,
+ "ed": 0.5126542,
+ "par": 0.4451023,
+ "smiling": 0.66222906,
+ "pre": 0.34652787,
+ "eh": 0.2550042,
+ "test": 0.94865286,
+ "query": 1.4811786,
+ "count": 0.897055,
+ "eric": 0.16215748,
+ "list": 0.15636905,
+ "sha": 0.07036587,
+ "es": 1.3512969,
+ "discrete": 1.1514802,
+ "http": 1.19289,
+ "page": 1.0141878,
+ "parameters": 0.95505923,
+ "support": 0.11585115,
+ "child": 0.9333545,
+ "que": 0.7246463,
+ "formats": 0.6588135,
+ "string": 0.44727316,
+ "title": 0.89150137,
+ "##son": 0.7701053,
+ "interface": 0.33118212,
+ "inventory": 0.119613156,
+ "sid": 0.50232375,
+ "client": 0.32148492,
+ "class": 0.47464523,
+ "citation": 0.015797699,
+ "false": 0.5090401,
+ "libraries": 0.101633295,
+ "##un": 1.426898,
+ "titles": 0.03374305,
+ "refer": 0.092755646,
+ "setup": 0.707307,
+ "syntax": 0.5800707,
+ "pub": 0.38777912,
+ "select": 0.013703673,
+ "software": 0.010171483,
+ "release": 0.5893367,
+ "happy": 0.13400395,
+ "ya": 1.0417094,
+ "years": 0.80931455,
+ "peg": 0.6645653,
+ "enable": 0.19626245,
+ "ib": 0.15554218,
+ "teeth": 0.24479552,
+ "jerry": 0.41628358,
+ "https": 0.25978193,
+ "text": 0.012103919,
+ "flow": 0.18699093,
+ "algorithm": 0.5887089,
+ "method": 0.17142774,
+ "gene": 0.08316979,
+ "ip": 0.24010092,
+ "testing": 0.11552728,
+ "streams": 0.04491479,
+ "specify": 1.1643212,
+ "index": 0.9333847,
+ "dates": 0.3144253,
+ "priority": 0.072464526,
+ "script": 0.29989028,
+ "math": 0.3467815,
+ "jude": 0.15390651,
+ "server": 0.27289602,
+ "log": 0.19116841,
+ "columns": 0.4662103,
+ "privilege": 0.6871286,
+ "enabled": 0.5149674,
+ "valid": 1.0333327,
+ "##arat": 0.4195374,
+ "streaming": 0.2566193,
+ "library": 1.2210201,
+ "file": 0.19583435,
+ "stream": 1.0845675,
+ "web": 0.6876801,
+ "table": 0.11468792,
+ "grin": 1.0964506,
+ "editor": 0.34393847,
+ "question": 0.05256668,
+ "max": 0.8758459,
+ "display": 0.14681481,
+ "excel": 0.34612975,
+ "century": 0.2788135,
+ "site": 0.2249022,
+ "report": 0.3522001,
+ "php": 0.18821223,
+ "cod": 0.05449247,
+ "attributes": 0.81071115,
+ "return": 0.61922604,
+ "statistics": 0.8060692,
+ "date": 0.8475006,
+ "checkpoint": 0.047503762,
+ "esq": 1.9082353,
+ "data": 0.7975442,
+ "body": 0.43593454,
+ "precedence": 0.9079432,
+ "trial": 0.09347779,
+ "smile": 1.575982,
+ "protocol": 0.31018823,
+ "pages": 0.6667134,
+ "tab": 0.022669453,
+ "find": 0.33375585,
+ "continuous": 0.4531948,
+ "function": 0.08617565,
+ "limit": 0.61585873,
+ "html": 0.32450077,
+ "buffer": 0.06277783,
+ "mp": 0.03636728,
+ "format": 1.2526125,
+ "archive": 0.4344861,
+ "sort": 0.9465609,
+ "published": 0.44418925,
+ "amazon": 0.074556455,
+ "market": 0.07287202,
+ "jamie": 0.39375097,
+ "true": 0.33192897,
+ "header": 0.71717393,
+ "survey": 0.46170002,
+ "request": 0.8747883,
+ "boo": 0.66330117,
+ "code": 0.1611707,
+ "values": 0.64352787,
+ "link": 0.024204118,
+ "gil": 0.06285575,
+ "error": 0.017177379,
+ "sql": 0.3177875,
+ "eva": 1.3847215,
+ "database": 0.52803075,
+ "security": 0.5193693,
+ "para": 0.98705983,
+ "array": 0.3983147,
+ "parameter": 1.0725328,
+ "define": 0.21100834,
+ "alias": 0.66722584,
+ "value": 0.6708659,
+ "rest": 1.1178653,
+ "console": 0.8048767,
+ "##ml": 0.8124062,
+ "serial": 0.5602055,
+ "response": 0.86698073,
+ "online": 0.24796735,
+ "respond": 0.56251717
+ },
+ "is_truncated": true,
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-query-api]]\n== {esql} query API\n++++\n{esql} query API\n++++\n\nReturns search results for an <> query.\n\n[source,console]\n----\nPOST /_query\n{\n \"query\": \"\"\"\n FROM library\n | EVAL year = DATE_TRUNC(1 YEARS, release_date)\n | STATS MAX(page_count) BY year\n | SORT year\n | LIMIT 5\n \"\"\"\n}\n----\n// TEST[setup:library]\n\n[discrete]\n[[esql-query-api-request]]\n=== {api-request-title}\n\n`POST _query`\n\n[discrete]\n[[esql-query-api-prereqs]]\n=== {api-prereq-title}\n\n* If the {es} {security-features} are enabled, you must have the `read`\n<> for the data stream, index,\nor alias you search.\n\n[discrete]\n[[esql-query-api-query-params]]\n=== {api-query-parms-title}\n\n`delimiter`::\n(Optional, string) Separator for CSV results. Defaults to `,`. The API only\nsupports this parameter for CSV responses.\n\n`format`::\n(Optional, string) Format for the response. For valid values, refer to\n<>.\n+\nYou can also specify a format using the `Accept` HTTP header. If you specify\nboth this parameter and the `Accept` HTTP header, this parameter takes\nprecedence.\n\n[discrete]\n[role=\"child_attributes\"]\n[[esql-query-api-request-body]]\n=== {api-request-body-title}\n\n`columnar`::\n(Optional, Boolean) If `true`, returns results in a columnar format. Defaults to\n`false`. The API only supports this parameter for CBOR, JSON, SMILE, and YAML\nresponses. See <>.\n\n`params`::\n(Optional, array) Values for parameters in the `query`. For syntax, refer to\n<>.\n\n`query`::\n(Required, object) {esql} query to run. For syntax, refer to <>.\n\n[[esql-search-api-time-zone]]\n`time_zone`::\n(Optional, string) ISO-8601 time zone ID for the search. Several {esql}\ndate/time functions use this time zone. Defaults to `Z` (UTC).\n\n[discrete]\n[role=\"child_attributes\"]\n[[esql-query-api-response-body]]\n=== {api-response-body-title}\n\n`columns`::\n(array of objects)\nColumn headings for the search results. Each object is a column.\n+\n.Properties of `columns` objects\n[%collapsible%open]\n====\n`name`::\n(string) Name of the column.\n\n`type`::\n(string) Data type for the column.\n====\n\n`rows`::\n(array of arrays)\nValues for the search results.\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "1abb272c-3cd7-4ae7-b3a2-ce4fe87fee94",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/esql_rest.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.37397832,
+ "01": 0.04882066,
+ "02": 0.02277363,
+ "##d": 0.17297466,
+ "woke": 0.64851934,
+ "ship": 0.009138542,
+ "awake": 0.576136,
+ "texas": 0.19644102,
+ "##l": 1.511443,
+ "herbert": 1.463288,
+ "quotes": 0.5380215,
+ "##pon": 1.1215962,
+ "guild": 0.6775783,
+ "java": 1.1102424,
+ "des": 0.73136026,
+ "quote": 0.6238261,
+ "##t": 0.4517722,
+ "##v": 0.7001713,
+ "xml": 0.061902065,
+ "record": 0.05097505,
+ "fire": 1.169981,
+ "vin": 0.68644536,
+ "##z": 0.6661931,
+ "api": 1.7824076,
+ "cuba": 1.2008764,
+ "apr": 0.11561691,
+ "dune": 1.5806264,
+ "+": 1.0260308,
+ "portable": 0.07772946,
+ "analysis": 0.273736,
+ "-": 0.34394377,
+ "version": 0.06254718,
+ "accept": 0.801365,
+ "/": 0.38980597,
+ "000": 0.7544275,
+ "triple": 0.8412305,
+ "5": 0.25261894,
+ "islands": 0.07842749,
+ "domain": 0.22893539,
+ "creating": 0.0668706,
+ "<": 0.69277555,
+ "##sta": 0.15778418,
+ "frank": 0.8159125,
+ "##ran": 0.018724002,
+ "forest": 0.25078115,
+ "miscellaneous": 0.1536019,
+ "fate": 0.046631463,
+ "document": 0.21754885,
+ "comics": 0.1155122,
+ "##bre": 1.3292892,
+ "##bra": 0.595241,
+ "example": 0.48404506,
+ "result": 0.8001061,
+ "sleep": 0.47109076,
+ "characters": 0.24253114,
+ "search": 0.4172494,
+ "journal": 0.30231944,
+ "peter": 0.2555881,
+ "comet": 0.051698677,
+ "ian": 0.03313098,
+ "[": 0.34914938,
+ "fred": 0.02704702,
+ "galaxy": 0.15783782,
+ "escape": 0.861937,
+ "morris": 0.25285625,
+ "_": 0.48625007,
+ "latest": 0.23516917,
+ "##tara": 0.37889042,
+ "website": 0.22125168,
+ "reynolds": 0.95502365,
+ "star": 0.46123654,
+ "keeping": 0.116915345,
+ "librarian": 0.62719035,
+ "pandora": 1.6358391,
+ "j": 0.72070146,
+ "launch": 0.022646727,
+ "judah": 0.0700236,
+ "sample": 0.15699576,
+ "##00": 0.8738466,
+ "mana": 0.7122806,
+ "bug": 0.405753,
+ "clan": 0.029314538,
+ "timeline": 0.20675984,
+ "returned": 0.2885906,
+ "desert": 0.1306785,
+ "}": 0.48233658,
+ "da": 0.13538764,
+ "novel": 0.46236894,
+ "ass": 0.32691222,
+ "tx": 0.26333386,
+ "dj": 0.28225946,
+ "revelation": 1.520027,
+ "anne": 0.3987291,
+ "run": 0.47558054,
+ "language": 0.0056985067,
+ "source": 1.1006056,
+ "quest": 0.57172036,
+ "grandmaster": 0.16968428,
+ "research": 0.15159392,
+ "##ab": 1.1016378,
+ "ref": 0.6609609,
+ "apache": 0.81041247,
+ "post": 0.814028,
+ "jamaica": 0.5165023,
+ "awakening": 0.8224129,
+ "implement": 0.04642812,
+ "results": 0.9385831,
+ "elf": 0.07792842,
+ "##ra": 0.33225825,
+ "ed": 0.07794749,
+ "escapes": 0.07883929,
+ "##se": 0.62823474,
+ "58": 0.4763995,
+ "chess": 0.062924035,
+ "oracle": 0.0036859447,
+ "test": 1.0062107,
+ "query": 1.3176587,
+ "count": 1.2038674,
+ "batch": 0.14389129,
+ "eric": 0.1437863,
+ "2001": 0.11239736,
+ "2000": 0.6958997,
+ "list": 0.3474948,
+ "##rno": 1.1947966,
+ "ve": 0.54771394,
+ "discrete": 1.4308034,
+ "escaped": 0.76908165,
+ "authority": 0.016383879,
+ "http": 0.47115728,
+ "60": 0.67741066,
+ "page": 1.1660553,
+ "parameters": 0.4849626,
+ "woken": 0.08515988,
+ "que": 0.44064268,
+ "deep": 1.3443859,
+ "memory": 0.24250008,
+ "formats": 0.1601531,
+ "string": 0.91154677,
+ "sources": 0.39269304,
+ "book": 0.24516305,
+ "2011": 0.33535504,
+ "##son": 1.019096,
+ "title": 0.9630263,
+ "interface": 0.45994803,
+ "inventory": 0.21902771,
+ "kim": 0.12922594,
+ "sid": 0.71723735,
+ "dunes": 0.0010343208,
+ "2004": 0.34233126,
+ "plot": 0.14497733,
+ "sorting": 0.1867084,
+ "client": 0.15614799,
+ "class": 0.66688454,
+ "cipher": 0.31167603,
+ "summary": 0.1097977,
+ "overview": 1.2639277,
+ "citation": 0.54442316,
+ "libraries": 0.33108744,
+ "shore": 0.20225778,
+ "length": 0.0648157,
+ "titles": 0.26156935,
+ "scribe": 0.3652286,
+ "1965": 0.90846986,
+ "layout": 0.14917338,
+ "1964": 0.14244261,
+ "universe": 0.20922323,
+ "setup": 1.0176475,
+ "syntax": 0.4199896,
+ "pub": 0.19244254,
+ "rise": 0.024003847,
+ "brent": 0.045385048,
+ "copyright": 0.3030995,
+ "software": 0.29533964,
+ "release": 0.96344197,
+ "catalog": 0.39249733,
+ "dragon": 0.257422,
+ "movies": 0.049707267,
+ "peg": 0.40208626,
+ "rio": 0.39085704,
+ "awakened": 0.26216072,
+ "text": 0.32959554,
+ "corey": 1.3564976,
+ "algorithm": 0.6980525,
+ "method": 0.2719856,
+ "gene": 0.31260023,
+ "double": 0.7466765,
+ "##list": 0.410408,
+ "testing": 0.3474801,
+ "index": 0.8014947,
+ "dates": 0.27648717,
+ "epic": 0.17588368,
+ "##ge": 1.3422964,
+ "script": 0.6372122,
+ "exit": 0.231399,
+ "solomon": 0.11700835,
+ "moon": 0.11765651,
+ "books": 0.07740471,
+ "math": 0.5140179,
+ "authors": 0.7792561,
+ "server": 0.41606942,
+ "pirate": 0.42752042,
+ "log": 0.4254533,
+ "##bana": 2.074177,
+ "james": 0.73006517,
+ "alien": 0.36212167,
+ "valid": 0.06703148,
+ "computer": 0.13493037,
+ "library": 1.3120452,
+ "file": 0.3761247,
+ "web": 0.33176816,
+ "1992": 0.7100837,
+ "1991": 0.24936366,
+ "ke": 0.058647104,
+ "copy": 0.05868431,
+ "torre": 0.5180476,
+ "ki": 1.3628045,
+ "table": 0.146556,
+ "editor": 0.4134406,
+ "disclosure": 0.34638003,
+ "question": 0.22864236,
+ "explore": 0.05251895,
+ "display": 0.012040318,
+ "framework": 0.34352365,
+ "machine": 0.09458905,
+ "##una": 0.051386643,
+ "report": 0.029279,
+ "cod": 0.45333883,
+ "php": 0.08103909,
+ "runs": 0.12126096,
+ "return": 0.46926346,
+ "date": 0.76987875,
+ "checkpoint": 0.2199731,
+ "esq": 1.8494055,
+ "reveal": 0.13625695,
+ "data": 0.41969803,
+ "upon": 0.97253287,
+ "hamilton": 0.84534174,
+ "space": 0.16558208,
+ "trial": 0.07287268,
+ "protocol": 0.42539144,
+ "wake": 1.3906947,
+ "pages": 0.91440743,
+ "commander": 0.345076,
+ "brendan": 0.059250724,
+ "find": 0.04658174,
+ "ala": 0.78280073,
+ "continuous": 0.6140952,
+ "limit": 0.92292607,
+ "create": 0.5299758,
+ "##ir": 0.045580857,
+ "from": 0.87072843,
+ "html": 0.63651156,
+ "buffer": 0.33657634,
+ "notebook": 0.35083312,
+ "read": 0.03375642,
+ "king": 0.045172334,
+ "author": 1.1734618,
+ "format": 1.0566779,
+ "archive": 0.67756146,
+ "sort": 1.0353974,
+ "published": 0.30118495,
+ "walton": 0.15046653,
+ "plus": 0.30534446,
+ "tutor": 0.0029292079,
+ "sequence": 0.27199847,
+ "jamie": 0.200073,
+ "core": 0.145225,
+ "entry": 0.03372576,
+ "merlin": 0.02188613,
+ "keep": 0.7098896,
+ "##res": 0.9828897,
+ "code": 0.45306236,
+ "legacy": 0.27328992,
+ "rising": 0.00503771,
+ "configuration": 0.33894736,
+ "bot": 0.08651889,
+ "link": 0.037598,
+ "ensemble": 0.09180875,
+ "error": 0.24236529,
+ "platform": 0.19099893,
+ "sql": 0.17889741,
+ "database": 0.6870725,
+ "parameter": 0.7225418,
+ "vampire": 0.068919964,
+ "lang": 0.5544665,
+ "levi": 1.0339398,
+ "player": 0.16556096,
+ "rest": 2.2156742,
+ "console": 1.3865772,
+ "execution": 0.1771876,
+ "##athan": 1.6702007,
+ "advantage": 0.078538805,
+ "recommended": 0.26161945,
+ "cuban": 0.35176128,
+ "wakes": 0.88360655,
+ "serial": 0.6655513,
+ "##ls": 0.04896415,
+ "waking": 0.22992837,
+ "online": 0.09600246,
+ "writer": 0.31057316
+ },
+ "is_truncated": true,
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-rest]]\n== {esql} REST API\n\n++++\nREST API\n++++\n\n[discrete]\n[[esql-rest-overview]]\n=== Overview\n\nThe <> accepts an {esql} query string in the\n`query` parameter, runs it, and returns the results. For example:\n\n[source,console]\n----\nPOST /_query?format=txt\n{\n \"query\": \"FROM library | KEEP author, name, page_count, release_date | SORT page_count DESC | LIMIT 5\"\n}\n----\n// TEST[setup:library]\n\nWhich returns:\n\n[source,text]\n----\n author | name | page_count | release_date\n-----------------+--------------------+---------------+------------------------\nPeter F. Hamilton|Pandora's Star |768 |2004-03-02T00:00:00.000Z\nVernor Vinge |A Fire Upon the Deep|613 |1992-06-01T00:00:00.000Z\nFrank Herbert |Dune |604 |1965-06-01T00:00:00.000Z\nAlastair Reynolds|Revelation Space |585 |2000-03-15T00:00:00.000Z\nJames S.A. Corey |Leviathan Wakes |561 |2011-06-02T00:00:00.000Z\n----\n// TESTRESPONSE[s/\\|/\\\\|/ s/\\+/\\\\+/]\n// TESTRESPONSE[non_json]\n\n[discrete]\n[[esql-kibana-console]]\n=== Kibana Console\n\nIf you are using {kibana-ref}/console-kibana.html[Kibana Console] (which is\nhighly recommended), take advantage of the triple quotes `\"\"\"` when creating the\nquery. This not only automatically escapes double quotes (`\"`) inside the query\nstring but also supports multi-line requests:\n\n// tag::esql-query-api[]\n[source,console]\n----\nPOST /_query?format=txt\n{\n \"query\": \"\"\"\n FROM library\n | KEEP author, name, page_count, release_date\n | SORT page_count DESC\n | LIMIT 5\n \"\"\"\n}\n----\n// TEST[setup:library]\n\n[discrete]\n[[esql-rest-format]]\n=== Response formats\n\n{esql} can return the data in the following human readable and binary formats.\nYou can set the format by specifying the `format` parameter in the URL or by\nsetting the `Accept` or `Content-Type` HTTP header.\n\nNOTE: The URL parameter takes precedence over the HTTP headers. If neither is\nspecified then the response is returned in the same format as the request.\n\n[cols=\"m,4m,8\"]\n\n|===\ns|`format`\ns|HTTP header\ns|Description\n\n3+h| Human readable\n\n|csv\n|text/csv\n|{wikipedia}/Comma-separated_values[Comma-separated values]\n\n|json\n|application/json\n|https://www.json.org/[JSON] (JavaScript Object Notation) human-readable format\n\n|tsv\n|text/tab-separated-values\n|{wikipedia}/Tab-separated_values[Tab-separated values]\n\n|txt\n|text/plain\n|CLI-like representation\n\n|yaml\n|application/yaml\n|{wikipedia}/YAML[YAML] (YAML Ain't Markup Language) human-readable format\n\n3+h| Binary\n\n|cbor\n|application/cbor\n|https://cbor.io/[Concise Binary Object Representation]\n\n|smile\n|application/smile\n|{wikipedia}/Smile_(data_interchange_format)[Smile] binary data format similar\nto CBOR\n\n|===\n\nThe `csv` format accepts a formatting URL query attribute, `delimiter`, which\nindicates which character should be used to separate the CSV values. It defaults\nto comma (`,`) and cannot take any of the following values: double quote (`\"`),\ncarriage-return (`\\r`) and new-line (`\\n`). The tab (`\\t`) can also not be used.\nUse the `tsv` format instead.\n\n[discrete]\n[[esql-rest-filtering]]\n=== Filtering using {es} Query DSL\n\nSpecify a Query DSL query in the `filter` parameter to filter the set of\ndocuments that an {esql} query runs on.\n\n[source,console]\n----\nPOST /_query?format=txt\n{\n \"query\": \"\"\"\n FROM library\n | KEEP author, name, page_count, release_date\n | SORT page_count DESC\n | LIMIT 5\n \"\"\",\n \"filter\": {\n \"range\": {\n \"page_count\": {\n \"gte\": 100,\n \"lte\": 200\n }\n }\n }\n}\n----\n// TEST[setup:library]\n\nWhich returns:\n\n[source,text]\n--------------------------------------------------\n author | name | page_count | release_date\n---------------+------------------------------------+---------------+------------------------\nDouglas Adams |The Hitchhiker's Guide to the Galaxy|180 |1979-10-12T00:00:00.000Z\n--------------------------------------------------\n// TESTRESPONSE[s/\\|/\\\\|/ s/\\+/\\\\+/]\n// TESTRESPONSE[non_json]\n\n[discrete]\n[[esql-rest-columnar]]\n=== Columnar results\n\nBy default, {esql} returns results as rows. For example, `FROM` returns each\nindividual document as one row. For the `json`, `yaml`, `cbor` and `smile`\n<>, {esql} can return the results in a columnar\nfashion where one row represents all the values of a certain column in the\nresults.\n\n[source,console]\n----\nPOST /_query?format=json\n{\n \"query\": \"\"\"\n FROM library\n | KEEP author, name, page_count, release_date\n | SORT page_count DESC\n | LIMIT 5\n \"\"\",\n \"columnar\": true\n}\n----\n// TEST[setup:library]\n\nWhich returns:\n\n[source,console-result]\n----\n{\n \"columns\": [\n {\"name\": \"author\", \"type\": \"text\"},\n {\"name\": \"name\", \"type\": \"text\"},\n {\"name\": \"page_count\", \"type\": \"integer\"},\n {\"name\": \"release_date\", \"type\": \"date\"}\n ],\n \"values\": [\n [\"Peter F. Hamilton\", \"Vernor Vinge\", \"Frank Herbert\", \"Alastair Reynolds\", \"James S.A. Corey\"],\n [\"Pandora's Star\", \"A Fire Upon the Deep\", \"Dune\", \"Revelation Space\", \"Leviathan Wakes\"],\n [768, 613, 604, 585, 561],\n [\"2004-03-02T00:00:00.000Z\", \"1992-06-01T00:00:00.000Z\", \"1965-06-01T00:00:00.000Z\", \"2000-03-15T00:00:00.000Z\", \"2011-06-02T00:00:00.000Z\"]\n ]\n}\n----\n\n[discrete]\n[[esql-rest-params]]\n=== Passing parameters to a query\n\nValues, for example for a condition, can be passed to a query \"inline\", by\nintegrating the value in the query string itself:\n\n[source,console]\n----\nPOST /_query\n{\n \"query\": \"\"\"\n FROM library\n | EVAL year = DATE_EXTRACT(\"year\", release_date)\n | WHERE page_count > 300 AND author == \"Frank Herbert\"\n | STATS count = COUNT(*) by year\n | WHERE count > 0\n | LIMIT 5\n \"\"\"\n}\n----\n// TEST[setup:library]\n\nTo avoid any attempts of hacking or code injection, extract the values in a\nseparate list of parameters. Use question mark placeholders (`?`) in the query\nstring for each of the parameters:\n\n[source,console]\n----\nPOST /_query\n{\n \"query\": \"\"\"\n FROM library\n | EVAL year = DATE_EXTRACT(\"year\", release_date)\n | WHERE page_count > ? AND author == ?\n | STATS count = COUNT(*) by year\n | WHERE count > ?\n | LIMIT 5\n \"\"\",\n \"params\": [300, \"Frank Herbert\", 0]\n}\n----\n// TEST[setup:library]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "c6fc241d-8c9c-45d3-b9e8-14053eaa3147",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/esql_syntax.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "functions": 0.59687996,
+ "references": 0.44018176,
+ "##d": 0.2732063,
+ "##i": 0.16205448,
+ "laps": 0.012941655,
+ "##frame": 0.36257,
+ "alphabet": 0.17472522,
+ "##l": 1.6631614,
+ "##q": 0.037805326,
+ "java": 1.0534267,
+ "##v": 0.5330275,
+ "notation": 0.24281217,
+ "jan": 0.14623658,
+ "understanding": 0.10739547,
+ "api": 0.09940812,
+ "height": 1.3654176,
+ "tex": 0.0590533,
+ "documentation": 0.087865576,
+ "league": 0.059968054,
+ "optional": 0.7119094,
+ "+": 1.1521437,
+ "analysis": 0.14350544,
+ "processor": 1.0167019,
+ "-": 0.27278802,
+ "an": 0.06273148,
+ "mill": 0.89945936,
+ "/": 0.1278385,
+ "processing": 1.6530864,
+ "<": 0.1383309,
+ "##pa": 0.13454303,
+ "miscellaneous": 0.323637,
+ "##bre": 1.2620441,
+ "bp": 0.0029193424,
+ "literal": 1.0415509,
+ "example": 0.19015497,
+ "result": 0.57366323,
+ "characters": 0.3633698,
+ "coding": 0.038361885,
+ "search": 0.1142332,
+ "si": 0.19448867,
+ "where": 0.05058675,
+ "[": 0.29413936,
+ "fred": 0.165745,
+ "workers": 0.96658564,
+ "_": 0.787069,
+ "c": 1.1577257,
+ "expression": 0.49548945,
+ "column": 0.30934817,
+ "staff": 0.14102101,
+ "procedure": 0.082134165,
+ "people": 0.31920597,
+ "cp": 0.09876476,
+ "##able": 0.07803725,
+ "single": 0.720733,
+ "series": 0.078246504,
+ "days": 0.4682561,
+ "timeline": 0.032285873,
+ "{": 0.382788,
+ "|": 0.6798792,
+ "operation": 0.3738561,
+ "da": 0.3319134,
+ "chart": 0.13215624,
+ "}": 0.10291655,
+ "supported": 0.6746,
+ "ratio": 0.30680114,
+ "calculation": 0.18177328,
+ "instructions": 0.035661686,
+ "numbers": 0.22299697,
+ "anne": 0.69101053,
+ "language": 0.37760124,
+ "source": 1.0111963,
+ "accounting": 0.11028284,
+ "quest": 0.0067779864,
+ "operator": 0.76906043,
+ "ata": 0.030167945,
+ "##ab": 1.0002171,
+ "apache": 0.5421787,
+ "tall": 0.508247,
+ "pan": 0.74251616,
+ "commands": 1.0600541,
+ "ed": 0.54493904,
+ "par": 0.26057073,
+ "peoples": 0.122581095,
+ "##se": 0.0026922906,
+ "eh": 0.07350998,
+ "oracle": 0.073335186,
+ "query": 1.4119871,
+ "batch": 0.284344,
+ "list": 0.0122656105,
+ "discrete": 1.5359976,
+ "colleagues": 0.08868639,
+ "final": 0.7376105,
+ "employees": 1.3265641,
+ "decimal": 0.13400675,
+ "support": 0.17876971,
+ "que": 0.78191745,
+ "string": 0.11499517,
+ "title": 0.58883077,
+ "interface": 0.4904148,
+ "representation": 0.013169686,
+ "sid": 0.532029,
+ "compiled": 0.0031855574,
+ "rate": 0.133966,
+ "lines": 0.2223118,
+ "##con": 0.13344789,
+ "class": 0.64982593,
+ "pipes": 0.5515309,
+ "overview": 0.4156317,
+ "hours": 0.8638325,
+ "length": 0.40810773,
+ "separated": 0.36059144,
+ "##time": 0.6830205,
+ "management": 0.20872478,
+ "colon": 0.11112174,
+ "syntax": 1.7337582,
+ "comment": 0.75830233,
+ "time": 0.7340331,
+ "pub": 0.26037687,
+ "base": 0.3955567,
+ "software": 0.21656948,
+ "criteria": 0.11987014,
+ "pun": 0.36069417,
+ "gage": 0.16309081,
+ "arithmetic": 0.2013107,
+ "processors": 0.39569026,
+ "during": 0.11471492,
+ "program": 0.022164835,
+ "number": 0.48909876,
+ "seconds": 0.78452945,
+ "tables": 0.16373396,
+ "peg": 0.4929416,
+ "block": 0.6942135,
+ "jerry": 0.6207675,
+ "text": 0.2711114,
+ "enter": 0.10304485,
+ "write": 0.3943362,
+ "algorithm": 0.43928787,
+ "order": 0.23633794,
+ "period": 0.26116565,
+ "gene": 0.2698579,
+ "double": 0.7694926,
+ "index": 1.0698968,
+ "qualifiers": 1.0246166,
+ "dates": 0.23666033,
+ "script": 0.5029674,
+ "qualifier": 1.0870076,
+ "binary": 0.11979982,
+ "interval": 0.98640263,
+ "style": 0.62933904,
+ "math": 0.65277475,
+ "server": 0.02138462,
+ "log": 0.034450576,
+ "sequences": 0.243902,
+ "distribution": 0.010421264,
+ "computer": 0.24126807,
+ "file": 0.47267818,
+ "composed": 0.8419754,
+ "operators": 0.8742895,
+ "writing": 0.23510848,
+ "periods": 0.38581654,
+ "table": 0.9360908,
+ "editor": 0.42173132,
+ "question": 0.33777034,
+ "display": 0.2495423,
+ "excel": 0.47907916,
+ "machine": 0.16487278,
+ "report": 0.0060357917,
+ "cod": 0.6602124,
+ "php": 0.05696221,
+ "shaw": 0.14416194,
+ "span": 0.3817,
+ "date": 0.4371514,
+ "checkpoint": 0.07839895,
+ "esq": 2.0857258,
+ "data": 0.3109195,
+ "integer": 0.08539731,
+ "employee": 1.2330058,
+ "blog": 0.10623555,
+ "second": 0.1701372,
+ "reference": 1.2524565,
+ "continuous": 0.8703143,
+ "function": 0.74601436,
+ "pipe": 1.2855332,
+ "html": 0.39818823,
+ "lap": 0.2569802,
+ "expressed": 0.683796,
+ "buffer": 0.19421248,
+ "day": 0.48443723,
+ "combination": 0.3577435,
+ "read": 0.23817888,
+ "level": 0.16406758,
+ "minutes": 0.418527,
+ "format": 0.4789695,
+ "finished": 0.3529098,
+ "interrupted": 0.073627606,
+ "plus": 0.28275412,
+ "tutor": 0.103545204,
+ "produced": 0.032667153,
+ "jamie": 0.4302907,
+ "sequence": 0.31003666,
+ "qualification": 0.20473498,
+ "core": 0.100657806,
+ "intervals": 1.194203,
+ "unit": 0.15740466,
+ "basic": 1.3845624,
+ "altitude": 0.023532389,
+ "##pan": 1.5776778,
+ "code": 0.59393543,
+ "line": 0.78538615,
+ "cad": 0.6306311,
+ "sql": 0.8270938,
+ "times": 1.1560811,
+ "database": 0.5637734,
+ "##2": 0.19959478,
+ "operations": 0.10419731,
+ "hour": 0.73292136,
+ "structural": 0.22874914,
+ "lang": 0.037755966,
+ "elevation": 0.050082307,
+ "execution": 0.28283823,
+ "process": 0.832604,
+ "comments": 1.0888239,
+ "##ise": 0.8359482,
+ "followed": 0.3437225,
+ "command": 1.2942699,
+ "minute": 0.8040934,
+ "processed": 0.6322704,
+ "pa": 0.035344604,
+ "heights": 0.7206801,
+ "serial": 0.36264142,
+ "slash": 0.97257423
+ },
+ "is_truncated": true,
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-syntax]]\n=== {esql} syntax reference\n\n++++\nSyntax reference\n++++\n\n[discrete]\n[[esql-basic-syntax]]\n=== Basic syntax\n\nAn {esql} query is composed of a <> followed\nby an optional series of <>,\nseparated by a pipe character: `|`. For example:\n\n[source,esql]\n----\nsource-command\n| processing-command1\n| processing-command2\n----\n\nThe result of a query is the table produced by the final processing command.\n\nFor an overview of all supported commands, functions, and operators, refer to <> and <>.\n\n[NOTE]\n====\nFor readability, this documentation puts each processing command on a new\nline. However, you can write an {esql} query as a single line. The following\nquery is identical to the previous one:\n\n[source,esql]\n----\nsource-command | processing-command1 | processing-command2\n----\n====\n\n[discrete]\n[[esql-comments]]\n==== Comments\n{esql} uses C++ style comments:\n\n* double slash `//` for single line comments\n* `/*` and `*/` for block comments\n\n[source,esql]\n----\n// Query the employees index\nFROM employees\n| WHERE height > 2\n----\n\n[source,esql]\n----\nFROM /* Query the employees index */ employees\n| WHERE height > 2\n----\n\n[source,esql]\n----\nFROM employees\n/* Query the\n * employees\n * index */\n| WHERE height > 2\n----\n\n[discrete]\n[[esql-timespan-literals]]\n==== Timespan literals\n\nDatetime intervals and timespans can be expressed using timespan literals.\nTimespan literals are a combination of a number and a qualifier. These\nqualifiers are supported:\n\n* `millisecond`/`milliseconds`\n* `second`/`seconds`\n* `minute`/`minutes`\n* `hour`/`hours`\n* `day`/`days`\n* `week`/`weeks`\n* `month`/`months`\n* `year`/`years`\n\nTimespan literals are not whitespace sensitive. These expressions are all valid:\n\n* `1day`\n* `1 day`\n* `1 day`\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "fa94535f-4f67-4c59-899c-c54e4ef498c7",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/abs.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.06981373,
+ "##c": 0.45292443,
+ "functions": 0.8209781,
+ "##d": 0.09042872,
+ "maintain": 0.16320078,
+ "##g": 1.094139,
+ "alphabet": 0.3110884,
+ "##l": 1.4256058,
+ "elmer": 0.51948816,
+ "bar": 0.32261005,
+ "character": 0.14963989,
+ "java": 0.9099939,
+ "len": 0.36437795,
+ "jan": 0.19980489,
+ "notation": 0.16314295,
+ "calculate": 0.38682786,
+ "height": 1.4058437,
+ "ab": 0.43841624,
+ "tex": 0.31709173,
+ "profile": 0.14433262,
+ "'": 0.03334846,
+ "(": 0.18273695,
+ "analysis": 0.15894493,
+ "-": 0.04426721,
+ "0": 0.5951131,
+ "as": 0.6951166,
+ "size": 0.07673268,
+ "functional": 0.064570874,
+ "document": 0.23767643,
+ "##ler": 0.22934197,
+ "scan": 0.024403306,
+ "mid": 0.077047944,
+ "matrix": 0.04773848,
+ "remember": 0.18009806,
+ "characters": 0.21927647,
+ "encryption": 0.064987965,
+ "integral": 0.024847608,
+ "vector": 0.46507916,
+ "[": 0.5527715,
+ "fred": 0.2866695,
+ "embedded": 1.4848348,
+ "graphic": 0.82568806,
+ "workers": 0.61346,
+ "morris": 0.43536958,
+ "]": 0.24444884,
+ "_": 0.9827833,
+ "sami": 0.15920512,
+ "aba": 0.9304727,
+ "chip": 0.46434736,
+ "sv": 1.2145237,
+ "abc": 0.4124957,
+ "address": 0.036897756,
+ "expression": 0.008798285,
+ "keeping": 0.33917284,
+ "column": 0.2891723,
+ "staff": 0.28785554,
+ "p": 0.014876266,
+ "abs": 2.4193494,
+ "##ino": 0.14876963,
+ "absolute": 1.9127171,
+ "returned": 0.46058714,
+ "chart": 0.21160337,
+ "supported": 1.0688508,
+ "font": 0.7663381,
+ "ratio": 0.1989945,
+ "ass": 0.5242092,
+ "calculation": 0.5001631,
+ "symbol": 0.32028884,
+ "ace": 0.0042587304,
+ "iso": 0.48885575,
+ "thickness": 0.022886537,
+ "anne": 0.5557386,
+ "accounting": 0.4583206,
+ "source": 0.18489163,
+ "ata": 0.46263903,
+ "compute": 0.34408516,
+ "apache": 0.24738453,
+ "tall": 0.6425905,
+ "ed": 0.5247466,
+ "image": 0.8358157,
+ "pat": 0.115752935,
+ "last": 0.47715056,
+ "list": 0.13576958,
+ "##ca": 0.39625564,
+ "discrete": 1.9048522,
+ "opt": 1.6348748,
+ "colleagues": 0.2879679,
+ "name": 0.11273321,
+ "employees": 1.2469394,
+ "decimal": 0.48357308,
+ "fields": 0.06111413,
+ "support": 0.72404855,
+ "opted": 0.61167127,
+ "formats": 0.1926679,
+ "memory": 0.13038044,
+ "blank": 0.0040816106,
+ "string": 0.42742673,
+ "provided": 0.044204026,
+ "dominic": 0.2202925,
+ "inventory": 0.57913554,
+ "interface": 0.4489002,
+ "sid": 0.8044618,
+ "apple": 0.1694741,
+ "plot": 0.23263085,
+ "##ci": 1.4223099,
+ "class": 0.38091785,
+ "mask": 0.31045413,
+ "cipher": 0.29719478,
+ "types": 1.2651923,
+ "center": 1.0514597,
+ "length": 0.1151419,
+ "syntax": 0.49772212,
+ "pub": 0.074317105,
+ "software": 0.6249063,
+ "gage": 0.2903272,
+ "bio": 0.22350684,
+ "variants": 0.099793784,
+ "type": 1.0093498,
+ "signatures": 0.70816225,
+ "compatible": 0.29988745,
+ "peg": 0.6583356,
+ "text": 1.2134383,
+ "jerry": 0.097322166,
+ "enter": 0.029371725,
+ "algorithm": 0.4404527,
+ "images": 0.13311526,
+ "gene": 0.5328164,
+ "index": 0.60994667,
+ "signed": 0.52466494,
+ "script": 0.32928538,
+ "suspended": 0.19954655,
+ "certification": 0.26333514,
+ "interval": 9.626284E-4,
+ "math": 0.5792238,
+ "card": 0.013381903,
+ "template": 0.37215304,
+ "server": 0.1138819,
+ "flag": 0.22891292,
+ "signature": 1.6244956,
+ "log": 0.64331436,
+ "jp": 0.23586631,
+ "save": 0.452818,
+ "pattern": 0.2045507,
+ "retain": 0.0891966,
+ "exercise": 0.22035293,
+ "mac": 0.22910434,
+ "computer": 0.2908916,
+ "file": 0.66791576,
+ "tom": 0.022895277,
+ "surname": 0.12248481,
+ "table": 0.24120681,
+ "editor": 0.49650288,
+ "mat": 0.31934094,
+ "include": 0.2756818,
+ "display": 0.43054232,
+ "##id": 0.591447,
+ "excel": 0.39885348,
+ "names": 0.23882651,
+ "cod": 0.34326437,
+ "li": 0.07288122,
+ "return": 0.6449106,
+ "board": 0.069008194,
+ "dimensions": 0.2595416,
+ "checkpoint": 0.2188695,
+ "esq": 1.9986902,
+ "data": 0.56614995,
+ "sign": 0.6648522,
+ "recognition": 0.013347557,
+ "integer": 0.11201599,
+ "employee": 1.2376784,
+ "forensic": 0.12478408,
+ "protocol": 0.08957205,
+ "tab": 0.21596366,
+ "find": 0.13034989,
+ "function": 1.0279435,
+ "continuous": 0.8502162,
+ "logo": 0.23956229,
+ "html": 0.30225638,
+ "lap": 0.22834954,
+ "buffer": 0.17806074,
+ "notebook": 0.3585366,
+ "initials": 0.22050689,
+ "format": 0.4578607,
+ "##ido": 1.4990829,
+ "archive": 0.26099,
+ "sort": 0.13281229,
+ "core": 0.5806565,
+ "sequence": 0.29949415,
+ "disk": 0.09930925,
+ "keep": 0.7397269,
+ "retrieve": 0.2736475,
+ "code": 0.23219763,
+ "differentiation": 0.20615996,
+ "legacy": 0.11867867,
+ "student": 0.10702622,
+ "cad": 0.81215745,
+ "values": 0.4173006,
+ "insert": 0.017002532,
+ "##icia": 0.008550581,
+ "storage": 0.12467759,
+ "error": 0.24946177,
+ "percent": 0.32642287,
+ "sql": 0.1756381,
+ "eva": 1.6706853,
+ "database": 0.5565964,
+ "para": 0.085529305,
+ "##lib": 0.3390738,
+ "value": 1.1414505,
+ "__": 0.062681764,
+ "keyboard": 0.671731,
+ "sap": 0.24762736,
+ "equation": 0.0208497,
+ "control": 0.12912212,
+ "command": 0.11145503,
+ "inline": 1.633778,
+ "serial": 0.61569166,
+ "heights": 0.5960802,
+ "inherited": 0.27839568
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-abs]]\n=== `ABS`\n[.text-center]\nimage::esql/functions/signature/abs.svg[Embedded,opts=inline]\n\nReturns the absolute value.\n\n[source,esql]\n----\nFROM employees\n| KEEP first_name, last_name, height\n| EVAL abs_height = ABS(0.0 - height)\n----\n\nSupported types:\n\ninclude::types/abs.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "5e0d5684-e59e-49e8-b74b-48062528b290",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/acos.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 0.31193724,
+ "functions": 0.76126176,
+ "##d": 0.4514081,
+ "##dian": 1.0662732,
+ "##g": 0.6273214,
+ "styled": 0.81312823,
+ "alphabet": 0.11583469,
+ "##l": 1.1236811,
+ "##n": 0.20200182,
+ "##o": 0.9718795,
+ "java": 0.7978387,
+ "##s": 0.12893614,
+ "styling": 0.24703047,
+ "##v": 0.8446945,
+ "notation": 0.2441396,
+ "merge": 1.1781175,
+ "ac": 1.795267,
+ "%": 0.12356494,
+ "tex": 0.18221003,
+ "'": 0.21697153,
+ "*": 0.42591855,
+ "circular": 0.2104873,
+ "analysis": 0.16419141,
+ "ra": 0.9636987,
+ "/": 0.034712672,
+ "tags": 0.014566623,
+ "ar": 0.34017006,
+ "as": 0.5233646,
+ "circle": 0.2864025,
+ "algebra": 0.0871693,
+ "example": 0.40646937,
+ "result": 0.57525396,
+ "arc": 1.6523414,
+ "##os": 1.7560419,
+ "si": 0.40001345,
+ "vector": 0.42491892,
+ "wikipedia": 0.82290673,
+ "[": 0.73282623,
+ "fred": 0.18615358,
+ "embedded": 1.220259,
+ "graphic": 0.5939952,
+ "_": 0.77333033,
+ "sep": 0.36333728,
+ "chip": 0.053691555,
+ "expression": 1.0175166,
+ "sv": 0.8465431,
+ "c": 0.11929505,
+ "d": 0.0107513,
+ "column": 0.16590418,
+ "coordinates": 0.0049537304,
+ "n": 1.5979016,
+ "cs": 0.99527514,
+ "##ino": 0.15199673,
+ "z": 0.066780396,
+ "describe": 0.5195484,
+ "returned": 0.547064,
+ "|": 0.2341541,
+ "chart": 0.5350472,
+ "da": 0.04017218,
+ "}": 0.022204127,
+ "##ine": 1.2127082,
+ "supported": 0.7881965,
+ "font": 0.18347299,
+ "ratio": 0.05925904,
+ "calculation": 0.35028866,
+ "ass": 0.15610975,
+ "symbol": 0.31531018,
+ "ace": 0.23731375,
+ "dj": 0.07668797,
+ "anne": 0.49881986,
+ "language": 0.009442077,
+ "source": 0.4500522,
+ "specifications": 0.29191932,
+ "ds": 0.8560755,
+ "apache": 0.38175744,
+ "ed": 0.6459996,
+ "image": 0.6835454,
+ "degree": 0.13517222,
+ "sha": 0.037288997,
+ "##ca": 0.26444703,
+ "discrete": 1.8466843,
+ "opt": 1.2461482,
+ "geometric": 0.5626652,
+ "decimal": 0.26894888,
+ "fields": 0.1506706,
+ "parameters": 1.1354567,
+ "support": 0.46751338,
+ "coin": 0.023071775,
+ "##ometric": 1.0329232,
+ "formats": 0.14627334,
+ "blank": 0.043278158,
+ "description": 1.0350503,
+ "interface": 0.01802083,
+ "sid": 0.42471343,
+ "mono": 0.7818624,
+ "apple": 0.094420284,
+ "plot": 0.38915688,
+ "##ci": 1.2161783,
+ "shapes": 0.0073833214,
+ "##cos": 1.71189,
+ "definition": 0.0932022,
+ "##co": 0.8191314,
+ "class": 0.43976963,
+ "##com": 0.29615462,
+ "spanish": 0.058178544,
+ "types": 1.1151085,
+ "center": 0.519511,
+ "length": 0.111076616,
+ "specification": 0.18558845,
+ "syntax": 1.3368393,
+ "software": 0.33890215,
+ "gage": 0.50827295,
+ "program": 0.19316508,
+ "type": 0.8622352,
+ "signatures": 0.48785257,
+ "peg": 0.6838931,
+ "##metric": 0.096543044,
+ "##space": 1.0948256,
+ "nan": 0.17749481,
+ "text": 1.0179548,
+ "jerry": 0.06331205,
+ "algorithm": 0.45415008,
+ "images": 0.08002734,
+ "shape": 0.28540438,
+ "gene": 0.34922203,
+ "index": 0.5398787,
+ "signed": 0.46909657,
+ "##ines": 0.06359723,
+ "script": 0.37636015,
+ "analog": 0.12957482,
+ "style": 0.5797312,
+ "math": 0.9081086,
+ "flag": 0.17406905,
+ "signature": 1.3312309,
+ "pattern": 0.15553841,
+ "triangle": 0.26574242,
+ "mac": 0.05845867,
+ "##arat": 0.40346166,
+ "file": 0.36650664,
+ "composed": 0.07626402,
+ "angle": 1.4615793,
+ "map": 0.20759262,
+ "editor": 0.50512546,
+ "include": 0.26805592,
+ "mat": 0.20861922,
+ "display": 0.4133533,
+ "##id": 0.60797995,
+ "excel": 0.3161103,
+ "##meric": 0.93429106,
+ "cod": 0.08861886,
+ "return": 0.6121351,
+ "esq": 2.0308678,
+ "data": 0.06149893,
+ "precision": 0.14460087,
+ "sign": 0.18389025,
+ "float": 0.9208023,
+ "axis": 0.11959433,
+ "spec": 1.1241713,
+ "space": 0.2031019,
+ "function": 1.263053,
+ "continuous": 0.7902799,
+ "html": 0.38178602,
+ "lap": 0.1863319,
+ "expressed": 0.6415348,
+ "tag": 0.612131,
+ "floats": 0.65179276,
+ "format": 0.8418204,
+ "##ido": 1.3998747,
+ "tri": 0.97056174,
+ "core": 0.5213092,
+ "sequence": 0.06340895,
+ "unit": 0.18400282,
+ "null": 1.6450824,
+ "##ida": 0.06385348,
+ "header": 0.73510706,
+ "ni": 0.005496508,
+ "nm": 0.049427968,
+ "code": 0.36833084,
+ "boo": 0.09073893,
+ "angles": 0.3177377,
+ "cad": 0.8123036,
+ "nu": 0.56966484,
+ "gil": 0.19552039,
+ "error": 0.30003598,
+ "point": 0.13189214,
+ "numerical": 0.11356963,
+ "database": 0.106101006,
+ "para": 0.1251358,
+ "array": 0.051144965,
+ "floating": 0.88364035,
+ "parameter": 0.63404757,
+ "##gon": 1.1550298,
+ "define": 0.10505045,
+ "direction": 0.27904376,
+ "inverse": 1.4078819,
+ "keyboard": 0.08914186,
+ "os": 0.5408676,
+ "equation": 0.51712394,
+ "zoom": 0.008711902,
+ "inline": 1.0638114,
+ "pi": 1.4423284E-4
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-acos]]\n=== `ACOS`\n\n*Syntax*\n\n[.text-center]\nimage::esql/functions/signature/acos.svg[Embedded,opts=inline]\n\n*Parameters*\n\n`n`::\nNumeric expression. If `null`, the function returns `null`.\n\n*Description*\n\nReturns the {wikipedia}/Inverse_trigonometric_functions[arccosine] of `n` as an\nangle, expressed in radians.\n\n*Supported types*\n\ninclude::types/acos.asciidoc[]\n\n*Example*\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/floats.csv-spec[tag=acos]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/floats.csv-spec[tag=acos-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "e235c88b-848f-46e0-9f57-0d40101e2e61",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/aggregation_functions.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.49283993,
+ "##c": 0.5592742,
+ "functions": 0.9039522,
+ "##g": 1.3860734,
+ "gage": 0.4135058,
+ "arithmetic": 0.35646182,
+ "##l": 1.3667006,
+ "score": 0.05505088,
+ "java": 1.1151094,
+ "peg": 0.55054,
+ "stats": 0.88374305,
+ "##v": 0.4069176,
+ "composite": 0.31369677,
+ "jan": 0.13116743,
+ "rank": 0.31136742,
+ "jerry": 0.054817192,
+ "algorithm": 0.70025593,
+ "gene": 0.35489213,
+ "%": 0.18030712,
+ "ag": 1.6671201,
+ "index": 0.76859075,
+ "+": 0.94972974,
+ "analysis": 0.53431827,
+ "-": 0.05878256,
+ "script": 0.119254746,
+ "tags": 0.29470578,
+ "as": 0.31608433,
+ "av": 0.882308,
+ "integration": 0.066546984,
+ "math": 1.0302974,
+ "<": 0.399017,
+ "average": 0.36594567,
+ "statistical": 0.2032138,
+ "aim": 0.25647724,
+ "pattern": 0.1770545,
+ "monte": 0.16379377,
+ "sum": 1.3288873,
+ "global": 0.23240988,
+ "##bre": 1.1828322,
+ "matrix": 0.33346012,
+ "distribution": 0.048553146,
+ "##bra": 0.039285783,
+ "min": 0.93397534,
+ "si": 0.1314916,
+ "by": 0.8191888,
+ "popularity": 0.101855,
+ "supports": 0.06921867,
+ "vector": 0.13404481,
+ "fred": 0.42154458,
+ "[": 0.15508576,
+ "table": 0.13357577,
+ "_": 0.71691346,
+ "include": 0.7764399,
+ "editor": 0.39441058,
+ "mat": 0.3870339,
+ "stat": 0.27710006,
+ "middle": 0.11221943,
+ "expression": 0.0037874884,
+ "max": 0.7701311,
+ "display": 0.1433688,
+ "column": 0.59023654,
+ "##id": 0.64539504,
+ "consolidation": 0.49165243,
+ "abbreviation": 0.1809573,
+ "sample": 0.40172824,
+ "excel": 0.52121055,
+ "framework": 0.078333035,
+ "absolute": 1.4317251,
+ "isa": 0.04814675,
+ "maximum": 0.68265074,
+ "cod": 0.25985825,
+ "chart": 0.34903687,
+ "}": 0.25566316,
+ "statistics": 0.8288975,
+ "supported": 0.1886828,
+ "ass": 0.42023018,
+ "checkpoint": 0.35059515,
+ "calculation": 0.35033786,
+ "esq": 1.8507072,
+ "dj": 0.105400905,
+ "anne": 0.8364982,
+ "integer": 0.4230522,
+ "ata": 0.16414367,
+ "##ab": 0.83279914,
+ "apache": 0.30860516,
+ "function": 1.1761205,
+ "segment": 0.25005034,
+ "html": 0.29139942,
+ "tag": 0.9036376,
+ "buffer": 0.25632688,
+ "ed": 0.41118476,
+ "par": 0.26762035,
+ "taylor": 0.3034921,
+ "chess": 0.46073237,
+ "including": 0.24373983,
+ "mp": 0.18218331,
+ "mr": 0.022802763,
+ "count": 1.0764248,
+ "eric": 0.0016060085,
+ "##ido": 1.2826791,
+ "sort": 0.26495266,
+ "list": 0.8359965,
+ "plus": 0.3310825,
+ "jamie": 0.41292846,
+ "core": 0.339487,
+ "sequence": 0.22004025,
+ "median": 1.4459078,
+ "lists": 0.5794164,
+ "##ida": 0.48888224,
+ "##ile": 1.4280031,
+ "decimal": 0.40024972,
+ "support": 0.5156029,
+ "cad": 0.39434785,
+ "distinct": 0.89954245,
+ "aggregation": 1.2658035,
+ "ensemble": 0.123513006,
+ "gil": 0.09703833,
+ "title": 0.21681511,
+ "interface": 0.12292662,
+ "amy": 0.034244854,
+ "percent": 1.0810467,
+ "aggregate": 2.0750005,
+ "sid": 0.50373787,
+ "sql": 0.28250888,
+ "compiled": 0.4482157,
+ "database": 0.3896809,
+ "total": 0.07290959,
+ "array": 0.3748618,
+ "plot": 0.15054694,
+ "##ci": 1.2521864,
+ "predict": 0.18317477,
+ "end": 0.27640796,
+ "david": 0.021387536,
+ "class": 0.46711662,
+ "equation": 0.20088416,
+ "multiple": 0.3759631,
+ "deviation": 1.2417421,
+ "alberta": 0.028460983,
+ "variance": 0.39307258,
+ "serial": 0.18812047,
+ "syntax": 0.27596653,
+ "pub": 0.6225675
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-agg-functions]]\n==== {esql} aggregate functions\n\n++++\nAggregate functions\n++++\n\nThe <> function supports these aggregate functions:\n\n// tag::agg_list[]\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n// end::agg_list[]\n\ninclude::avg.asciidoc[]\ninclude::count.asciidoc[]\ninclude::count-distinct.asciidoc[]\ninclude::max.asciidoc[]\ninclude::median.asciidoc[]\ninclude::median-absolute-deviation.asciidoc[]\ninclude::min.asciidoc[]\ninclude::percentile.asciidoc[]\ninclude::sum.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "c6815051-d0bc-44aa-919c-5500f8ff432d",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/asin.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.06818141,
+ "##c": 0.045769,
+ "functions": 0.98085546,
+ "##d": 0.68247133,
+ "software": 0.46154493,
+ "##e": 0.77323484,
+ "##g": 0.65367657,
+ "gage": 0.45701456,
+ "fin": 0.08756266,
+ "styled": 0.7673483,
+ "alphabet": 0.34127018,
+ "##frame": 0.12167935,
+ "during": 0.0070766755,
+ "##l": 1.441003,
+ "type": 0.8054765,
+ "signatures": 0.51929337,
+ "##p": 0.02690174,
+ "elmer": 0.12692742,
+ "compatible": 0.04459208,
+ "java": 0.63139725,
+ "peg": 0.59508437,
+ "styling": 0.22081904,
+ "##v": 0.9634315,
+ "notation": 0.3877085,
+ "merge": 1.2166111,
+ "##metric": 0.29504618,
+ "##ome": 0.15582019,
+ "##space": 0.8762586,
+ "text": 0.9845352,
+ "https": 0.40338218,
+ "jerry": 0.15016405,
+ "algorithm": 0.6148914,
+ "images": 0.42313355,
+ "shape": 0.22607028,
+ "gene": 0.42832127,
+ "%": 0.12911698,
+ "index": 0.54507023,
+ "signed": 0.53201896,
+ "opposite": 0.39141798,
+ "analysis": 0.22188859,
+ "script": 0.29952314,
+ "tags": 0.11108749,
+ "/": 0.0018252156,
+ "analog": 0.25107563,
+ "as": 1.252361,
+ "science": 0.09391936,
+ "domain": 0.058831904,
+ "integration": 0.271365,
+ "unicode": 0.05725641,
+ "style": 0.46040457,
+ "math": 0.99960154,
+ "jude": 0.034398746,
+ "functional": 0.16931942,
+ "signature": 1.4689865,
+ "jp": 0.35663223,
+ "pattern": 0.19061103,
+ "algebra": 0.36989707,
+ "matrix": 0.31407583,
+ "distribution": 0.046533953,
+ "result": 0.60296434,
+ "##arat": 0.58889186,
+ "file": 0.6057167,
+ "arc": 0.33273083,
+ "composed": 0.18871123,
+ "web": 0.11426904,
+ "julia": 0.07344751,
+ "si": 0.38480592,
+ "integral": 0.009500766,
+ "vector": 0.50642097,
+ "[": 0.6199253,
+ "wikipedia": 0.60970485,
+ "fred": 0.41727188,
+ "embedded": 1.1576635,
+ "graphic": 0.63457,
+ "table": 0.037837353,
+ "_": 0.30673674,
+ "sep": 0.0773683,
+ "sami": 0.02317859,
+ "include": 0.64139205,
+ "editor": 0.3085972,
+ "mat": 0.011685966,
+ "website": 0.10985239,
+ "sv": 1.0452023,
+ "d": 0.0583496,
+ "display": 0.37219125,
+ "column": 0.24277785,
+ "spiral": 0.037076738,
+ "##id": 0.68096006,
+ "reverse": 0.6893027,
+ "sample": 0.030056784,
+ "cs": 1.005083,
+ "excel": 0.26038045,
+ "radar": 0.05014818,
+ "v": 0.09993198,
+ "|": 0.31745934,
+ "chart": 0.29301733,
+ "da": 0.0038985217,
+ "supported": 0.86763614,
+ "ratio": 0.358563,
+ "font": 0.34910297,
+ "mathematical": 0.103181414,
+ "ass": 0.17153248,
+ "calculation": 0.1311988,
+ "dd": 0.05115074,
+ "symbol": 0.22848861,
+ "esq": 2.0570705,
+ "dh": 0.3490515,
+ "data": 0.31896946,
+ "sign": 0.3509089,
+ "anne": 0.689284,
+ "source": 0.3185699,
+ "float": 1.0429772,
+ "specifications": 0.37029538,
+ "spec": 1.2597986,
+ "space": 0.30837706,
+ "ds": 0.95745283,
+ "ata": 0.09018191,
+ "apache": 0.0849339,
+ "##in": 1.6540809,
+ "function": 1.102133,
+ "continuous": 0.7993615,
+ "html": 0.5533773,
+ "lap": 0.14298129,
+ "tag": 0.6021916,
+ "inverted": 0.7947449,
+ "ed": 0.6943118,
+ "combine": 0.06676322,
+ "tan": 0.08006222,
+ "image": 0.89778596,
+ "floats": 0.78781074,
+ "including": 0.13149755,
+ "format": 0.8863368,
+ "##ido": 1.4776098,
+ "tri": 1.2237651,
+ "archive": 0.30526242,
+ "sha": 0.023192685,
+ "graph": 0.1757813,
+ "##ca": 0.113662,
+ "discrete": 1.842326,
+ "core": 0.45248443,
+ "jamie": 0.29176813,
+ "sequence": 0.13990268,
+ "opt": 1.0113456,
+ "geometric": 0.5797733,
+ "##ida": 0.10647156,
+ "header": 0.74990433,
+ "http": 0.28457317,
+ "fields": 0.09109661,
+ "support": 0.46111625,
+ "coin": 0.18504797,
+ "##ometric": 1.2698793,
+ "formats": 0.48841494,
+ "differentiation": 0.14502354,
+ "code": 0.011588048,
+ "cad": 0.80018157,
+ "provided": 0.08585658,
+ "reciprocal": 0.17149231,
+ "derivative": 0.006530847,
+ "gil": 0.39638758,
+ "video": 0.06480151,
+ "interface": 0.034918755,
+ "sid": 0.44438106,
+ "mono": 0.89996177,
+ "apple": 0.11351887,
+ "database": 0.33907762,
+ "para": 0.2747124,
+ "plot": 0.21907042,
+ "array": 0.09559323,
+ "##ci": 1.2368257,
+ "floating": 0.95927334,
+ "##gon": 1.4292008,
+ "sin": 1.3431114,
+ "satellite": 0.21667574,
+ "##lib": 0.12275867,
+ "class": 0.3848309,
+ "digital": 0.20833218,
+ "cipher": 0.07302086,
+ "inverse": 2.1306064,
+ "types": 1.1097991,
+ "equation": 0.6113804,
+ "center": 0.29119328,
+ "specification": 0.37991714,
+ "inline": 1.1460683,
+ "serial": 0.06527167,
+ "online": 0.12291502,
+ "formula": 0.06090911,
+ "pub": 0.34812608
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-asin]]\n=== `ASIN`\n[.text-center]\nimage::esql/functions/signature/asin.svg[Embedded,opts=inline]\n\nInverse https://en.wikipedia.org/wiki/Inverse_trigonometric_functions[sine] trigonometric function.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/floats.csv-spec[tag=asin]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/floats.csv-spec[tag=asin-result]\n|===\n\nSupported types:\n\ninclude::types/asin.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "024a3c81-fa0a-4051-897c-f76d949c7c79",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/atan.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.0054672244,
+ "##c": 0.098624684,
+ "functions": 0.8493749,
+ "##d": 0.5396399,
+ "##g": 0.5321162,
+ "fin": 0.07811101,
+ "styled": 0.60014206,
+ "alphabet": 0.41343158,
+ "##frame": 0.019533299,
+ "##l": 1.3501918,
+ "##n": 1.5461596,
+ "elmer": 0.14036432,
+ "java": 0.5709345,
+ "styling": 0.040977012,
+ "##v": 0.97687453,
+ "notation": 0.3900845,
+ "jan": 0.1120647,
+ "merge": 1.2542757,
+ "##ome": 0.18250139,
+ "%": 0.033532113,
+ "opposite": 0.3491117,
+ "analysis": 0.22932008,
+ "-": 0.030441344,
+ "tags": 0.0034374455,
+ "as": 0.38201475,
+ "##ns": 0.1271289,
+ "science": 0.024412496,
+ "algebra": 0.36149588,
+ "matrix": 0.26915932,
+ "result": 0.5163273,
+ "sd": 0.035615094,
+ "tangent": 1.9360441,
+ "arc": 0.3812066,
+ "si": 0.31661162,
+ "integral": 0.08544416,
+ "comet": 0.082723774,
+ "ari": 0.0047494457,
+ "vector": 0.5308191,
+ "[": 0.65712947,
+ "wikipedia": 0.6196833,
+ "fred": 0.3458999,
+ "embedded": 1.1182967,
+ "graphic": 0.64324707,
+ "]": 0.0110928975,
+ "_": 0.3273656,
+ "sep": 0.2295876,
+ "sami": 0.043286722,
+ "website": 0.08338181,
+ "sv": 1.0178734,
+ "column": 0.106384106,
+ "abbreviation": 0.24064684,
+ "ta": 0.23706323,
+ "sample": 0.07266752,
+ "asa": 0.022968208,
+ "cs": 0.9726938,
+ "diagram": 0.025378069,
+ "p": 0.0078378515,
+ "isa": 0.726521,
+ "v": 0.06595891,
+ "|": 0.17098606,
+ "chart": 0.36093783,
+ "}": 0.14764152,
+ "supported": 0.8246418,
+ "ratio": 0.31625754,
+ "font": 0.24626644,
+ "ass": 0.17630292,
+ "calculation": 0.07516393,
+ "symbol": 0.31979984,
+ "ace": 0.609281,
+ "dh": 0.39296338,
+ "anne": 0.7368564,
+ "source": 0.26683685,
+ "specifications": 0.46192223,
+ "ata": 2.226054,
+ "ds": 1.0046428,
+ "apache": 0.11773673,
+ "ed": 0.61785173,
+ "which": 0.019806465,
+ "image": 0.86616886,
+ "eric": 0.18934068,
+ "sha": 0.022738207,
+ "graph": 0.2295064,
+ "##ca": 0.100577384,
+ "discrete": 1.7966055,
+ "opt": 1.1678572,
+ "geometric": 0.5717948,
+ "http": 0.19612059,
+ "decimal": 0.09246355,
+ "fields": 0.06869105,
+ "support": 0.39884812,
+ "coin": 0.1741592,
+ "##ometric": 1.248999,
+ "formats": 0.3957576,
+ "provided": 0.06964629,
+ "derivative": 0.35115916,
+ "reciprocal": 0.19466914,
+ "video": 0.07583425,
+ "interface": 0.07679638,
+ "sid": 0.42748046,
+ "mono": 0.8524081,
+ "apple": 0.19392952,
+ "plot": 0.26756215,
+ "##ci": 1.2555143,
+ "sin": 0.12726158,
+ "class": 0.3982116,
+ "digital": 0.18534811,
+ "cipher": 0.017982662,
+ "types": 1.0375768,
+ "center": 0.06582744,
+ "specification": 0.4058404,
+ "formula": 0.081430145,
+ "pub": 0.07054241,
+ "fancy": 0.1214753,
+ "software": 0.42190036,
+ "gage": 0.53468996,
+ "type": 0.7898713,
+ "signatures": 0.612142,
+ "compatible": 0.025878862,
+ "peg": 0.5219677,
+ "##metric": 0.3353392,
+ "##space": 0.8450662,
+ "text": 0.955862,
+ "https": 0.37640008,
+ "algorithm": 0.63306224,
+ "images": 0.36734614,
+ "shape": 0.19581778,
+ "gene": 0.47217202,
+ "signed": 0.5028972,
+ "index": 0.46806186,
+ "script": 0.23993053,
+ "analog": 0.20718107,
+ "integration": 0.20468496,
+ "style": 0.4049468,
+ "math": 0.9772457,
+ "jude": 0.003166782,
+ "signature": 1.4934043,
+ "jp": 0.28527713,
+ "pattern": 0.115166865,
+ "distribution": 0.052757356,
+ "##arat": 0.59580725,
+ "file": 0.56742185,
+ "composed": 0.07646359,
+ "web": 0.08557702,
+ "angle": 0.13670976,
+ "map": 0.070706144,
+ "table": 0.028788479,
+ "include": 0.6632238,
+ "editor": 0.17362502,
+ "mat": 0.012898114,
+ "display": 0.2467101,
+ "##id": 0.546552,
+ "reverse": 0.41350254,
+ "excel": 0.1285605,
+ "radar": 0.1710143,
+ "coa": 0.17603955,
+ "esq": 1.9246038,
+ "data": 0.24769697,
+ "sign": 0.28140286,
+ "float": 1.0404824,
+ "axis": 0.16413051,
+ "lab": 0.013155686,
+ "spec": 1.2559853,
+ "space": 0.31686348,
+ "function": 1.0974528,
+ "continuous": 0.7309174,
+ "ala": 0.48858273,
+ "html": 0.45073202,
+ "lap": 0.043041818,
+ "tag": 0.5269565,
+ "inverted": 0.6715945,
+ "combine": 0.0379931,
+ "tan": 0.79783106,
+ "taylor": 0.2519522,
+ "floats": 0.8031807,
+ "including": 0.12991574,
+ "format": 0.81968457,
+ "##ido": 1.4603136,
+ "tri": 1.2534299,
+ "archive": 0.21982604,
+ "core": 0.4906875,
+ "sequence": 0.18616368,
+ "jamie": 0.085544296,
+ "##ida": 0.22433084,
+ "header": 0.66704327,
+ "code": 0.1121086,
+ "differentiation": 0.08222212,
+ "cad": 0.8063096,
+ "gil": 0.28752348,
+ "database": 0.26823545,
+ "para": 0.15427387,
+ "array": 0.12530376,
+ "floating": 0.9599024,
+ "and": 0.03333474,
+ "##gon": 1.4307768,
+ "alias": 0.17246704,
+ "##lib": 0.0969152,
+ "ang": 0.08326226,
+ "ann": 0.42157805,
+ "inverse": 2.0531728,
+ "equation": 0.6878069,
+ "inline": 1.2557572,
+ "serial": 0.016982257,
+ "online": 0.057867847
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-atan]]\n=== `ATAN`\n[.text-center]\nimage::esql/functions/signature/atan.svg[Embedded,opts=inline]\n\nInverse https://en.wikipedia.org/wiki/Inverse_trigonometric_functions[tangent] trigonometric function.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/floats.csv-spec[tag=atan]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/floats.csv-spec[tag=atan-result]\n|===\n\nSupported types:\n\ninclude::types/atan.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "88594089-519f-4e47-a142-38206467958c",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/atan2.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "plane": 0.99987245,
+ "cluster": 0.17780071,
+ "##c": 0.24457814,
+ "functions": 0.5705393,
+ "##d": 0.55083954,
+ "##g": 0.57741994,
+ "fin": 0.2154454,
+ "styled": 0.5977876,
+ "alphabet": 0.20428143,
+ "##l": 1.3597124,
+ "##n": 1.6036624,
+ "elmer": 0.101504706,
+ "path": 0.061236694,
+ "java": 0.3823119,
+ "styling": 0.0102888895,
+ "##v": 1.0827385,
+ "notation": 0.10325571,
+ "jan": 0.053357422,
+ "merge": 1.0916327,
+ "ray": 1.4230621,
+ "analysis": 0.034298997,
+ "tags": 0.085872,
+ "2": 0.2799224,
+ "as": 0.15211418,
+ "##ray": 0.10997617,
+ "angled": 0.19040471,
+ "##ns": 0.047091365,
+ "scanning": 0.0045377617,
+ "scan": 0.39268047,
+ "association": 0.09368666,
+ "matrix": 0.0010367024,
+ "matching": 0.1383392,
+ "result": 0.49056533,
+ "comet": 0.54419994,
+ "vector": 0.7613699,
+ "[": 0.8214761,
+ "wikipedia": 0.55408776,
+ "fred": 0.36766905,
+ "embedded": 1.2322837,
+ "graphic": 0.58459055,
+ "arm": 0.011216443,
+ "sep": 0.46180248,
+ "_": 0.24247342,
+ "chip": 0.40746725,
+ "sv": 0.8932542,
+ "d": 0.15356714,
+ "ta": 0.27360633,
+ "cs": 1.2305679,
+ "##esian": 1.1900724,
+ "diagram": 0.080242336,
+ "dye": 0.0036525696,
+ "isa": 0.8080387,
+ "v": 0.11958936,
+ "x": 1.1323178,
+ "y": 1.0015943,
+ "chart": 0.12132041,
+ "da": 0.0103749,
+ "supported": 0.5542578,
+ "font": 0.101082854,
+ "dd": 0.15738694,
+ "ass": 0.092927404,
+ "symbol": 0.17512342,
+ "ace": 0.63593334,
+ "dh": 0.43409795,
+ "anne": 0.72611487,
+ "specifications": 0.5534287,
+ "ata": 2.3775053,
+ "ds": 1.1798708,
+ "3d": 0.15534523,
+ "apache": 0.019322267,
+ "segment": 0.23241715,
+ "ed": 0.49993184,
+ "image": 0.85430795,
+ "coordinate": 0.008729865,
+ "imaging": 0.08810957,
+ "sha": 0.06275734,
+ "discrete": 1.8160481,
+ "opt": 1.2801992,
+ "geometric": 0.54226816,
+ "decimal": 0.13055077,
+ "support": 0.113851264,
+ "coin": 0.053116333,
+ "formats": 0.18055056,
+ "origin": 1.139299,
+ "video": 0.28523248,
+ "interface": 0.41839093,
+ "wave": 0.30388504,
+ "sid": 0.5990083,
+ "mono": 0.978772,
+ "laser": 0.42414933,
+ "plot": 0.30679798,
+ "##ci": 1.178151,
+ "class": 0.24948165,
+ "digital": 0.21424463,
+ "types": 0.9379364,
+ "center": 0.32295206,
+ "specification": 0.7543546,
+ "pub": 0.11559939,
+ "fancy": 0.04230241,
+ "software": 0.37370434,
+ "bin": 0.02569879,
+ "axes": 0.5083587,
+ "gage": 0.39369002,
+ "type": 0.6919953,
+ "cart": 1.3224343,
+ "signatures": 0.5107633,
+ "peg": 0.63653404,
+ "dna": 0.09704774,
+ "##space": 1.0717442,
+ "text": 0.9404525,
+ "jerry": 0.04377178,
+ "spatial": 0.0973758,
+ "between": 0.56442916,
+ "algorithm": 0.49634555,
+ "ii": 0.111176245,
+ "images": 0.3527503,
+ "gene": 0.6628929,
+ "signed": 0.42395166,
+ "index": 0.24969684,
+ "script": 0.10788123,
+ "analog": 0.17316636,
+ "binary": 0.20290028,
+ "style": 0.3385427,
+ "math": 0.6704721,
+ "jude": 0.096904494,
+ "bristol": 0.1922052,
+ "encoded": 1.4554395E-4,
+ "flag": 0.12624659,
+ "signature": 1.3640584,
+ "jp": 0.1923847,
+ "north": 0.07009506,
+ "pattern": 0.0698752,
+ "distribution": 0.009308156,
+ "mac": 0.18506798,
+ "##arat": 0.81619966,
+ "computer": 0.05504806,
+ "file": 0.60713494,
+ "tom": 0.16632298,
+ "julia": 0.22606686,
+ "physics": 0.14965098,
+ "angle": 1.4352491,
+ "camera": 0.5385024,
+ "map": 0.38795593,
+ "include": 0.33581507,
+ "editor": 0.20068307,
+ "display": 0.38856205,
+ "positive": 1.285356,
+ "##id": 0.54000866,
+ "radar": 0.49681416,
+ "coa": 0.096517384,
+ "rotor": 0.156682,
+ "checkpoint": 0.1326793,
+ "beam": 0.67279315,
+ "esq": 1.9768033,
+ "data": 0.09991644,
+ "float": 1.1946989,
+ "axis": 1.1237903,
+ "spec": 1.5813143,
+ "space": 0.4642899,
+ "function": 0.7271978,
+ "continuous": 0.6981734,
+ "ala": 0.6628504,
+ "html": 0.31285283,
+ "tag": 0.6919514,
+ "buffer": 0.078868486,
+ "floats": 0.9049323,
+ "format": 0.83896,
+ "##ido": 1.2945491,
+ "archive": 0.22665624,
+ "core": 0.6039943,
+ "sequence": 0.32061952,
+ "jamie": 0.08421892,
+ "disk": 0.107763186,
+ "ama": 0.011035717,
+ "##ida": 0.2096469,
+ "header": 0.778803,
+ "disc": 0.024807606,
+ "rays": 0.42789817,
+ "code": 0.013285329,
+ "angles": 0.31910956,
+ "cad": 0.75605065,
+ "quantum": 0.03116935,
+ "sonar": 0.55257976,
+ "gil": 0.025786158,
+ "point": 1.0212101,
+ "##1": 0.030507369,
+ "##2": 1.1831645,
+ "database": 0.16495346,
+ "para": 0.08224177,
+ "array": 0.49755788,
+ "floating": 1.1043653,
+ "alias": 0.0043403944,
+ "value": 0.24155442,
+ "direction": 0.48863405,
+ "equation": 0.280826,
+ "probe": 0.24168006,
+ "inline": 1.0697916,
+ "serial": 0.42694008
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-atan2]]\n=== `ATAN2`\n[.text-center]\nimage::esql/functions/signature/atan2.svg[Embedded,opts=inline]\n\nThe https://en.wikipedia.org/wiki/Atan2[angle] between the positive x-axis and the\nray from the origin to the point (x , y) in the Cartesian plane.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/floats.csv-spec[tag=atan2]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/floats.csv-spec[tag=atan2-result]\n|===\n\nSupported types:\n\ninclude::types/atan2.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "0035f50b-bd6b-4ce4-9929-cc06d136a9a7",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/auto_bucket.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "tub": 0.02967867,
+ "cluster": 0.48078066,
+ "##d": 0.6595618,
+ "year": 0.91052866,
+ "fin": 0.08363764,
+ "styled": 0.9231866,
+ "##frame": 0.058861237,
+ "##l": 1.3777227,
+ "java": 1.0998019,
+ "##s": 0.49979967,
+ "sizes": 0.58098215,
+ "styling": 0.54558295,
+ "dev": 0.2663328,
+ "stats": 0.8442981,
+ "pick": 0.4981674,
+ "##v": 0.92248696,
+ "notation": 0.07012362,
+ "merge": 1.4933367,
+ "rank": 0.52233887,
+ "api": 0.02550486,
+ "filtering": 0.4830473,
+ "databases": 0.1517155,
+ "%": 0.34510553,
+ "tex": 0.09479671,
+ "pool": 0.062443364,
+ "completed": 0.038718954,
+ "analysis": 0.37647176,
+ "-": 0.034131497,
+ "flood": 0.16063057,
+ "tags": 0.38629818,
+ "bucket": 2.1709878,
+ "size": 1.0306189,
+ "selection": 0.07449815,
+ "ax": 0.01681476,
+ "<": 0.4206686,
+ "20": 0.9359759,
+ "##hort": 0.18030572,
+ "appropriate": 0.4122718,
+ "sponge": 0.34820274,
+ "statistical": 0.27414036,
+ "weeks": 0.43062896,
+ "matrix": 0.2353317,
+ "virus": 0.118586875,
+ "long": 0.6338638,
+ "weekly": 0.4475508,
+ "example": 0.21876165,
+ "matching": 0.046874464,
+ "result": 0.58661824,
+ "into": 0.12771502,
+ "search": 0.007815141,
+ "##or": 0.39066452,
+ "by": 0.45110002,
+ "popularity": 0.28835896,
+ "targeted": 0.15742952,
+ "vector": 0.110438265,
+ "[": 0.37005135,
+ "fred": 0.3050619,
+ "mix": 0.020155499,
+ "_": 0.89643824,
+ "sep": 0.43765414,
+ "calendar": 0.1319074,
+ "column": 0.4992113,
+ "combining": 0.50559825,
+ "cs": 1.2663218,
+ "ask": 0.80944496,
+ "timeline": 0.40217173,
+ "combined": 0.61609334,
+ "corresponds": 0.5717364,
+ "chart": 0.49315223,
+ "da": 0.32604575,
+ "operation": 0.010478126,
+ "dd": 0.30175418,
+ "calculation": 0.21056728,
+ "ass": 0.082933694,
+ "dh": 0.42216986,
+ "numbers": 0.14181943,
+ "anne": 0.09506254,
+ "source": 0.49897763,
+ "accounting": 0.12738921,
+ "specifications": 0.39992213,
+ "ds": 1.0508181,
+ "apache": 0.3524361,
+ "##tology": 0.10072323,
+ "implement": 0.09058857,
+ "generate": 0.89050657,
+ "results": 0.062430035,
+ "ed": 0.3381156,
+ "##se": 0.008876625,
+ "chess": 0.4157198,
+ "batch": 0.13072735,
+ "list": 0.083155856,
+ "sha": 0.24660325,
+ "discrete": 1.8348225,
+ "month": 1.1318866,
+ "geometric": 1.1920219E-4,
+ "fields": 0.14129068,
+ "formats": 0.3807019,
+ "memory": 0.25504658,
+ "ranges": 0.047317993,
+ "asking": 0.21375532,
+ "provided": 0.45338336,
+ "##to": 1.1967374,
+ "inventory": 0.39126623,
+ "interface": 0.043016355,
+ "sid": 0.30079904,
+ "mono": 1.0488169,
+ "kin": 0.2500622,
+ "sorting": 0.0070209224,
+ "human": 1.1791615,
+ "class": 0.51866704,
+ "multiple": 0.55677456,
+ "start": 0.46978852,
+ "length": 0.27318877,
+ "specification": 0.43988734,
+ "filters": 0.41298997,
+ "target": 1.314133,
+ "##time": 1.1750171,
+ "management": 0.064908095,
+ "pyramid": 0.19216567,
+ "syntax": 0.58802783,
+ "time": 0.69156665,
+ "pub": 0.07229864,
+ "humans": 0.5112819,
+ "smaller": 0.02257447,
+ "select": 0.4338854,
+ "software": 0.018214697,
+ "criteria": 0.28998962,
+ "gage": 0.02469852,
+ "whole": 0.32829064,
+ "construct": 0.18847834,
+ "number": 0.5476847,
+ "peg": 0.6150447,
+ "##space": 1.5338669,
+ "jerry": 0.41268957,
+ "text": 0.043641806,
+ "flow": 0.21382089,
+ "algorithm": 0.94547975,
+ "period": 0.014459588,
+ "gene": 0.24511538,
+ "specify": 0.2278781,
+ "index": 0.736764,
+ "dates": 0.9643769,
+ "resulting": 0.59865755,
+ "script": 0.42174813,
+ "provide": 0.5655361,
+ "integration": 0.04643643,
+ "style": 0.69100434,
+ "math": 0.7065495,
+ "hash": 0.21271385,
+ "server": 0.17011115,
+ "columns": 0.30987453,
+ "pattern": 0.2550111,
+ "range": 0.8550439,
+ "quarterly": 0.17418273,
+ "capacity": 0.25997058,
+ "##arat": 0.6884549,
+ "##graphic": 0.009625925,
+ "file": 0.21503285,
+ "fall": 0.23656304,
+ "asked": 0.095058315,
+ "semi": 0.13210171,
+ "map": 0.26544407,
+ "table": 0.30311537,
+ "twenty": 0.177386,
+ "##gram": 1.484214,
+ "editor": 0.5508658,
+ "include": 0.460633,
+ "mat": 0.105139524,
+ "heading": 0.3644264,
+ "more": 0.4209042,
+ "consolidation": 0.1802896,
+ "filter": 1.1093034,
+ "excel": 0.6155925,
+ "cod": 0.14536995,
+ "complete": 0.7699973,
+ "return": 0.26181224,
+ "statistics": 0.73971844,
+ "dimensions": 0.15082705,
+ "date": 1.2676948,
+ "checkpoint": 0.4225387,
+ "small": 0.008263682,
+ "esq": 1.7066956,
+ "auto": 1.6972792,
+ "panda": 0.30173945,
+ "data": 0.65473783,
+ "friendly": 1.1576113,
+ "dice": 0.12709236,
+ "him": 0.034438826,
+ "spec": 1.4536945,
+ "space": 0.62027746,
+ "correspond": 0.17861867,
+ "his": 0.7835414,
+ "continuous": 0.7645857,
+ "create": 0.77486473,
+ "html": 0.4236038,
+ "tag": 0.7982809,
+ "buffer": 0.42472294,
+ "combine": 1.3684138,
+ "combination": 0.76798815,
+ "format": 1.1351813,
+ "archive": 0.3033138,
+ "sort": 0.506698,
+ "picking": 0.10048995,
+ "tutor": 0.2696431,
+ "most": 0.4055398,
+ "sequence": 0.16271137,
+ "outside": 0.9720747,
+ "daily": 0.14102174,
+ "monthly": 0.8036007,
+ "header": 0.99029607,
+ "mud": 0.05219314,
+ "##ada": 0.03269392,
+ "week": 1.0653111,
+ "differentiation": 0.1779406,
+ "bot": 0.2699127,
+ "blend": 0.2176315,
+ "values": 0.037674576,
+ "link": 0.13325572,
+ "generator": 0.088138275,
+ "storage": 0.2584884,
+ "gil": 0.050362557,
+ "percent": 0.123355694,
+ "sql": 0.4853195,
+ "network": 0.12938924,
+ "database": 0.6187298,
+ "targeting": 0.079005964,
+ "##zone": 0.03719206,
+ "tier": 0.46936426,
+ "array": 0.21481524,
+ "predict": 0.28061885,
+ "dated": 0.11347375,
+ "row": 1.1882896,
+ "##lib": 0.4180681,
+ "value": 0.70825243,
+ "automatic": 0.99991524,
+ "harold": 0.23921323,
+ "rows": 0.8602259,
+ "consecutive": 0.2790417,
+ "command": 0.1289528,
+ "100": 0.7830545,
+ "corresponding": 0.5972048,
+ "serial": 0.029975919,
+ "user": 0.27236432
+ },
+ "is_truncated": true,
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-auto_bucket]]\n=== `AUTO_BUCKET`\nCreates human-friendly buckets and returns a `datetime` value for each row that\ncorresponds to the resulting bucket the row falls into. Combine `AUTO_BUCKET`\nwith <> to create a date histogram.\n\nYou provide a target number of buckets, a start date, and an end date, and it\npicks an appropriate bucket size to generate the target number of buckets or\nfewer. For example, this asks for at most 20 buckets over a whole year, which\npicks monthly buckets:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/date.csv-spec[tag=auto_bucket_month]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/date.csv-spec[tag=auto_bucket_month-result]\n|===\n\nThe goal isn't to provide *exactly* the target number of buckets, it's to pick a\nrange that people are comfortable with that provides at most the target number of\nbuckets.\n\nIf you ask for more buckets then `AUTO_BUCKET` can pick a smaller range. For example,\nasking for at most 100 buckets in a year will get you week long buckets:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/date.csv-spec[tag=auto_bucket_week]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/date.csv-spec[tag=auto_bucket_week-result]\n|===\n\n`AUTO_BUCKET` does not filter any rows. It only uses the provided time range to\npick a good bucket size. For rows with a date outside of the range, it returns a\n`datetime` that corresponds to a bucket outside the range. Combine `AUTO_BUCKET`\nwith <> to filter rows.\n\nA more complete example might look like:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/date.csv-spec[tag=auto_bucket_in_agg]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/date.csv-spec[tag=auto_bucket_in_agg-result]\n|===\n\nNOTE: `AUTO_BUCKET` does not create buckets that don't match any documents. That's\nwhy the example above is missing `1985-03-01` and other dates.\n\n==== Numeric fields\n\n`auto_bucket` can also operate on numeric fields like this:\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/ints.csv-spec[tag=auto_bucket]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/ints.csv-spec[tag=auto_bucket-result]\n|===\n\nUnlike the example above where you are intentionally filtering on a date range,\nyou rarely want to filter on a numeric range. So you have find the `min` and `max`\nseparately. We don't yet have an easy way to do that automatically. Improvements\ncoming!\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "9ff75b96-4390-4369-ba31-7da7fbf78e00",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/avg.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.32020575,
+ "##d": 0.6293251,
+ "##g": 1.5068705,
+ "fin": 0.26976115,
+ "styled": 1.1589679,
+ "##frame": 0.12905653,
+ "alphabet": 0.04285168,
+ "##l": 1.3832101,
+ "score": 0.031308807,
+ "java": 0.4998199,
+ "##s": 0.20056856,
+ "styling": 0.7211363,
+ "dev": 0.24961029,
+ "len": 0.080184795,
+ "stats": 1.2623249,
+ "##v": 1.0713161,
+ "notation": 0.6366579,
+ "xml": 0.099300615,
+ "meaning": 0.07646083,
+ "merge": 1.7331572,
+ "record": 0.038183477,
+ "rank": 0.3516494,
+ "merging": 0.21408403,
+ "ae": 0.06034106,
+ "%": 0.89700055,
+ "ag": 1.6401588,
+ "'": 0.36604503,
+ "(": 0.025475923,
+ "pool": 0.0037651616,
+ ")": 0.010756371,
+ "analysis": 0.5175773,
+ "-": 0.15380277,
+ "tags": 0.5732985,
+ "/": 0.18142991,
+ "input": 0.9425101,
+ "as": 0.19620974,
+ "triple": 0.5692636,
+ "av": 1.7075205,
+ "difference": 0.026080733,
+ "=": 0.1297832,
+ "average": 1.5163031,
+ "statistical": 0.7608098,
+ "miscellaneous": 0.010404276,
+ "matrix": 0.03766057,
+ "two": 0.78222555,
+ "result": 1.0034717,
+ "sd": 0.07717265,
+ "dual": 0.43854466,
+ "si": 0.23176488,
+ "term": 0.038934417,
+ "[": 1.1932775,
+ "fred": 0.5470358,
+ "multiplication": 0.035752673,
+ "]": 0.87714684,
+ "graphic": 0.364538,
+ "_": 0.6083706,
+ "sep": 0.56738186,
+ "ss": 0.13448821,
+ "stat": 0.7447715,
+ "contain": 0.28942573,
+ "d": 0.2516384,
+ "column": 0.43754908,
+ "abbreviation": 0.60791487,
+ "sample": 0.09972398,
+ "cs": 1.363985,
+ "v": 0.0017359677,
+ "##uation": 0.31958762,
+ "|": 0.27745837,
+ "da": 0.47362098,
+ "}": 0.46643665,
+ "chart": 0.45920184,
+ "font": 0.1406034,
+ "ratio": 0.08390646,
+ "ass": 0.44406676,
+ "calculation": 0.31622365,
+ "dd": 0.099138476,
+ "symbol": 0.45417902,
+ "dh": 0.3519982,
+ "inputs": 0.23577948,
+ "anne": 0.28705177,
+ "source": 0.41277543,
+ "accounting": 0.4093669,
+ "specifications": 0.4952159,
+ "ds": 1.1056367,
+ "apache": 0.060273048,
+ "results": 0.44837362,
+ "ed": 0.6678009,
+ "par": 0.15084131,
+ "chess": 0.17293184,
+ "sha": 0.3125492,
+ "discrete": 2.0099132,
+ "measure": 0.16990377,
+ "coefficient": 0.097823545,
+ "fields": 1.1015326,
+ "decimal": 0.20799181,
+ "formats": 0.30310893,
+ "averages": 0.018279543,
+ "ava": 0.6873009,
+ "sid": 0.64781964,
+ "mono": 1.150797,
+ "rate": 0.017246278,
+ "averaged": 0.54889756,
+ "definition": 0.3236102,
+ "class": 0.17478757,
+ "digital": 0.08060829,
+ "types": 0.06639618,
+ "length": 0.16286008,
+ "multiple": 0.143454,
+ "specification": 0.6107016,
+ "syntax": 0.47110298,
+ "formula": 0.15209985,
+ "pub": 0.21788223,
+ "fancy": 0.09302854,
+ "mod": 0.06462406,
+ "averaging": 0.24841434,
+ "gage": 0.33852646,
+ "pun": 0.06838817,
+ "arithmetic": 0.33206883,
+ "during": 0.047357675,
+ "type": 0.5863997,
+ "peg": 0.48169452,
+ "##space": 1.1841648,
+ "nan": 0.19403242,
+ "text": 0.14566286,
+ "algorithm": 0.226701,
+ "still": 0.040628076,
+ "gene": 0.25284976,
+ "double": 1.637853,
+ "var": 0.18789685,
+ "index": 0.57769555,
+ "script": 0.21675867,
+ "field": 1.2834207,
+ "doubles": 0.9023996,
+ "style": 0.88562256,
+ "math": 0.5464643,
+ "aim": 0.059244096,
+ "pattern": 0.14354871,
+ "##arat": 0.8368543,
+ "file": 0.36739433,
+ "composed": 0.29357514,
+ "table": 0.17653395,
+ "include": 1.1061832,
+ "editor": 0.19530232,
+ "heading": 0.50619197,
+ "display": 0.3919448,
+ "excel": 0.73177886,
+ "##meric": 1.0965018,
+ "report": 0.41987702,
+ "organized": 0.34438977,
+ "cod": 0.20344259,
+ "statistics": 1.0664566,
+ "esq": 1.8729948,
+ "constant": 0.41910395,
+ "data": 0.69083005,
+ "dice": 0.34902698,
+ "integer": 0.04287486,
+ "spec": 1.6583666,
+ "space": 0.5669451,
+ "split": 0.165485,
+ "continuous": 0.9337261,
+ "html": 0.5660519,
+ "lap": 0.19975011,
+ "tag": 0.9568425,
+ "buffer": 0.019994026,
+ "combine": 0.5497621,
+ "always": 1.114884,
+ "including": 0.70884246,
+ "mp": 0.12543942,
+ "format": 1.1335752,
+ "includes": 0.18608807,
+ "sort": 0.25543246,
+ "core": 0.42929432,
+ "jamie": 0.18503787,
+ "sequence": 0.18310876,
+ "square": 0.16866292,
+ "unit": 0.439791,
+ "twice": 0.383255,
+ "header": 1.1958759,
+ "dash": 0.02971871,
+ "code": 0.26052588,
+ "nu": 0.62083054,
+ "cad": 0.24744178,
+ "gil": 0.193712,
+ "error": 0.41478455,
+ "amy": 0.102225624,
+ "percent": 0.44350845,
+ "sql": 0.17195816,
+ "numerical": 0.20171513,
+ "database": 0.22947817,
+ "array": 0.06288911,
+ "included": 0.40989226,
+ "value": 0.29771146,
+ "equation": 0.25318205,
+ "serial": 0.5824423,
+ "mean": 0.473326,
+ "category": 0.011109756,
+ "demographics": 0.21975724
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-agg-avg]]\n=== `AVG`\nThe average of a numeric field.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/stats.csv-spec[tag=avg]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/stats.csv-spec[tag=avg-result]\n|===\n\nThe result is always a `double` not matter the input type.\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "e8f55230-733a-4821-a06e-2a1d8c6343df",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/binary.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "smaller": 0.34312636,
+ "##d": 0.23465258,
+ "bin": 0.29123533,
+ "allowed": 0.22259256,
+ "comparative": 0.7499837,
+ "arithmetic": 0.774634,
+ "alphabet": 0.3122673,
+ "##l": 1.3605092,
+ "bit": 0.79208183,
+ "these": 0.048973,
+ "compatible": 0.096766636,
+ "java": 1.3041577,
+ "grammar": 0.52362853,
+ "peg": 0.2808989,
+ "notation": 0.63664025,
+ "else": 0.24580972,
+ "above": 0.09618796,
+ "rank": 0.12886341,
+ "nan": 0.20762913,
+ "text": 0.06979094,
+ "greater": 0.67046136,
+ "between": 0.02468852,
+ "algorithm": 0.6429413,
+ "!": 0.45704252,
+ "large": 0.5956622,
+ "'": 0.41819006,
+ "lower": 0.40794128,
+ "index": 0.061932094,
+ "*": 0.98271495,
+ "then": 0.045407716,
+ "quality": 0.20974074,
+ "inequality": 1.5979624,
+ "as": 0.086198285,
+ "size": 0.66152173,
+ "binary": 1.8420161,
+ "comparisons": 1.0693729,
+ "difference": 0.018828709,
+ "unicode": 0.011171293,
+ "math": 0.9718891,
+ "<": 0.5071511,
+ "=": 0.8984222,
+ "larger": 0.8404827,
+ "compare": 0.96320266,
+ "miscellaneous": 0.14704175,
+ "algebra": 0.2758955,
+ "matrix": 0.073542215,
+ "two": 0.12635984,
+ "valid": 0.032871004,
+ "coding": 0.06578893,
+ "operators": 1.441473,
+ "julia": 0.24782333,
+ "where": 0.07817308,
+ "[": 0.71620286,
+ "multiplication": 0.19116092,
+ "fred": 0.021779643,
+ "equality": 1.6484951,
+ "]": 0.488786,
+ "table": 0.019880092,
+ "_": 0.46473467,
+ "`": 0.4347224,
+ "editor": 0.26619816,
+ "expression": 0.42947775,
+ "within": 0.11239949,
+ "union": 0.22246899,
+ "excel": 0.29440716,
+ "##qual": 0.6142855,
+ "cod": 0.66948473,
+ "logic": 0.15725605,
+ "operation": 0.68104905,
+ "da": 0.3243496,
+ "supported": 1.0739965,
+ "ratio": 0.41517943,
+ "mathematical": 0.05219314,
+ "ass": 0.26990697,
+ "small": 0.11606102,
+ "symbol": 0.16042578,
+ "esq": 1.6772745,
+ "##au": 0.11200363,
+ "declare": 0.07354443,
+ "dice": 0.18140933,
+ "anne": 0.27334425,
+ "language": 0.25707564,
+ "integer": 0.2936423,
+ "operator": 1.4879122,
+ "reference": 0.11829249,
+ "assessment": 0.11674596,
+ "than": 1.022477,
+ "continuous": 0.81015384,
+ "intersection": 0.18441312,
+ "lap": 0.38579944,
+ "html": 0.026529748,
+ "ed": 0.5256457,
+ "combination": 0.36315483,
+ "par": 0.30518913,
+ "which": 0.27823314,
+ "comparison": 1.6310616,
+ "chess": 0.4706727,
+ "last": 0.18144561,
+ "level": 0.15858713,
+ "format": 0.37812468,
+ "eric": 0.06087905,
+ "less": 1.0862563,
+ "sort": 0.0037436655,
+ "sha": 0.13895357,
+ "decrease": 0.13862152,
+ "plus": 6.8986457E-4,
+ "discrete": 1.9612118,
+ "core": 0.075575635,
+ "geometric": 0.31804115,
+ "decimal": 0.49363318,
+ "support": 0.70705426,
+ "algebraic": 0.16312979,
+ "largest": 0.3536846,
+ "boo": 0.48251218,
+ "code": 0.33233657,
+ "student": 0.13541232,
+ "nu": 0.50983095,
+ "provided": 0.12519859,
+ "representation": 0.19555058,
+ "percent": 0.09423642,
+ "symbols": 0.18374176,
+ "sql": 0.42900243,
+ "negative": 0.2469841,
+ "synonym": 0.004425019,
+ "operations": 0.17733198,
+ "uneven": 0.07315416,
+ "gap": 0.033088077,
+ "paradox": 0.16370806,
+ "lang": 0.11548639,
+ "class": 0.709475,
+ "or": 0.44588152,
+ "quantity": 0.024507536,
+ "equation": 0.10886756,
+ "command": 0.12898465,
+ "equal": 1.2173755,
+ "syntax": 1.0082299
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-binary-operators]]\n=== Binary operators\n\nThese binary comparison operators are supported:\n\n* equality: `==`\n* inequality: `!=`\n* less than: `<`\n* less than or equal: `<=`\n* larger than: `>`\n* larger than or equal: `>=`"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "b0f638a7-5778-457d-84f5-b2c7f4a537a9",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/case.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.48647094,
+ "##d": 0.50245255,
+ "functions": 0.1500711,
+ "criteria": 0.8227865,
+ "gage": 0.21076302,
+ "styled": 1.0594791,
+ "texas": 0.38054457,
+ "program": 0.14665072,
+ "##l": 1.5563318,
+ "##n": 0.78563637,
+ "evaluation": 0.38597733,
+ "number": 0.40252244,
+ "java": 1.1017741,
+ "peg": 0.6474703,
+ "styling": 0.39081082,
+ "##t": 0.37033367,
+ "dev": 0.12287138,
+ "##v": 0.97934073,
+ "notation": 0.21934818,
+ "else": 0.0734556,
+ "xml": 0.054770585,
+ "merge": 1.608428,
+ "##x": 1.1758863,
+ "rank": 0.11578086,
+ "##space": 0.2615533,
+ "jerry": 0.35379767,
+ "text": 0.25329533,
+ "case": 1.7126112,
+ "flow": 0.2238899,
+ "algorithm": 0.5483245,
+ "gene": 0.1381539,
+ "%": 0.11037827,
+ "tex": 0.39157483,
+ "'": 0.2707761,
+ "(": 0.30132782,
+ "index": 0.6014756,
+ "*": 0.42263308,
+ "analysis": 0.48922506,
+ "matches": 0.7236237,
+ "-": 0.1750587,
+ "odd": 1.3126938,
+ "script": 0.30054975,
+ "accept": 0.5117565,
+ "doc": 0.7649359,
+ "style": 0.6845957,
+ "math": 0.6395083,
+ "conditions": 1.370268,
+ "evaluate": 1.0267373,
+ "status": 0.31716093,
+ "components": 0.24094415,
+ "document": 0.034939133,
+ "pattern": 0.23169737,
+ "monte": 0.029575557,
+ "matrix": 0.4040783,
+ "matching": 0.78816855,
+ "example": 0.5599691,
+ "result": 0.6591159,
+ "##arat": 0.2503583,
+ "valid": 0.091651484,
+ "default": 1.9167444,
+ "file": 0.47633687,
+ "composed": 0.09731643,
+ "julia": 0.037368927,
+ "si": 0.04012305,
+ "[": 0.8910594,
+ "fred": 0.36432877,
+ "]": 0.25964063,
+ "table": 0.17874199,
+ "_": 1.0411426,
+ "include": 0.5788472,
+ "editor": 0.45104778,
+ "mat": 0.16423844,
+ "c": 0.097355254,
+ "expression": 0.086167775,
+ "d": 0.1426784,
+ "display": 0.2582327,
+ "column": 0.26398197,
+ "j": 0.02664583,
+ "positive": 0.082278885,
+ "union": 0.056745753,
+ "sample": 0.05464068,
+ "cs": 1.1098552,
+ "excel": 0.8067115,
+ "v": 0.040966026,
+ "x": 0.515202,
+ "report": 0.061742377,
+ "cod": 0.33910242,
+ "describe": 0.8836767,
+ "logic": 0.09046651,
+ "returned": 0.91149545,
+ "da": 0.16549611,
+ "chart": 0.14952216,
+ "return": 0.8120144,
+ "first": 0.34516504,
+ "calculation": 0.21479562,
+ "ass": 0.17266226,
+ "checkpoint": 0.12956247,
+ "esq": 2.0036967,
+ "argument": 0.8737336,
+ "panda": 0.31224123,
+ "constant": 0.032007087,
+ "tx": 0.7060081,
+ "data": 0.41594493,
+ "conditional": 0.19677086,
+ "dj": 0.2140209,
+ "anne": 0.60631,
+ "language": 0.09584401,
+ "source": 1.2407155,
+ "integer": 0.024073323,
+ "descriptions": 0.38599873,
+ "specifications": 0.33838218,
+ "spec": 1.254414,
+ "pairs": 0.58060455,
+ "trial": 0.15439554,
+ "operator": 0.024231464,
+ "ds": 0.3196472,
+ "apache": 0.4663043,
+ "function": 1.3389055,
+ "continuous": 0.83881795,
+ "dax": 0.318967,
+ "lap": 0.24252374,
+ "html": 0.2344807,
+ "tag": 0.37380034,
+ "buffer": 0.0027040606,
+ "ed": 0.5777558,
+ "combination": 0.30403388,
+ "par": 0.18529314,
+ "which": 0.06503969,
+ "chess": 0.29834867,
+ "eh": 0.12244653,
+ "last": 0.64892185,
+ "test": 0.032225274,
+ "format": 0.69943875,
+ "eric": 0.0636875,
+ "archive": 0.033165116,
+ "sort": 0.21769585,
+ "sha": 0.03914181,
+ "discrete": 1.8930709,
+ "core": 0.21078281,
+ "sequence": 0.18255125,
+ "condition": 1.852249,
+ "true": 0.9782004,
+ "header": 0.52272654,
+ "parameters": 1.194987,
+ "no": 0.13622823,
+ "legacy": 0.5541201,
+ "code": 0.4195225,
+ "boo": 0.21522579,
+ "belong": 0.06263452,
+ "sources": 0.14011493,
+ "string": 0.06687618,
+ "student": 0.045574818,
+ "values": 0.85689014,
+ "nu": 0.17445281,
+ "cad": 0.110974945,
+ "description": 1.3631641,
+ "gil": 0.3319502,
+ "error": 0.31179368,
+ "non": 0.19448908,
+ "percent": 0.031973608,
+ "sql": 0.727943,
+ "sid": 0.57323027,
+ "mono": 0.1830781,
+ "##1": 0.22765216,
+ "database": 0.14303368,
+ "not": 0.057610173,
+ "array": 0.11857438,
+ "parameter": 0.6580425,
+ "define": 0.47633865,
+ "definition": 0.24359445,
+ "value": 1.3409799,
+ "class": 0.52067363,
+ "cases": 0.23341793,
+ "equation": 0.04146502,
+ "match": 1.0668087,
+ "false": 0.29540318,
+ "specification": 0.34208557,
+ "pair": 0.3768695,
+ "command": 0.03206897,
+ "corresponding": 1.225956,
+ "serial": 0.44535306,
+ "syntax": 1.5568588,
+ "formula": 0.19747208,
+ "arguments": 1.0309782,
+ "handling": 0.037059277,
+ "category": 0.22988841,
+ "pub": 0.08999715
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-case]]\n=== `CASE`\n\n*Syntax*\n\n[source,txt]\n----\nCASE(condition1, value1[, ..., conditionN, valueN][, default_value])\n----\n\n*Parameters*\n\n`conditionX`::\nA condition.\n\n`valueX`:: \nThe value that's returned when the corresponding condition is the first to\nevaluate to `true`.\n\n`default_value`::\nThe default value that's is returned when no condition matches.\n\n*Description*\n\nAccepts pairs of conditions and values. The function returns the value that\nbelongs to the first condition that evaluates to `true`.\n\nIf the number of arguments is odd, the last argument is the default value which\nis returned when no condition matches.\n\n*Example*\n\n[source,esql]\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=case]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=case-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "d83756bf-d43c-4ac9-a309-71853f1b0e51",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/ceil.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 0.6742071,
+ "functions": 0.82900643,
+ "##d": 0.4905671,
+ "##g": 0.93374145,
+ "styled": 0.8973191,
+ "##l": 1.3667495,
+ "##o": 0.27661735,
+ "##p": 0.28359637,
+ "elmer": 0.15604244,
+ "java": 1.3409383,
+ "##s": 0.061509352,
+ "styling": 0.41476694,
+ "dev": 0.17942439,
+ "pick": 1.0099279,
+ "##v": 1.1704328,
+ "notation": 0.3071713,
+ "xml": 0.035966475,
+ "merge": 1.4769853,
+ "near": 0.36950168,
+ "%": 0.7388729,
+ "tex": 0.37737814,
+ "picks": 0.5927041,
+ "tags": 0.23739076,
+ "/": 0.077114716,
+ "triple": 0.16048762,
+ "selection": 0.02800959,
+ "guess": 0.038134366,
+ "rounded": 0.34456605,
+ "miscellaneous": 0.17467035,
+ "two": 0.4994809,
+ "long": 1.1735908,
+ "result": 0.81316525,
+ "##op": 1.5430232,
+ "si": 0.022559669,
+ "vector": 0.50284314,
+ "where": 0.07068626,
+ "[": 0.78722745,
+ "fred": 0.4994807,
+ "embedded": 1.4378297,
+ "graphic": 0.7320106,
+ "close": 0.38881293,
+ "]": 0.11413505,
+ "sep": 0.2510378,
+ "_": 0.2287114,
+ "sami": 0.19450153,
+ "ce": 1.7591872,
+ "sv": 1.1505224,
+ "d": 0.16864802,
+ "column": 0.12652445,
+ "rounding": 1.0309207,
+ "j": 0.45422533,
+ "closer": 0.1874429,
+ "cs": 1.2578977,
+ "v": 0.2368549,
+ "|": 0.059731133,
+ "}": 0.12948675,
+ "rounds": 0.79625183,
+ "supported": 0.5554777,
+ "font": 0.41377136,
+ "calculation": 0.24339494,
+ "standard": 0.114692815,
+ "dd": 0.04198846,
+ "ass": 0.028550774,
+ "dh": 0.37155405,
+ "numbers": 0.43931162,
+ "anne": 0.55768573,
+ "language": 0.19347635,
+ "source": 0.15938526,
+ "nearest": 1.1929184,
+ "specifications": 0.5312997,
+ "ds": 0.9904293,
+ "ata": 0.26872185,
+ "apache": 0.50461453,
+ "up": 0.44392133,
+ "ed": 0.63505614,
+ "par": 0.117969304,
+ "image": 0.81334674,
+ "chess": 0.315578,
+ "eric": 0.30218437,
+ "batch": 0.09534575,
+ "sha": 0.21415052,
+ "discrete": 1.8840195,
+ "opt": 1.2235246,
+ "geometric": 0.36125112,
+ "##ile": 1.0827498,
+ "decimal": 0.43680242,
+ "support": 0.28463396,
+ "formats": 0.37968835,
+ "string": 0.09114504,
+ "distance": 2.3910524E-4,
+ "classes": 0.078663,
+ "video": 0.09078019,
+ "interface": 0.2845284,
+ "sid": 0.639031,
+ "mono": 0.99209267,
+ "##ci": 1.004117,
+ "class": 0.3492153,
+ "digital": 0.13141331,
+ "types": 1.0683963,
+ "center": 0.5094178,
+ "length": 0.16143447,
+ "specification": 0.47369403,
+ "layout": 0.0068403836,
+ "syntax": 0.47438577,
+ "##do": 0.96198636,
+ "pub": 0.1295035,
+ "fancy": 0.057556495,
+ "select": 0.5809954,
+ "software": 0.72820485,
+ "pun": 0.10997617,
+ "gage": 0.091818,
+ "arithmetic": 0.29578477,
+ "program": 0.08625581,
+ "during": 0.06223985,
+ "type": 0.77652526,
+ "signatures": 0.5049896,
+ "integers": 0.35085335,
+ "number": 0.8318201,
+ "compatible": 0.11727099,
+ "peg": 0.66741407,
+ "##space": 1.0328401,
+ "text": 0.9706826,
+ "jerry": 0.42365795,
+ "algorithm": 0.49902222,
+ "images": 0.3081665,
+ "shape": 0.35917008,
+ "cameron": 0.08668867,
+ "double": 1.7004529,
+ "signed": 0.5656861,
+ "index": 0.51966995,
+ "script": 0.43997818,
+ "doubles": 0.8736646,
+ "binary": 0.062468786,
+ "style": 0.6739734,
+ "math": 1.439382,
+ "jude": 0.08583491,
+ "template": 0.03894921,
+ "signature": 1.4408609,
+ "jp": 0.15652543,
+ "pattern": 0.06739306,
+ "##arat": 0.46307427,
+ "file": 0.5107099,
+ "composed": 0.12002663,
+ "editor": 0.78868157,
+ "include": 0.51280266,
+ "mat": 0.022007301,
+ "heading": 0.049059834,
+ "display": 0.4604874,
+ "##id": 0.2914388,
+ "excel": 0.30068326,
+ "framework": 0.035934392,
+ "mathematical": 0.88473517,
+ "checkpoint": 0.13087451,
+ "esq": 2.0604134,
+ "data": 0.10267938,
+ "precision": 0.1702838,
+ "sign": 0.53324634,
+ "dice": 0.15780331,
+ "integer": 1.3646771,
+ "spec": 1.4739192,
+ "space": 0.34956196,
+ "protocol": 0.09980101,
+ "##il": 1.7212065,
+ "tab": 0.050405517,
+ "picked": 0.14460221,
+ "ala": 1.4554467,
+ "function": 0.9146397,
+ "continuous": 0.7940337,
+ "html": 0.776921,
+ "lap": 0.022239337,
+ "tag": 0.7925349,
+ "combine": 0.16255333,
+ "format": 1.046573,
+ "##ido": 1.2939473,
+ "archive": 0.07175178,
+ "sort": 0.5083336,
+ "picking": 0.6592888,
+ "tool": 0.25351286,
+ "tutor": 0.08334858,
+ "square": 0.5055976,
+ "core": 0.41731986,
+ "sequence": 0.26545998,
+ "jamie": 0.18839718,
+ "twice": 7.3358323E-4,
+ "##ida": 0.22253855,
+ "header": 1.0843008,
+ "no": 0.36156845,
+ "code": 0.02194841,
+ "student": 0.063129984,
+ "cad": 0.729262,
+ "gil": 0.23122089,
+ "percent": 0.25530317,
+ "platform": 0.066097505,
+ "database": 0.07578209,
+ "para": 0.098940894,
+ "array": 0.07648457,
+ "lang": 0.32142115,
+ "value": 0.76440096,
+ "keyboard": 0.39588347,
+ "determine": 0.094670385,
+ "equation": 0.16167688,
+ "command": 0.14363101,
+ "round": 1.5280367,
+ "inline": 1.3157959,
+ "serial": 0.5370388,
+ "unsigned": 1.0197368,
+ "closest": 1.4546033
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-ceil]]\n=== `CEIL`\n[.text-center]\nimage::esql/functions/signature/ceil.svg[Embedded,opts=inline]\n\nRound a number up to the nearest integer.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=ceil]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=ceil-result]\n|===\n\nNOTE: This is a noop for `long` (including unsigned) and `integer`.\n For `double` this picks the the closest `double` value to the integer ala\n {javadoc}/java.base/java/lang/Math.html#ceil(double)[Math.ceil].\n\nSupported types:\n\ninclude::types/ceil.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "3f57697a-e2a2-4087-b7da-3babdb0f7cfc",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/cidr_match.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.46095794,
+ "##l": 1.3288014,
+ "type": 0.69907254,
+ "fit": 0.28501198,
+ "##r": 1.5356476,
+ "compatible": 0.50386065,
+ "java": 0.93547094,
+ "peg": 0.49672574,
+ "##v": 0.63942,
+ "block": 1.1087843,
+ "jerry": 0.16628543,
+ "algorithm": 0.5722013,
+ "method": 0.03812094,
+ "hosts": 1.0128204,
+ "ip": 1.8586963,
+ "testing": 0.83625,
+ "'": 0.12362731,
+ "(": 0.29427722,
+ "19": 0.12940265,
+ "index": 0.7027724,
+ "matches": 0.9957361,
+ "script": 0.23924956,
+ "resistance": 0.018563466,
+ "accept": 0.58384705,
+ "/": 0.5756698,
+ "0": 0.44312292,
+ "provide": 0.7838058,
+ "127": 1.5564297,
+ "6": 0.13774161,
+ "128": 0.8662273,
+ "domain": 0.36031145,
+ "math": 0.40563995,
+ "=": 0.60473526,
+ "hash": 0.14442374,
+ "frank": 0.039682392,
+ "server": 0.45283,
+ "miscellaneous": 0.010141982,
+ "against": 1.2295942,
+ "pattern": 0.15602796,
+ "two": 0.7414735,
+ "virus": 0.23616645,
+ "matching": 1.0568691,
+ "anti": 0.1304338,
+ "valid": 0.28385156,
+ "file": 0.17658712,
+ "julia": 0.049889304,
+ "ian": 0.099563524,
+ "verify": 0.3529148,
+ "where": 0.34767184,
+ "[": 0.5690027,
+ "fred": 0.28121418,
+ "]": 0.25953,
+ "32": 1.1980306,
+ "_": 1.1238501,
+ "editor": 0.053567495,
+ "chip": 0.19238716,
+ "address": 1.0081239,
+ "contain": 0.49588335,
+ "d": 0.32015002,
+ "display": 0.08186773,
+ "tennis": 0.37767968,
+ "bug": 0.28838763,
+ "v": 0.06212122,
+ "located": 0.37867835,
+ "cod": 0.3281112,
+ "returned": 0.49776015,
+ "da": 0.18027058,
+ "perry": 0.02560398,
+ "return": 0.739489,
+ "first": 0.21406767,
+ "supported": 0.5472431,
+ "checkpoint": 0.5790008,
+ "ass": 0.12741753,
+ "esq": 1.7503566,
+ "argument": 1.1520183,
+ "dice": 0.4195247,
+ "anne": 0.16772157,
+ "source": 0.057621766,
+ "operator": 0.05313114,
+ "protocol": 0.58687323,
+ "apache": 0.53531355,
+ "find": 0.028118314,
+ "continuous": 0.681056,
+ "function": 0.4486756,
+ "host": 0.9833807,
+ "lap": 0.01673458,
+ "buffer": 0.21276416,
+ "ur": 0.25474337,
+ "ed": 0.47224873,
+ "par": 0.18148509,
+ "which": 0.11260604,
+ "mp": 0.035947386,
+ "test": 1.3002766,
+ "format": 0.19072393,
+ "batch": 0.007289361,
+ "archive": 0.13399759,
+ "check": 0.4136654,
+ "list": 0.066911966,
+ "discrete": 1.8597391,
+ "core": 0.20167284,
+ "measure": 0.34101507,
+ "provision": 0.14415853,
+ "true": 1.0392202,
+ "retrieve": 0.023165662,
+ "parameters": 0.5178192,
+ "support": 0.21422799,
+ "cid": 2.1610074,
+ "next": 0.26449746,
+ "code": 0.28919542,
+ "string": 0.061563045,
+ "provided": 1.3363023,
+ "cad": 0.33604458,
+ "interface": 0.61161155,
+ "sid": 0.6971755,
+ "network": 0.5473088,
+ "sql": 0.119897,
+ "database": 0.28803563,
+ "##4": 0.7295177,
+ "array": 0.0031318448,
+ "##6": 0.7091834,
+ "parameter": 0.24569885,
+ "client": 0.5291609,
+ "class": 0.35134006,
+ "mask": 0.15880013,
+ "cipher": 0.021526968,
+ "blocks": 0.9507753,
+ "match": 2.0680525,
+ "false": 0.6034287,
+ "command": 0.30550432,
+ "probe": 0.48689175,
+ "target": 0.0042430614,
+ "contained": 0.80526954,
+ "serial": 0.49812046,
+ "syntax": 0.45673376,
+ "arguments": 1.1621557,
+ "handling": 0.0011704268,
+ "pub": 0.15628484
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-cidr_match]]\n=== `CIDR_MATCH`\n\nReturns `true` if the provided IP is contained in one of the provided CIDR\nblocks.\n\n`CIDR_MATCH` accepts two or more arguments. The first argument is the IP\naddress of type `ip` (both IPv4 and IPv6 are supported). Subsequent arguments\nare the CIDR blocks to test the IP against.\n\n[source,esql]\n----\nFROM hosts\n| WHERE CIDR_MATCH(ip, \"127.0.0.2/32\", \"127.0.0.3/32\")\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "569013aa-eaff-4f37-8de6-6312d642a959",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/coalesce.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.7795811,
+ "fancy": 0.13830662,
+ "mod": 0.12389012,
+ "##d": 0.5979503,
+ "##e": 0.4869625,
+ "gage": 0.3632806,
+ "fin": 0.22162339,
+ "styled": 1.277205,
+ "during": 0.16589408,
+ "##frame": 0.14014435,
+ "##l": 1.3953562,
+ "java": 0.8409979,
+ "peg": 0.5348274,
+ "##s": 0.22669578,
+ "styling": 0.7616508,
+ "dev": 0.21419075,
+ "##v": 1.1410971,
+ "notation": 0.24609971,
+ "xml": 0.14058982,
+ "merge": 1.6870923,
+ "record": 0.111476034,
+ "##space": 1.2027515,
+ "nan": 0.16231509,
+ "text": 0.0048615583,
+ "##es": 1.3268951,
+ "flow": 0.041890834,
+ "algorithm": 0.4286373,
+ "merging": 0.20833266,
+ "%": 0.8753325,
+ "gene": 0.39381346,
+ "'": 0.18685734,
+ "(": 0.18864745,
+ "index": 0.687638,
+ "inspired": 0.10436604,
+ "analysis": 0.4277386,
+ "-": 0.14682366,
+ "script": 0.43703514,
+ "tags": 0.3910046,
+ "/": 0.23176639,
+ "as": 0.07774535,
+ "integration": 0.32880396,
+ "style": 1.0250515,
+ "returns": 0.038950358,
+ "styles": 0.03341752,
+ "math": 0.33978695,
+ "=": 0.03753485,
+ "server": 0.045259956,
+ "statistical": 0.29101107,
+ "miscellaneous": 0.16556673,
+ "log": 0.14237086,
+ "pattern": 0.24735716,
+ "mid": 0.022575635,
+ "matrix": 0.1964382,
+ "virus": 0.006755608,
+ "result": 1.086634,
+ "##arat": 0.8420896,
+ "sd": 0.16485095,
+ "file": 0.63175046,
+ "##or": 0.12138207,
+ "composed": 0.2599319,
+ "web": 0.07483093,
+ "si": 0.26220962,
+ "ian": 0.14582556,
+ "[": 0.79907244,
+ "fred": 0.26635024,
+ "]": 0.36716697,
+ "graphic": 0.09269382,
+ "table": 0.27617258,
+ "sep": 0.6241938,
+ "_": 0.53183997,
+ "ss": 0.24286996,
+ "include": 1.1510051,
+ "editor": 0.27314913,
+ "chip": 0.0027426982,
+ "contain": 0.24158822,
+ "expression": 0.053206988,
+ "c": 0.043319255,
+ "d": 0.26357412,
+ "heading": 0.43207216,
+ "initial": 0.021170827,
+ "display": 0.2347196,
+ "column": 0.43244973,
+ "consolidation": 0.20950556,
+ "sample": 0.31879172,
+ "cs": 1.3907895,
+ "excel": 0.48913327,
+ "v": 0.12883459,
+ "organized": 0.432634,
+ "report": 0.37551695,
+ "cod": 0.23178625,
+ "returned": 0.6996227,
+ "|": 0.35583615,
+ "}": 0.53826785,
+ "da": 0.0877684,
+ "chart": 0.067392945,
+ "first": 0.9883426,
+ "return": 0.83070886,
+ "entity": 0.078418896,
+ "font": 0.0717783,
+ "ass": 0.23220614,
+ "checkpoint": 0.21967322,
+ "calculation": 0.19613911,
+ "dd": 0.10196352,
+ "ryan": 0.027559385,
+ "esq": 1.9099612,
+ "data": 0.49199328,
+ "dh": 0.33043823,
+ "anne": 0.47305632,
+ "source": 0.55272573,
+ "specifications": 0.46432945,
+ "spec": 1.6972893,
+ "space": 0.5703356,
+ "operator": 0.28928283,
+ "ds": 1.1588552,
+ "zero": 0.12813932,
+ "protocol": 0.015219393,
+ "apache": 0.46406528,
+ "tab": 0.102841586,
+ "separation": 0.02918742,
+ "continuous": 0.9669179,
+ "function": 0.36234167,
+ "html": 0.40339914,
+ "lap": 0.008252095,
+ "tag": 0.9360419,
+ "buffer": 0.3154089,
+ "results": 0.42000744,
+ "ed": 0.6026694,
+ "combine": 0.40444812,
+ "which": 0.18781732,
+ "par": 0.040728454,
+ "##se": 0.25122586,
+ "including": 0.6975912,
+ "chess": 0.09466334,
+ "last": 0.41911674,
+ "format": 1.0960573,
+ "batch": 0.23180997,
+ "archive": 0.3313861,
+ "includes": 0.052550055,
+ "sort": 0.27925262,
+ "sha": 0.28012276,
+ "discrete": 1.9659604,
+ "core": 0.5223807,
+ "sequence": 0.31164607,
+ "jamie": 0.024488924,
+ "null": 1.826321,
+ "coal": 1.9496031,
+ "header": 1.2848022,
+ "retrieve": 0.32575798,
+ "coin": 0.10255308,
+ "blank": 0.5279705,
+ "code": 0.2982627,
+ "formats": 0.13709897,
+ "string": 0.039608374,
+ "cad": 0.4081262,
+ "values": 0.39414996,
+ "gil": 0.29022956,
+ "non": 1.2156024,
+ "error": 0.3232754,
+ "interface": 0.29522857,
+ "inventory": 0.13864322,
+ "percent": 0.3274193,
+ "sid": 0.8403656,
+ "sql": 0.42646065,
+ "mono": 1.2288318,
+ "##ce": 1.4480677,
+ "database": 0.40476257,
+ "array": 0.122802325,
+ "bland": 0.40184924,
+ "value": 1.1161008,
+ "class": 0.49542758,
+ "included": 0.32279995,
+ "cipher": 0.13129665,
+ "length": 0.08463984,
+ "match": 0.06944835,
+ "specification": 0.67328954,
+ "command": 0.046695065,
+ "##ed": 0.088165455,
+ "serial": 0.67967564,
+ "syntax": 0.43492258,
+ "pub": 0.15814258,
+ "merger": 0.25184286
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-coalesce]]\n=== `COALESCE`\n\nReturns the first non-null value.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/null.csv-spec[tag=coalesce]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/null.csv-spec[tag=coalesce-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "a58fa644-0034-48bb-95f5-6521a4750156",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/concat.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.5599761,
+ "##d": 0.3709903,
+ "software": 0.0780023,
+ "maintain": 0.25693503,
+ "pun": 0.37215108,
+ "gage": 0.25169587,
+ "arithmetic": 0.05418503,
+ "alphabet": 0.33363247,
+ "during": 0.2641312,
+ "##l": 1.4106992,
+ "java": 0.9608854,
+ "peg": 0.58752894,
+ "len": 0.33411267,
+ "notation": 0.35754585,
+ "record": 0.39331362,
+ "merge": 0.093121506,
+ "join": 0.35837325,
+ "##nate": 1.326908,
+ "height": 1.421524,
+ "algorithm": 0.42419645,
+ "order": 0.09824559,
+ "##nation": 1.1282916,
+ "\"": 0.34092626,
+ "gene": 0.28323013,
+ "double": 0.05893553,
+ "'": 0.21489803,
+ "profile": 0.040803645,
+ "(": 0.32850093,
+ "index": 0.6269855,
+ "script": 0.2171146,
+ "##name": 0.06100557,
+ "as": 0.028465271,
+ "binary": 0.3669392,
+ "integration": 0.14672165,
+ "##var": 0.13088216,
+ "math": 0.44715175,
+ "=": 0.21533604,
+ "brother": 0.012723812,
+ "##nat": 0.4092233,
+ "miscellaneous": 0.33054247,
+ "log": 0.36872756,
+ "document": 0.18557598,
+ "##ler": 0.041366775,
+ "save": 0.4115711,
+ "pattern": 0.27929562,
+ "retain": 0.23582949,
+ "##ring": 0.022290168,
+ "sequences": 0.012429278,
+ "two": 1.1560106,
+ "matching": 0.3520243,
+ "remember": 0.4039344,
+ "into": 0.09692905,
+ "computer": 0.15678412,
+ "file": 0.44025677,
+ "strings": 1.1854998,
+ "surname": 0.43937293,
+ "identity": 0.06674025,
+ "[": 1.0942168,
+ "fred": 0.2496961,
+ "workers": 0.8072792,
+ "]": 0.797959,
+ "table": 0.2869282,
+ "_": 0.9057344,
+ "editor": 0.24917711,
+ "address": 0.3295688,
+ "d": 0.19226944,
+ "keeping": 0.5616959,
+ "column": 0.26646468,
+ "##cats": 0.1787787,
+ "staff": 0.19124688,
+ "union": 0.3415569,
+ "excel": 0.19348833,
+ "names": 0.6773471,
+ "cod": 0.5660865,
+ "##cate": 1.7280703,
+ "operation": 0.16712748,
+ "da": 0.12667948,
+ "first": 0.7202507,
+ "db": 0.21240398,
+ "entity": 0.06798619,
+ "ass": 0.32890108,
+ "checkpoint": 0.19586748,
+ "esq": 1.8062054,
+ "con": 1.2616986,
+ "data": 0.43895423,
+ "separate": 0.40945575,
+ "##cat": 1.8250421,
+ "dice": 0.34310284,
+ "anne": 0.2972535,
+ "source": 0.6674328,
+ "accounting": 0.31503016,
+ "employee": 1.3191961,
+ "operator": 0.33182162,
+ "that": 0.070000365,
+ "protocol": 0.016254403,
+ "apache": 0.4641329,
+ "split": 0.3235173,
+ "tab": 0.40752807,
+ "separation": 0.2722462,
+ "continuous": 0.9666631,
+ "function": 0.021980364,
+ "lap": 0.4629777,
+ "from": 0.23874144,
+ "ren": 0.16947933,
+ "html": 0.016138047,
+ "tall": 0.57046247,
+ "buffer": 0.16005042,
+ "ea": 0.06767987,
+ "ed": 0.62357736,
+ "combination": 0.36215323,
+ "which": 0.14810926,
+ "par": 0.14114173,
+ "last": 0.92084694,
+ "initials": 0.25352618,
+ "batch": 0.48214385,
+ "format": 0.26563594,
+ "archive": 0.35906002,
+ "sort": 0.44686493,
+ "preserve": 0.012328019,
+ "list": 0.30316994,
+ "both": 0.0030664825,
+ "discrete": 2.0300052,
+ "sequence": 0.5009065,
+ "core": 0.27807176,
+ "twice": 0.0033681826,
+ "keep": 1.0610437,
+ "colleagues": 0.33802736,
+ "name": 0.6108777,
+ "overall": 0.21011618,
+ "employees": 1.3403791,
+ "decimal": 0.1003541,
+ "full": 1.0909071,
+ "code": 0.36052626,
+ "string": 1.2818365,
+ "import": 0.18229239,
+ "student": 0.12532395,
+ "cad": 0.34367517,
+ "##lc": 0.0017400138,
+ "storage": 0.23260649,
+ "gil": 0.17080449,
+ "inventory": 0.43798175,
+ "interface": 0.35599306,
+ "##da": 0.44172993,
+ "sid": 0.75512445,
+ "sql": 0.6381915,
+ "eva": 1.7411474,
+ "database": 0.34914267,
+ "##ci": 0.26886708,
+ "cat": 0.5768062,
+ "alias": 0.1999026,
+ "##lib": 0.17518416,
+ "row": 0.07566395,
+ "lang": 0.656384,
+ "class": 0.49223977,
+ "mask": 0.34630954,
+ "cipher": 0.35303792,
+ "keyboard": 0.3996446,
+ "spelling": 0.21612205,
+ "length": 0.4591934,
+ "multiple": 0.40999568,
+ "separated": 0.06028584,
+ "control": 0.19941306,
+ "consecutive": 0.41454282,
+ "command": 0.3762541,
+ "serial": 0.60734123,
+ "heights": 0.5665591,
+ "inherited": 0.22405447,
+ "##ls": 0.02944141,
+ "syntax": 0.78304255,
+ "pub": 0.2763275
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-concat]]\n=== `CONCAT`\nConcatenates two or more strings.\n\n[source,esql]\n----\nFROM employees\n| KEEP first_name, last_name, height\n| EVAL fullname = CONCAT(first_name, \" \", last_name)\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "63f4d5d3-b548-4b86-9808-8a0f3c8eb916",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/conditional_functions_and_expressions.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "brent": 0.0955928,
+ "##c": 0.73910266,
+ "##d": 1.2852666,
+ "functions": 1.0663747,
+ "criteria": 0.14397636,
+ "arithmetic": 0.29731113,
+ "program": 0.17669271,
+ "##l": 1.5329657,
+ "evaluation": 0.33921894,
+ "compatible": 0.13142626,
+ "java": 1.2538931,
+ "peg": 0.40051642,
+ "else": 1.0990659,
+ "##v": 0.546036,
+ "jan": 0.14907603,
+ "notation": 0.032210153,
+ "curt": 0.07800296,
+ "jerry": 0.3574157,
+ "if": 1.0249724,
+ "##es": 1.0088673,
+ "case": 0.97145814,
+ "algorithm": 0.5389653,
+ "height": 0.2979107,
+ "gene": 0.4159981,
+ "tex": 0.14020404,
+ "index": 0.03359344,
+ "+": 1.0921526,
+ "then": 0.4513592,
+ "baker": 0.03145183,
+ "analysis": 0.20239781,
+ "script": 0.2643589,
+ "tags": 0.6348956,
+ "as": 0.6837197,
+ "highest": 0.13948418,
+ "evaluating": 0.32884815,
+ "math": 0.89520025,
+ "evaluate": 0.87523925,
+ "jude": 0.02870149,
+ "functional": 0.13327178,
+ "least": 1.193212,
+ "monte": 0.13580392,
+ "algebra": 0.009393069,
+ "##bre": 1.3044873,
+ "##bra": 0.04326309,
+ "valid": 0.50374424,
+ "library": 0.008516422,
+ "julia": 0.14295422,
+ "supports": 0.11411261,
+ "ari": 0.10119609,
+ "fred": 0.40335,
+ "[": 0.22415194,
+ "_": 0.8180522,
+ "include": 0.97103786,
+ "editor": 0.6376559,
+ "mat": 0.04493063,
+ "expression": 1.3589507,
+ "contain": 0.23093781,
+ "c": 0.09573547,
+ "display": 0.2169866,
+ "column": 0.14524274,
+ "miranda": 0.12197465,
+ "j": 0.09829313,
+ "##id": 0.8170358,
+ "great": 0.37809175,
+ "abraham": 5.7442376E-4,
+ "excel": 0.320047,
+ "q": 0.12021174,
+ "framework": 0.05688293,
+ "assess": 0.07256675,
+ "returning": 0.063633256,
+ "cod": 0.5863799,
+ "maximum": 0.51195264,
+ "php": 0.05787921,
+ "{": 0.49801585,
+ "logic": 0.259046,
+ "returned": 0.66303706,
+ "}": 0.43271026,
+ "return": 0.91608703,
+ "supported": 0.27351394,
+ "checkpoint": 0.41127706,
+ "ass": 0.11329697,
+ "esq": 2.0619154,
+ "argument": 0.8484322,
+ "con": 0.9086808,
+ "conditional": 2.0833972,
+ "anne": 0.81013626,
+ "language": 0.21610168,
+ "express": 0.11649888,
+ "integer": 0.42733094,
+ "operator": 0.25802642,
+ "##ab": 0.9899063,
+ "apache": 0.45994163,
+ "brendan": 0.14624965,
+ "function": 1.3256414,
+ "html": 0.41174453,
+ "dax": 0.0028890322,
+ "tag": 1.0852921,
+ "buffer": 0.16887087,
+ "expressed": 0.12691912,
+ "programming": 0.06256207,
+ "ed": 0.70345175,
+ "combination": 0.020560702,
+ "otherwise": 0.35678262,
+ "par": 0.30913046,
+ "including": 0.33052245,
+ "chess": 0.24651438,
+ "test": 0.10410923,
+ "format": 0.3737649,
+ "doubt": 0.6940437,
+ "##ido": 1.555356,
+ "list": 1.1206012,
+ "expressions": 1.3017205,
+ "plus": 0.21077615,
+ "##ca": 0.10972763,
+ "tutor": 0.16478534,
+ "most": 0.4136265,
+ "##idi": 0.07738672,
+ "jamie": 0.5507607,
+ "core": 0.08510339,
+ "sequence": 0.014021342,
+ "condition": 0.3844211,
+ "lists": 0.8652311,
+ "##ida": 0.41766953,
+ "coal": 1.3824658,
+ "retrieve": 0.12795295,
+ "worst": 0.615792,
+ "support": 0.54469585,
+ "parameters": 0.05628768,
+ "carly": 0.2850654,
+ "largest": 0.08751242,
+ "boo": 0.51307106,
+ "code": 0.396587,
+ "string": 0.25776863,
+ "import": 0.013731776,
+ "student": 0.21036957,
+ "classes": 0.0636346,
+ "##icia": 0.042549323,
+ "gil": 0.0022800183,
+ "title": 0.36833182,
+ "symbols": 0.035763945,
+ "sql": 0.27635643,
+ "sid": 0.1682731,
+ "##ce": 0.852609,
+ "para": 0.2561445,
+ "array": 0.17332275,
+ "##ci": 1.3560748,
+ "end": 0.2859068,
+ "##lib": 0.22070566,
+ "david": 0.1905597,
+ "compiler": 0.25093773,
+ "lang": 0.09771296,
+ "class": 0.6287078,
+ "greatest": 1.5302229,
+ "compilation": 0.069035895,
+ "serial": 0.023738343,
+ "inherited": 0.023002693,
+ "syntax": 0.8999698,
+ "arguments": 0.93980205,
+ "pub": 0.63754207
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-conditional-functions-and-expressions]]\n==== {esql} conditional functions and expressions\n\n++++\nConditional functions and expressions\n++++\n\nConditional functions return one of their arguments by evaluating in an if-else\nmanner. {esql} supports these conditional functions:\n\n// tag::cond_list[]\n* <>\n* <>\n* <>\n* <>\n// end::cond_list[]\n\ninclude::case.asciidoc[]\ninclude::coalesce.asciidoc[]\ninclude::greatest.asciidoc[]\ninclude::least.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "28e2bb96-9b62-432c-b290-5aaabd4bb630",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/cos.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "plane": 0.14941077,
+ "cluster": 0.22202264,
+ "fancy": 0.23825854,
+ "functions": 0.9111937,
+ "##d": 0.63730025,
+ "software": 0.46605742,
+ "##e": 0.58155715,
+ "##g": 0.65359783,
+ "gage": 0.5085219,
+ "pun": 0.025845638,
+ "fin": 0.082320385,
+ "styled": 0.8211646,
+ "alphabet": 0.38881502,
+ "during": 0.079465315,
+ "##l": 1.3524828,
+ "type": 0.80791163,
+ "##vs": 0.0026192903,
+ "signatures": 0.6077209,
+ "equations": 0.034131955,
+ "elmer": 0.16069736,
+ "compatible": 0.1468917,
+ "##s": 1.4557656,
+ "peg": 0.5783039,
+ "java": 0.44282606,
+ "styling": 0.30969667,
+ "##v": 1.0162251,
+ "notation": 0.5404114,
+ "jan": 0.13961378,
+ "merge": 1.222679,
+ "##ome": 0.13759203,
+ "##metric": 0.074409395,
+ "##space": 0.9544779,
+ "text": 1.0214324,
+ "algorithm": 0.53019035,
+ "images": 0.42983213,
+ "shape": 0.40256572,
+ "gene": 0.27359083,
+ "%": 0.19353352,
+ "signed": 0.47576895,
+ "index": 0.41822648,
+ "analysis": 0.2467563,
+ "-": 0.21233062,
+ "script": 0.27943194,
+ "tags": 0.1508412,
+ "ar": 0.07367622,
+ "as": 0.20013234,
+ "cue": 0.041812297,
+ "science": 0.20600834,
+ "integration": 0.30175963,
+ "style": 0.54019594,
+ "math": 1.0429996,
+ "bristol": 0.033168577,
+ "template": 0.05484755,
+ "functional": 0.036189776,
+ "miscellaneous": 0.19058374,
+ "flag": 0.008527532,
+ "signature": 1.4532233,
+ "jp": 0.21882287,
+ "pattern": 0.2814348,
+ "algebra": 0.35872516,
+ "matrix": 0.053275485,
+ "distribution": 0.009853533,
+ "##arat": 0.62131715,
+ "result": 0.57790124,
+ "file": 0.6134312,
+ "arc": 0.2534059,
+ "composed": 0.14240786,
+ "si": 0.26452637,
+ "physics": 0.27018377,
+ "vector": 0.5205815,
+ "[": 0.6706857,
+ "wikipedia": 0.6287093,
+ "fred": 0.2963052,
+ "embedded": 1.1754745,
+ "graphic": 0.7067276,
+ "sep": 0.33458865,
+ "_": 0.25824735,
+ "sami": 0.015601251,
+ "include": 0.6473053,
+ "editor": 0.3096231,
+ "mat": 0.020958504,
+ "sv": 1.0386393,
+ "c": 0.17387572,
+ "display": 0.2641018,
+ "column": 0.1461996,
+ "##id": 0.56416154,
+ "co": 1.763277,
+ "abbreviation": 0.22300193,
+ "cs": 1.1461017,
+ "excel": 0.28992003,
+ "p": 0.02189861,
+ "##int": 0.21761683,
+ "s": 0.3202434,
+ "v": 0.23508304,
+ "##uation": 0.02262039,
+ "geometry": 0.02878952,
+ "|": 0.19826561,
+ "chart": 0.5123167,
+ "supported": 0.848378,
+ "font": 0.42598957,
+ "ratio": 0.19660027,
+ "mathematical": 0.0030976192,
+ "ass": 0.27027693,
+ "calculation": 0.067838386,
+ "symbol": 0.35968435,
+ "esq": 1.9925863,
+ "data": 0.34259805,
+ "dh": 0.10327076,
+ "##sin": 1.3787167,
+ "precision": 0.09531269,
+ "sign": 0.3306762,
+ "dice": 1.8571083E-4,
+ "anne": 0.5738319,
+ "source": 0.08175734,
+ "float": 1.0079274,
+ "lab": 0.078225,
+ "specifications": 0.3958099,
+ "spec": 1.37401,
+ "space": 0.2943307,
+ "ds": 0.9652898,
+ "##in": 0.04119691,
+ "function": 1.086924,
+ "continuous": 0.87774765,
+ "html": 0.4737151,
+ "tag": 0.6023951,
+ "ed": 0.67936516,
+ "tan": 0.1053169,
+ "image": 0.87745553,
+ "taylor": 0.090074174,
+ "floats": 0.7917964,
+ "including": 0.15947531,
+ "coordinate": 0.0788199,
+ "format": 0.9116016,
+ "##ido": 1.3334385,
+ "tri": 1.1938171,
+ "archive": 0.27662966,
+ "sha": 0.120389,
+ "graph": 0.16199496,
+ "##ca": 0.038351562,
+ "discrete": 1.8338172,
+ "core": 0.58617574,
+ "sequence": 0.18720518,
+ "opt": 1.0762674,
+ "geometric": 0.6152624,
+ "##ida": 0.09380226,
+ "header": 0.78866535,
+ "fields": 0.01969473,
+ "support": 0.47454762,
+ "coin": 0.16441414,
+ "##ometric": 1.2045659,
+ "formats": 0.4343066,
+ "differentiation": 0.061455656,
+ "code": 0.033418443,
+ "cad": 0.9037612,
+ "provided": 0.039192937,
+ "gil": 0.32892212,
+ "sid": 0.42757344,
+ "mono": 1.0018814,
+ "database": 0.24731016,
+ "para": 0.16642149,
+ "plot": 0.2435467,
+ "array": 0.14006053,
+ "##ci": 1.1477638,
+ "floating": 0.93821144,
+ "and": 0.1029329,
+ "##gon": 1.2971381,
+ "sin": 1.5272604,
+ "class": 0.32020825,
+ "digital": 0.17805246,
+ "types": 1.1216338,
+ "equation": 0.5583475,
+ "center": 0.49417457,
+ "specification": 0.42487603,
+ "zoom": 0.038675718,
+ "inline": 1.0773681,
+ "online": 0.12891884,
+ "formula": 0.06349599,
+ "pub": 0.057138313
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-cos]]\n=== `COS`\n[.text-center]\nimage::esql/functions/signature/cos.svg[Embedded,opts=inline]\n\nhttps://en.wikipedia.org/wiki/Sine_and_cosine[Cosine] trigonometric function.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/floats.csv-spec[tag=cos]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/floats.csv-spec[tag=cos-result]\n|===\n\nSupported types:\n\ninclude::types/cos.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "7a406fe4-116f-4740-a660-eefc2213c5ad",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/cosh.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.20532328,
+ "##c": 0.16762874,
+ "functions": 1.0165764,
+ "##d": 0.7059224,
+ "software": 0.3672435,
+ "##e": 0.59297323,
+ "##g": 0.7259912,
+ "##h": 0.89841276,
+ "gage": 0.49644867,
+ "pun": 0.060233425,
+ "fin": 0.07606882,
+ "styled": 0.68790627,
+ "alphabet": 0.29344305,
+ "##l": 1.3441807,
+ "type": 0.7986133,
+ "signatures": 0.5648825,
+ "elmer": 0.29108942,
+ "compatible": 0.08649615,
+ "peg": 0.65773517,
+ "java": 0.50172436,
+ "styling": 0.091293246,
+ "##v": 1.1185799,
+ "notation": 0.3910347,
+ "xml": 0.0076801735,
+ "merge": 1.1768334,
+ "##metric": 0.032291643,
+ "##space": 0.8127351,
+ "text": 0.9158138,
+ "flow": 6.6723017E-4,
+ "algorithm": 0.80621696,
+ "images": 0.36315465,
+ "shape": 0.19742689,
+ "gene": 0.7471166,
+ "%": 0.33827728,
+ "index": 0.499346,
+ "signed": 0.49284598,
+ "analysis": 0.33722967,
+ "-": 6.6770666E-4,
+ "script": 0.22172548,
+ "tags": 0.15290809,
+ "as": 0.42669144,
+ "science": 0.029895281,
+ "style": 0.4802482,
+ "math": 0.8562637,
+ "bristol": 0.16701964,
+ "template": 0.10450994,
+ "functional": 0.059824336,
+ "racing": 0.32352757,
+ "signature": 1.5073069,
+ "jp": 0.2900319,
+ "pattern": 0.23211475,
+ "monte": 0.12086797,
+ "algebra": 0.01669847,
+ "matrix": 0.47195804,
+ "distribution": 0.15541084,
+ "virus": 0.02919564,
+ "##arat": 0.66315156,
+ "result": 0.5486378,
+ "file": 0.5787841,
+ "composed": 0.03744311,
+ "si": 0.13284642,
+ "integral": 0.036441993,
+ "physics": 0.10519157,
+ "comet": 0.054012585,
+ "vector": 0.69153893,
+ "[": 0.7920825,
+ "wikipedia": 0.62444913,
+ "fred": 0.3580423,
+ "embedded": 1.1853135,
+ "graphic": 0.6921224,
+ "]": 0.04308875,
+ "_": 0.39989933,
+ "sep": 0.22751716,
+ "include": 0.91172874,
+ "editor": 0.14335485,
+ "mat": 0.03284355,
+ "chip": 0.062084585,
+ "sv": 1.0917736,
+ "c": 0.114428855,
+ "column": 0.025945885,
+ "##id": 0.691164,
+ "co": 1.6454362,
+ "abbreviation": 0.26366076,
+ "cs": 1.0678216,
+ "excel": 0.2932377,
+ "p": 0.037113383,
+ "##int": 0.38997394,
+ "radar": 0.23829724,
+ "##bolic": 1.7701852,
+ "polynomial": 0.26792097,
+ "v": 0.20879628,
+ "|": 0.20425257,
+ "}": 0.25612795,
+ "chart": 0.05526037,
+ "supported": 0.8547665,
+ "font": 0.33365124,
+ "mathematical": 0.032746647,
+ "ass": 0.41040593,
+ "calculation": 0.043712214,
+ "symbol": 0.29665616,
+ "esq": 1.981592,
+ "dh": 0.17357121,
+ "data": 0.17161703,
+ "##sin": 1.5803223,
+ "sign": 0.32143548,
+ "anne": 0.66029185,
+ "source": 0.11875901,
+ "float": 1.1555762,
+ "specifications": 0.43834397,
+ "spec": 1.2023363,
+ "space": 0.2314969,
+ "ds": 0.87726283,
+ "ata": 0.029741043,
+ "function": 1.234806,
+ "continuous": 0.8234782,
+ "html": 0.5177679,
+ "tag": 0.6227058,
+ "hyper": 1.6362741,
+ "ed": 0.6215595,
+ "image": 0.89754736,
+ "##bol": 0.47509333,
+ "taylor": 0.3597376,
+ "##se": 0.15203585,
+ "floats": 0.894302,
+ "including": 0.41788006,
+ "chess": 0.41107807,
+ "##sh": 2.0423913,
+ "format": 0.80981827,
+ "##ido": 1.4923778,
+ "archive": 0.28534076,
+ "sha": 0.044399038,
+ "##ca": 0.18618059,
+ "graph": 0.1592648,
+ "discrete": 1.8625691,
+ "core": 0.48519248,
+ "sequence": 0.26968014,
+ "opt": 1.1423659,
+ "geometric": 0.36617044,
+ "##ida": 0.26889268,
+ "coefficient": 0.10525059,
+ "header": 0.79499024,
+ "support": 0.3699426,
+ "formats": 0.25870275,
+ "code": 0.06756845,
+ "differentiation": 0.0638244,
+ "cad": 0.8076934,
+ "provided": 0.03254023,
+ "derivative": 0.1266527,
+ "gil": 0.24878046,
+ "wave": 0.11744336,
+ "sid": 0.338318,
+ "mono": 0.8587263,
+ "##ss": 0.21867228,
+ "database": 0.23349816,
+ "para": 0.22573096,
+ "##ch": 0.4992007,
+ "plot": 0.28715482,
+ "array": 0.17954803,
+ "##ci": 1.3744835,
+ "floating": 1.0274878,
+ "russ": 0.1537815,
+ "sin": 0.53914976,
+ "alias": 0.24132088,
+ "class": 0.3958932,
+ "##ish": 0.592247,
+ "cipher": 0.15922719,
+ "types": 1.0955507,
+ "equation": 0.5662681,
+ "center": 0.05788011,
+ "specification": 0.48543513,
+ "inline": 1.1363231,
+ "formula": 0.0035562387,
+ "pub": 0.048740502
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-cosh]]\n=== `COSH`\n[.text-center]\nimage::esql/functions/signature/cosh.svg[Embedded,opts=inline]\n\nhttps://en.wikipedia.org/wiki/Hyperbolic_functions[Cosine] hyperbolic function.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/floats.csv-spec[tag=cosh]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/floats.csv-spec[tag=cosh-result]\n|===\n\nSupported types:\n\ninclude::types/cosh.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "6dce4f78-d685-45ee-b047-13b7a1135668",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/count.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.50931704,
+ "##d": 0.7981538,
+ "counts": 1.0020248,
+ "##g": 1.3113995,
+ "fin": 0.13385579,
+ "styled": 1.2016617,
+ "##l": 1.3763876,
+ "java": 0.8846261,
+ "##s": 0.106765375,
+ "styling": 0.7023425,
+ "dev": 0.20348266,
+ "len": 0.118598945,
+ "stats": 1.1154616,
+ "##v": 1.1395749,
+ "notation": 0.24584328,
+ "jan": 0.048379615,
+ "merge": 1.8342968,
+ "record": 0.10431084,
+ "rank": 0.055357713,
+ "databases": 0.05818709,
+ "merging": 0.04616407,
+ "counters": 0.13710126,
+ "%": 0.602446,
+ "ag": 1.615356,
+ "tex": 0.14102826,
+ "'": 0.0052163214,
+ "league": 0.0040578656,
+ "(": 0.44243962,
+ ")": 0.013921184,
+ "*": 0.47280806,
+ "inspired": 0.020375233,
+ "analysis": 0.4356156,
+ "-": 0.14411683,
+ "tags": 0.5392978,
+ "/": 0.03519788,
+ "input": 0.8166548,
+ "as": 0.059514828,
+ "size": 0.41372392,
+ "styles": 0.15373397,
+ "statistical": 0.5765279,
+ "miscellaneous": 0.014437968,
+ "document": 0.41169113,
+ "matrix": 0.13163435,
+ "long": 1.2021446,
+ "result": 0.986376,
+ "sd": 0.02783999,
+ "##or": 0.30693242,
+ "si": 0.067637086,
+ "popularity": 0.039808184,
+ "vector": 0.014909504,
+ "[": 0.9951352,
+ "fred": 0.39951384,
+ "]": 0.36473545,
+ "graphic": 0.06337012,
+ "_": 0.49717933,
+ "sep": 0.3976385,
+ "stat": 0.5147321,
+ "contain": 0.24825718,
+ "d": 0.2523752,
+ "column": 0.47977066,
+ "sample": 0.08026544,
+ "cs": 1.3410413,
+ "v": 0.22934036,
+ "|": 0.07064716,
+ "da": 0.31170988,
+ "chart": 0.069210224,
+ "font": 0.04598181,
+ "calculation": 0.36284494,
+ "ass": 0.35195336,
+ "dd": 0.13078897,
+ "dh": 0.3550788,
+ "inputs": 0.29112557,
+ "numbers": 0.03347194,
+ "anne": 0.4595754,
+ "source": 0.81362253,
+ "accounting": 0.18578903,
+ "specifications": 0.4978382,
+ "ds": 1.1477517,
+ "apache": 0.19778584,
+ "##ag": 0.06886933,
+ "justin": 0.39579841,
+ "implement": 0.07375407,
+ "results": 0.49736926,
+ "weighted": 0.030305,
+ "ed": 0.61592174,
+ "which": 0.08706648,
+ "chess": 0.22901645,
+ "eh": 0.09566798,
+ "count": 1.7885139,
+ "batch": 0.42258307,
+ "check": 0.47444654,
+ "sha": 0.28863508,
+ "discrete": 1.884784,
+ "take": 0.47944605,
+ "fields": 1.1870774,
+ "##ile": 0.1850658,
+ "decimal": 0.013464002,
+ "##all": 1.0068691,
+ "formats": 0.50752646,
+ "import": 0.12992527,
+ "rule": 0.088826135,
+ "interface": 0.19186717,
+ "inventory": 0.14856538,
+ "sid": 0.6710859,
+ "mono": 0.9971971,
+ "class": 0.35632342,
+ "digital": 0.047125027,
+ "types": 0.8618821,
+ "length": 0.6239491,
+ "specification": 0.5423378,
+ "syntax": 0.8020434,
+ "pub": 0.22755694,
+ "fancy": 0.13826218,
+ "gage": 0.3491699,
+ "pun": 0.041689273,
+ "arithmetic": 0.14844413,
+ "during": 0.17322461,
+ "type": 0.9760359,
+ "number": 0.5698148,
+ "peg": 0.65187484,
+ "##space": 1.2872549,
+ "jerry": 0.14830682,
+ "text": 0.11188703,
+ "enter": 0.07243448,
+ "algorithm": 0.555769,
+ "gene": 0.30177566,
+ "index": 0.6857773,
+ "script": 0.018660234,
+ "field": 1.4230597,
+ "doc": 1.0636423,
+ "style": 0.96747005,
+ "math": 0.59878683,
+ "longest": 0.42230162,
+ "log": 0.0010823113,
+ "columns": 0.44733056,
+ "pattern": 0.1592652,
+ "##arat": 0.8134308,
+ "file": 0.48509845,
+ "composed": 0.21469359,
+ "table": 0.27075338,
+ "include": 1.0616058,
+ "editor": 0.5617935,
+ "mat": 0.0017892794,
+ "heading": 0.09209995,
+ "display": 0.38789874,
+ "consolidation": 0.1298972,
+ "excel": 0.7476207,
+ "report": 0.3454592,
+ "organized": 0.2242052,
+ "cod": 0.0767934,
+ "statistics": 0.96975595,
+ "checkpoint": 0.27126157,
+ "esq": 1.8570539,
+ "data": 0.6169396,
+ "dice": 0.22060145,
+ "integer": 0.20723921,
+ "spec": 1.6106604,
+ "space": 0.5624531,
+ "tab": 0.36053815,
+ "continuous": 0.9117637,
+ "html": 0.458878,
+ "lap": 0.08534872,
+ "tag": 0.9348905,
+ "buffer": 0.43167594,
+ "bean": 0.005627385,
+ "combine": 0.09294033,
+ "counting": 0.8620036,
+ "always": 0.1938708,
+ "including": 0.5936768,
+ "read": 0.29060295,
+ "mp": 0.18546635,
+ "format": 1.1180134,
+ "archive": 0.2949595,
+ "includes": 0.020033637,
+ "sort": 0.47754368,
+ "core": 0.40602064,
+ "sequence": 0.16639201,
+ "jamie": 0.12845954,
+ "unit": 0.11159343,
+ "header": 1.0408063,
+ "##ada": 0.09091158,
+ "code": 0.08055331,
+ "student": 0.038587864,
+ "values": 0.7911521,
+ "cad": 0.3199213,
+ "nu": 0.016098164,
+ "gil": 0.40265012,
+ "amy": 0.05094322,
+ "percent": 0.09971448,
+ "sql": 0.4805017,
+ "database": 0.5081055,
+ "array": 0.18378788,
+ "row": 0.81577796,
+ "##lib": 0.26705036,
+ "value": 0.711544,
+ "included": 0.33365798,
+ "__": 0.06711152,
+ "control": 0.07183932,
+ "rows": 1.0694419,
+ "any": 0.3245524,
+ "command": 0.14632061,
+ "serial": 0.63311017,
+ "tally": 0.4837897,
+ "demographics": 0.25048313
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-agg-count]]\n=== `COUNT`\nCounts field values.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/stats.csv-spec[tag=count]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/stats.csv-spec[tag=count-result]\n|===\n\nCan take any field type as input and the result is always a `long` not matter\nthe input type.\n\nTo count the number of rows, use `COUNT(*)`:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=countAll]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=countAll-result]\n|==="
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "310b9e78-9897-45dc-9883-bef62ce78744",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/count_distinct.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 1.1926048,
+ "##c": 0.23865864,
+ "##d": 0.6926082,
+ "counts": 0.69694144,
+ "##g": 1.2356997,
+ "accuracy": 0.14304432,
+ "fin": 0.17059012,
+ "styled": 1.0238394,
+ "##l": 1.430949,
+ "java": 0.92090076,
+ "styling": 0.59958005,
+ "sizes": 0.16793959,
+ "dev": 0.09607242,
+ "stats": 1.0214128,
+ "##v": 1.2301139,
+ "notation": 0.20845644,
+ "merge": 1.4333043,
+ "estimate": 0.21520916,
+ "rank": 0.4685063,
+ "diverse": 0.19141996,
+ "%": 0.41587743,
+ "ag": 1.5579728,
+ "google": 0.88703066,
+ "optional": 0.78188115,
+ "analysis": 0.49437,
+ "-": 0.29775634,
+ "tags": 0.5115246,
+ "node": 0.8613514,
+ "input": 0.6689496,
+ "size": 0.702204,
+ "unique": 0.119575396,
+ "domain": 0.07930466,
+ "statistical": 0.5088152,
+ "association": 0.08428543,
+ "global": 0.10447676,
+ "matrix": 0.045707274,
+ "virus": 0.5152332,
+ "long": 0.77931213,
+ "matching": 0.07159709,
+ "result": 0.734445,
+ "##or": 0.13793677,
+ "distinctive": 0.23964559,
+ "si": 0.105500996,
+ "vector": 0.0386459,
+ "where": 0.0059027164,
+ "[": 0.91378677,
+ "fred": 0.30699462,
+ "]": 0.037528306,
+ "_": 1.000315,
+ "sep": 0.35708493,
+ "stat": 0.28099576,
+ "set": 0.16455208,
+ "sets": 0.4465474,
+ "d": 0.36707175,
+ "column": 0.07263282,
+ "abbreviation": 0.06056493,
+ "cp": 0.05425854,
+ "sample": 0.039059043,
+ "##able": 0.075856574,
+ "cs": 1.4198033,
+ "metric": 0.8391918,
+ "v": 0.4124767,
+ "|": 0.022447541,
+ "}": 0.0794281,
+ "calculation": 0.27319467,
+ "dd": 0.21851794,
+ "ass": 0.20102896,
+ "standard": 0.11276388,
+ "symbol": 0.013171686,
+ "##rd": 1.0532285,
+ "dh": 0.40561467,
+ "separate": 0.12112611,
+ "approximate": 1.5706514,
+ "numbers": 0.18439052,
+ "anne": 0.27963772,
+ "source": 0.15957879,
+ "specifications": 0.35849896,
+ "ds": 1.1571234,
+ "apache": 0.57784474,
+ "separation": 0.23472159,
+ "segment": 0.18933101,
+ "justin": 0.14517933,
+ "results": 0.062390838,
+ "ed": 0.5989161,
+ "which": 0.071272224,
+ "par": 0.06505812,
+ "##se": 0.027411282,
+ "chess": 0.51211214,
+ "static": 0.31135896,
+ "count": 1.7287725,
+ "batch": 0.08344827,
+ "cardinal": 1.3972884,
+ "sha": 1.1400725,
+ "discrete": 1.7834185,
+ "measure": 0.27122557,
+ "fields": 0.92481714,
+ "cardinals": 0.46128124,
+ "decimal": 0.024420407,
+ "parameters": 0.49245033,
+ "memory": 0.49570602,
+ "formats": 0.065133065,
+ "crypt": 0.19429424,
+ "aggregation": 1.3411387,
+ "dominic": 0.034832988,
+ "inventory": 0.11394094,
+ "interface": 0.028603023,
+ "sid": 0.5716767,
+ "mono": 1.1347281,
+ "##ci": 1.2554948,
+ "definition": 0.20008326,
+ "class": 0.6897217,
+ "digital": 0.08748216,
+ "types": 0.46572316,
+ "custom": 0.1215985,
+ "estimated": 0.2837549,
+ "multiple": 0.26412204,
+ "length": 0.07136169,
+ "specification": 0.5791704,
+ "nodes": 0.35589394,
+ "pdf": 0.29156262,
+ "approximately": 0.0946436,
+ "syntax": 0.48209208,
+ "pub": 0.16802363,
+ "mark": 0.003108077,
+ "fancy": 0.0999145,
+ "gage": 0.3465942,
+ "arithmetic": 0.32836044,
+ "type": 0.7285321,
+ "multi": 0.042694174,
+ "division": 0.6159324,
+ "number": 0.8134428,
+ "peg": 0.36800978,
+ "property": 0.0298652,
+ "##space": 1.5780965,
+ "##gur": 0.7599413,
+ "##log": 0.22039032,
+ "jerry": 0.12554204,
+ "text": 0.08623755,
+ "flow": 0.09103817,
+ "algorithm": 1.038305,
+ "pubs": 0.042822212,
+ "large": 0.26373813,
+ "gene": 0.28863865,
+ "index": 0.5959913,
+ "loading": 0.5798511,
+ "grouping": 0.1893906,
+ "script": 0.09141717,
+ "##fi": 0.27564326,
+ "field": 1.1276779,
+ "spectrum": 0.14519201,
+ "exact": 0.61567533,
+ "integration": 0.3149744,
+ "style": 0.85617864,
+ "406": 0.42198533,
+ "math": 0.7437711,
+ "hash": 0.89489317,
+ "algorithms": 0.21879739,
+ "server": 0.00571759,
+ "pattern": 0.19314444,
+ "sequences": 0.10312862,
+ "##arat": 0.70815,
+ "file": 0.032331116,
+ "composed": 0.23326567,
+ "precise": 0.18492848,
+ "table": 0.09539094,
+ "include": 1.0259144,
+ "editor": 0.22318666,
+ "##id": 0.5341684,
+ "consolidation": 0.17840925,
+ "computation": 0.40561005,
+ "sharp": 0.059866443,
+ "excel": 0.2829612,
+ "cod": 0.25675616,
+ "le": 0.18202303,
+ "statistics": 0.8242615,
+ "checkpoint": 0.19950612,
+ "esq": 1.7532741,
+ "constant": 0.09141282,
+ "data": 0.56402075,
+ "precision": 1.3569746,
+ "integer": 0.37646413,
+ "spec": 1.434973,
+ "space": 0.4666152,
+ "cloud": 0.08241809,
+ "high": 0.7225682,
+ "function": 1.119038,
+ "continuous": 0.9467914,
+ "html": 0.27247125,
+ "lap": 0.09082156,
+ "tag": 1.1104261,
+ "buffer": 0.19770072,
+ "hyper": 0.57120633,
+ "counting": 0.46263167,
+ "including": 0.54299307,
+ "mp": 0.22745392,
+ "read": 0.022367226,
+ "format": 0.9219477,
+ "##ido": 1.4884253,
+ "archive": 0.07649661,
+ "sort": 0.39818183,
+ "mining": 0.08201139,
+ "##ity": 0.714685,
+ "sequence": 0.36720726,
+ "core": 0.16775705,
+ "jamie": 0.09071389,
+ "unit": 0.12615338,
+ "##ida": 0.33392906,
+ "header": 0.9486156,
+ "differentiation": 0.5236006,
+ "code": 0.05013809,
+ "configuration": 0.39296234,
+ "values": 0.8694517,
+ "link": 0.12573297,
+ "distinct": 1.4742044,
+ "scale": 0.19662242,
+ "##lit": 0.07847687,
+ "gil": 0.08304286,
+ "percent": 0.22534154,
+ "aggregate": 0.49321824,
+ "sql": 0.39384392,
+ "network": 0.17150898,
+ "database": 0.4716459,
+ "total": 0.37323982,
+ "computing": 0.30356488,
+ "array": 0.18906216,
+ "parameter": 0.5553057,
+ "of": 0.0033254107,
+ "define": 0.014222097,
+ "##lib": 0.19545744,
+ "value": 0.77914673,
+ "included": 0.3447118,
+ "equation": 0.023300884,
+ "clear": 0.41244504,
+ "harold": 0.07314463,
+ "distinguished": 0.24236453,
+ "serial": 0.29804724,
+ "##user": 0.09617745,
+ "user": 0.13613096,
+ "properties": 0.40703022
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-agg-count-distinct]]\n=== `COUNT_DISTINCT`\nThe approximate number of distinct values.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/stats_count_distinct.csv-spec[tag=count-distinct]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/stats_count_distinct.csv-spec[tag=count-distinct-result]\n|===\n\nCan take any field type as input and the result is always a `long` not matter\nthe input type.\n\n[discrete]\n==== Counts are approximate\n\nComputing exact counts requires loading values into a set and returning its\nsize. This doesn't scale when working on high-cardinality sets and/or large\nvalues as the required memory usage and the need to communicate those\nper-shard sets between nodes would utilize too many resources of the cluster.\n\nThis `COUNT_DISTINCT` function is based on the\nhttps://static.googleusercontent.com/media/research.google.com/fr//pubs/archive/40671.pdf[HyperLogLog++]\nalgorithm, which counts based on the hashes of the values with some interesting\nproperties:\n\ninclude::../../aggregations/metrics/cardinality-aggregation.asciidoc[tag=explanation]\n\n[discrete]\n==== Precision is configurable\n\nThe `COUNT_DISTINCT` function takes an optional second parameter to configure the\nprecision discussed previously.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/stats_count_distinct.csv-spec[tag=count-distinct-precision]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/stats_count_distinct.csv-spec[tag=count-distinct-precision-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "0c6e2819-2cb2-435e-bb33-8538b541d8b9",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/date_extract.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##d": 0.644129,
+ "year": 0.94310856,
+ "allowed": 0.27350286,
+ "styled": 0.90161127,
+ "##frame": 0.19258158,
+ "##l": 1.4747708,
+ "extracted": 0.4886786,
+ "java": 1.5477812,
+ "##s": 0.1300133,
+ "styling": 0.39825404,
+ "dev": 0.028048305,
+ "##v": 0.9514079,
+ "xml": 0.44362578,
+ "jan": 0.15815367,
+ "merge": 1.2986153,
+ "record": 0.47719103,
+ "api": 1.1168815,
+ "temporal": 1.2778021,
+ "portions": 0.046317387,
+ "%": 0.35757577,
+ "tex": 0.3918262,
+ "##of": 1.1443803,
+ "module": 0.055314403,
+ "##ield": 1.962034,
+ "analysis": 0.44695133,
+ "version": 0.16949864,
+ "-": 0.1236468,
+ "tags": 0.23124813,
+ "as": 0.06985175,
+ "8": 1.0396088,
+ "extracts": 1.004361,
+ "components": 0.4416217,
+ "document": 0.6951709,
+ "scan": 0.05055343,
+ "association": 0.05301391,
+ "global": 0.041556742,
+ "result": 0.72728467,
+ "pieces": 0.03557092,
+ "search": 0.16050072,
+ "genre": 0.055204645,
+ "[": 1.0084419,
+ "fred": 0.46115902,
+ "]": 0.587004,
+ "_": 1.0294572,
+ "sep": 0.4152637,
+ "latest": 0.061832704,
+ "calendar": 0.13098171,
+ "website": 0.17746696,
+ "d": 0.43534505,
+ "ch": 1.0470268,
+ "column": 0.18551438,
+ "j": 0.6985959,
+ "suppress": 0.1939741,
+ "sample": 0.30672684,
+ "cs": 1.2330139,
+ "pull": 0.09683806,
+ "ibm": 0.48258236,
+ "##uation": 0.18013759,
+ "timeline": 0.7826947,
+ "|": 0.31292495,
+ "da": 0.48427564,
+ "chart": 0.14997815,
+ "supported": 0.9823785,
+ "font": 0.019524649,
+ "dd": 0.25243503,
+ "calculation": 0.16735488,
+ "##inger": 0.14994746,
+ "dh": 0.4592746,
+ "dj": 0.13880707,
+ "anne": 0.5752954,
+ "historical": 0.06894221,
+ "retrieved": 0.112255014,
+ "source": 0.43279794,
+ "accounting": 0.17691708,
+ "specifications": 0.41821846,
+ "##ron": 1.3285773,
+ "ds": 1.0512401,
+ "apache": 0.6162153,
+ "results": 0.025491728,
+ "ed": 0.7337227,
+ "which": 0.0074784565,
+ "##se": 0.9396041,
+ "oracle": 1.6381131,
+ "eric": 0.08529618,
+ "batch": 0.067355946,
+ "sha": 0.18269008,
+ "sections": 0.10783233,
+ "discrete": 1.9500092,
+ "extract": 1.7666987,
+ "month": 0.80401695,
+ "parts": 0.9425549,
+ "http": 0.052619953,
+ "fields": 1.3476925,
+ "##tra": 1.2228636,
+ "support": 0.61741495,
+ "coin": 0.009593338,
+ "##ct": 0.61340636,
+ "formats": 0.7184303,
+ "memory": 0.11935653,
+ "blank": 0.04600105,
+ "string": 0.26330665,
+ "import": 0.24337943,
+ "provided": 0.5755209,
+ "interface": 0.091237314,
+ "inventory": 0.04165394,
+ "capt": 0.0020340246,
+ "remove": 0.53775316,
+ "sid": 0.5660869,
+ "mono": 0.9681923,
+ "class": 0.28696185,
+ "mask": 0.23110111,
+ "digital": 0.110300876,
+ "types": 1.2533712,
+ "hours": 0.56006366,
+ "specification": 0.6083292,
+ "syntax": 0.43091318,
+ "time": 1.0196677,
+ "pub": 0.15437317,
+ "brent": 0.06289403,
+ "##ex": 1.3571776,
+ "select": 0.29354668,
+ "software": 0.6387951,
+ "gage": 0.33403328,
+ "pun": 0.26170966,
+ "type": 1.0817993,
+ "years": 0.46226278,
+ "compatible": 0.19183952,
+ "peg": 0.59796995,
+ "##space": 1.0944147,
+ "jerry": 0.3602472,
+ "text": 0.17199048,
+ "https": 0.03012746,
+ "algorithm": 0.38283613,
+ "period": 0.45879552,
+ "index": 0.59146833,
+ "dates": 1.2119533,
+ "extraction": 0.6135075,
+ "script": 0.29732397,
+ "field": 1.5656025,
+ "analyze": 0.21824907,
+ "doc": 1.1861885,
+ "style": 0.6464021,
+ "math": 0.30257115,
+ "jude": 0.3339231,
+ "server": 0.14995064,
+ "log": 0.57024705,
+ "pattern": 0.0036835694,
+ "##ction": 0.21585482,
+ "##arat": 0.857697,
+ "file": 0.61086166,
+ "julia": 0.30251652,
+ "table": 0.049496498,
+ "editor": 0.5446349,
+ "include": 0.43465462,
+ "display": 0.22058184,
+ "excel": 0.3598509,
+ "framework": 0.16331388,
+ "fetch": 0.14840014,
+ "report": 0.10825733,
+ "cod": 0.026244942,
+ "date": 1.6433386,
+ "esq": 1.9356128,
+ "data": 0.69997597,
+ "dice": 0.37759987,
+ "spec": 1.4946923,
+ "space": 0.5024101,
+ "protocol": 0.029512132,
+ "tab": 0.23972973,
+ "continuous": 0.9287573,
+ "##field": 0.12552102,
+ "html": 0.7689611,
+ "lap": 0.12584114,
+ "dax": 0.0022978587,
+ "tag": 0.73796374,
+ "buffer": 0.29707202,
+ "day": 0.6798504,
+ "bean": 0.2311312,
+ "combine": 0.17192143,
+ "like": 0.055827595,
+ "format": 1.0765654,
+ "capture": 0.4018955,
+ "archive": 0.6507072,
+ "clock": 0.50702703,
+ "sort": 0.2234893,
+ "tool": 0.19830559,
+ "sequence": 0.3331907,
+ "jamie": 0.28326002,
+ "core": 0.2770884,
+ "header": 0.8878867,
+ "retrieve": 0.546518,
+ "birthday": 0.033614997,
+ "code": 0.018131932,
+ "part": 0.61919457,
+ "cad": 0.21048789,
+ "exile": 0.21693094,
+ "link": 0.03225459,
+ "gil": 0.09887859,
+ "platform": 0.068280175,
+ "sql": 0.30178767,
+ "database": 0.6402636,
+ "hour": 0.79119533,
+ "of": 0.048011437,
+ "dated": 0.5448083,
+ "##lib": 0.042552065,
+ "recover": 0.007947253,
+ "command": 0.07464862,
+ "serial": 0.64988256
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-date_extract]]\n=== `DATE_EXTRACT`\nExtracts parts of a date, like year, month, day, hour.\nThe supported field types are those provided by https://docs.oracle.com/javase/8/docs/api/java/time/temporal/ChronoField.html[java.time.temporal.ChronoField].\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=dateExtract]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=dateExtract-result]\n|===\n\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "50c35413-cae8-41f0-b913-529d2cb0bed6",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/date_format.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##d": 0.24021521,
+ "software": 0.19548528,
+ "year": 0.3773423,
+ "maintain": 0.035748877,
+ "##h": 0.928229,
+ "ya": 0.5007831,
+ "during": 0.0049489858,
+ "##l": 1.5798621,
+ "years": 0.019095752,
+ "without": 0.003384578,
+ "java": 0.7612738,
+ "peg": 0.50915545,
+ "len": 0.04920216,
+ "notation": 0.23908813,
+ "record": 0.50068533,
+ "##y": 1.1528218,
+ "hired": 1.324662,
+ "##z": 0.2615732,
+ "jerry": 0.37837327,
+ "enter": 0.25002563,
+ "yu": 0.16146511,
+ "algorithm": 0.14643121,
+ "period": 0.5010841,
+ "in": 0.035176817,
+ "'": 0.35488677,
+ "specify": 0.89479226,
+ "(": 0.11121507,
+ "index": 0.5814612,
+ "dates": 1.2857224,
+ "-": 0.39897308,
+ "script": 0.2803031,
+ "provide": 0.8632158,
+ "field": 0.2103632,
+ "returns": 0.03567756,
+ "payroll": 0.2332295,
+ "math": 0.21506947,
+ "=": 0.6171653,
+ "log": 0.56054384,
+ "document": 0.45136598,
+ "save": 0.5368807,
+ "retain": 0.39468828,
+ "pattern": 0.19554028,
+ "hungarian": 0.8453045,
+ "matrix": 0.02448497,
+ "specified": 0.35455894,
+ "hungary": 0.019882195,
+ "remember": 0.30376804,
+ "file": 0.58845234,
+ "julia": 0.15950185,
+ "audit": 0.16661224,
+ "[": 0.9509414,
+ "fred": 0.10045793,
+ "]": 0.7349392,
+ "workers": 0.6430691,
+ "table": 0.22331281,
+ "email": 0.12281402,
+ "_": 1.1625202,
+ "ss": 1.2054045,
+ "calendar": 0.012122174,
+ "editor": 0.059506852,
+ "address": 0.08635434,
+ "d": 0.4234711,
+ "keeping": 0.50617766,
+ "supplied": 0.08537575,
+ "display": 0.40620187,
+ "h": 0.84416634,
+ "column": 0.23899943,
+ "miranda": 0.03066935,
+ "entered": 0.06964529,
+ "store": 0.04663226,
+ "excel": 0.7143746,
+ "names": 0.10070501,
+ "t": 0.4516606,
+ "report": 0.42244056,
+ "y": 1.2776041,
+ "cod": 0.35256338,
+ "timeline": 0.25928113,
+ "returned": 0.5337482,
+ "polish": 0.15134516,
+ "da": 0.39589465,
+ "return": 0.82898253,
+ "transaction": 0.20615377,
+ "db": 0.15341274,
+ "first": 0.13291728,
+ "discreet": 0.106571116,
+ "entity": 0.042587593,
+ "represent": 0.5792697,
+ "date": 1.8337035,
+ "dd": 1.3681309,
+ "acc": 0.25623482,
+ "calculation": 0.20933685,
+ "ass": 0.102024235,
+ "esq": 1.9431378,
+ "data": 0.6762602,
+ "dj": 0.027153296,
+ "dice": 0.25720623,
+ "anne": 0.47378162,
+ "accounting": 0.86538583,
+ "used": 0.27019334,
+ "integer": 0.11730937,
+ "employee": 1.287747,
+ "operator": 0.081415206,
+ "protocol": 0.011280567,
+ "apache": 0.28201547,
+ "tab": 0.1307193,
+ "continuous": 0.880582,
+ "function": 0.5191972,
+ "lap": 0.46560326,
+ "from": 0.08739456,
+ "ren": 0.051943053,
+ "buffer": 0.12951241,
+ "day": 0.3638095,
+ "ed": 0.78281033,
+ "mm": 1.3225605,
+ "which": 0.15205756,
+ "par": 0.079604365,
+ "given": 0.15438849,
+ "last": 0.63077927,
+ "format": 1.7615905,
+ "batch": 0.3996451,
+ "archive": 0.26598895,
+ "list": 0.22918235,
+ "discrete": 1.9999629,
+ "julian": 0.14819705,
+ "sequence": 0.24166451,
+ "core": 0.14210097,
+ "month": 0.24466364,
+ "recruit": 0.035773605,
+ "keep": 0.99853575,
+ "colleagues": 0.09241041,
+ "name": 0.07626203,
+ "retrieve": 0.22747338,
+ "budapest": 0.45528218,
+ "employees": 1.2060668,
+ "job": 0.58982307,
+ "decimal": 0.36408827,
+ "fields": 0.1532212,
+ "formats": 1.0548159,
+ "code": 0.3539064,
+ "blank": 0.27323768,
+ "memory": 0.16313334,
+ "hire": 1.5087233,
+ "string": 1.2879165,
+ "import": 0.064772345,
+ "provided": 1.3692918,
+ "nu": 0.28190532,
+ "cad": 0.2764593,
+ "storage": 0.39950007,
+ "gil": 0.13583815,
+ "inventory": 0.19369815,
+ "interface": 0.02656852,
+ "representation": 1.2148728,
+ "sid": 0.57745445,
+ "sql": 0.55777603,
+ "eva": 1.6476496,
+ "database": 0.34071523,
+ "##sz": 1.5754901,
+ "dated": 0.49192506,
+ "sheet": 0.16755715,
+ "##lib": 0.026048098,
+ "class": 0.18020867,
+ "keyboard": 0.009559569,
+ "command": 0.16363609,
+ "structure": 0.053463314,
+ "serial": 0.7493385,
+ "management": 0.058776937,
+ "syntax": 0.6796479,
+ "time": 0.22993122,
+ "pub": 0.4196394
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-date_format]]\n=== `DATE_FORMAT`\nReturns a string representation of a date in the provided format. If no format\nis specified, the `yyyy-MM-dd'T'HH:mm:ss.SSSZ` format is used.\n\n[source,esql]\n----\nFROM employees\n| KEEP first_name, last_name, hire_date\n| EVAL hired = DATE_FORMAT(\"YYYY-MM-dd\", hire_date)\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "3a03618d-cc02-4ab9-95c8-c92e189c9e1f",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/date_parse.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##d": 0.5240531,
+ "software": 0.0071307686,
+ "year": 0.25889483,
+ "##e": 0.22529559,
+ "styled": 0.8900138,
+ "texas": 0.5301588,
+ "program": 0.35911822,
+ "##l": 1.4822227,
+ "java": 1.5554732,
+ "peg": 0.64615494,
+ "##t": 0.16590346,
+ "styling": 0.03993533,
+ "##v": 0.90307087,
+ "notation": 0.013464002,
+ "merge": 1.2841324,
+ "record": 0.18837309,
+ "##space": 0.2476254,
+ "nan": 0.026166558,
+ "api": 1.0299152,
+ "jerry": 0.36480144,
+ "text": 0.19600311,
+ "if": 0.32427946,
+ "period": 0.23178673,
+ "14": 0.549773,
+ "tex": 0.37023908,
+ "(": 0.23619817,
+ "index": 0.39530143,
+ "dates": 1.1657875,
+ "*": 0.074275486,
+ "analysis": 0.087301925,
+ "script": 0.31947806,
+ "##sing": 0.6171801,
+ "doc": 0.81457067,
+ "style": 0.5647542,
+ "math": 0.32040444,
+ "jude": 0.28393152,
+ "log": 0.11887874,
+ "document": 0.17613131,
+ "pattern": 0.0015967251,
+ "bp": 0.07394053,
+ "example": 0.29106072,
+ "result": 0.49173117,
+ "##arat": 0.035436656,
+ "file": 0.34904438,
+ "composed": 0.0120453825,
+ "[": 0.575242,
+ "fred": 0.22075489,
+ "]": 0.08632558,
+ "table": 0.029254109,
+ "_": 1.1327776,
+ "editor": 0.26328647,
+ "include": 0.2605189,
+ "mat": 0.08784756,
+ "expression": 0.9239135,
+ "d": 0.33808815,
+ "display": 0.3876351,
+ "j": 0.6899508,
+ "##atter": 1.2567627,
+ "cs": 1.0834758,
+ "excel": 0.4472715,
+ "radar": 0.17829007,
+ "timeline": 0.59031415,
+ "cod": 0.05167332,
+ "describe": 0.57462233,
+ "returned": 0.49025953,
+ "da": 0.4529482,
+ "chart": 0.092998445,
+ "return": 0.62372404,
+ "charlie": 0.14125124,
+ "date": 1.8962506,
+ "calculation": 0.1835112,
+ "ass": 0.10452336,
+ "esq": 1.8234226,
+ "argument": 0.8066914,
+ "tx": 0.7110886,
+ "data": 0.6455252,
+ "dj": 0.23536655,
+ "dice": 0.22505964,
+ "anne": 0.348578,
+ "language": 0.09301756,
+ "source": 0.9480072,
+ "accounting": 0.11729124,
+ "specifications": 0.15049054,
+ "spec": 1.1628798,
+ "empty": 0.96549433,
+ "ds": 0.6222455,
+ "apache": 0.36093128,
+ "function": 1.251718,
+ "continuous": 0.77620167,
+ "html": 0.42370805,
+ "lap": 0.04274843,
+ "tag": 0.36565006,
+ "##para": 0.13010196,
+ "buffer": 0.046862293,
+ "day": 0.46933055,
+ "ed": 0.62522733,
+ "par": 1.422523,
+ "##se": 1.4447209,
+ "oracle": 1.4924783,
+ "eh": 0.0049103145,
+ "format": 1.3915335,
+ "archive": 0.22807047,
+ "sort": 0.4633177,
+ "clock": 0.27565295,
+ "discrete": 1.8634939,
+ "sequence": 0.1871519,
+ "jamie": 0.12931237,
+ "core": 0.09288493,
+ "null": 1.6348042,
+ "header": 0.2990148,
+ "parameters": 1.0081115,
+ "##par": 1.4178451,
+ "formats": 0.65022445,
+ "blank": 0.4698594,
+ "code": 0.14839418,
+ "string": 1.1376305,
+ "import": 0.11787946,
+ "description": 1.012762,
+ "gil": 0.24907908,
+ "error": 0.14793696,
+ "sid": 0.45705587,
+ "sql": 0.44621065,
+ "mono": 0.08266506,
+ "database": 0.32115358,
+ "times": 0.05483288,
+ "plot": 0.26252863,
+ "array": 0.005942534,
+ "parameter": 0.41650692,
+ "define": 0.21800284,
+ "dated": 0.6021228,
+ "dating": 0.087503895,
+ "class": 0.118961826,
+ "specification": 0.10121203,
+ "spread": 0.31424046,
+ "##time": 1.0442551,
+ "##form": 1.4244615,
+ "serial": 0.74705064,
+ "syntax": 1.4206848,
+ "arguments": 0.19819443,
+ "time": 1.0225493,
+ "pub": 0.06586896,
+ "##ser": 0.06254885,
+ "base": 0.13360831
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-date_parse]]\n=== `DATE_PARSE`\n\n*Syntax*\n\n[source,txt]\n----\nDATE_PARSE([format,] date_string)\n----\n\n*Parameters*\n\n`format`::\nThe date format. Refer to the\nhttps://docs.oracle.com/en/java/javase/14/docs/api/java.base/java/time/format/DateTimeFormatter.html[`DateTimeFormatter`\ndocumentation] for the syntax. If `null`, the function returns `null`.\n\n`date_string`::\nDate expression as a string. If `null` or an empty string, the function returns\n`null`.\n\n*Description*\n\nReturns a date by parsing the second argument using the format specified in the\nfirst argument.\n\n*Example*\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=dateParse]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=dateParse-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "6af8773f-cb2c-42c6-afbd-00bcdb277fd2",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/date_time_functions.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 0.74486804,
+ "functions": 0.9623422,
+ "software": 0.28676605,
+ "gage": 0.03751315,
+ "##l": 1.4980805,
+ "compatible": 0.031715754,
+ "java": 1.0585215,
+ "peg": 0.5833056,
+ "##v": 0.5271337,
+ "jerry": 0.26757255,
+ "algorithm": 0.22550112,
+ "gene": 0.016439114,
+ "pool": 0.051019795,
+ "index": 0.7179699,
+ "dates": 0.9727009,
+ "+": 0.9499481,
+ "extraction": 0.08923432,
+ "analysis": 0.073100306,
+ "-": 0.12269857,
+ "script": 0.25346437,
+ "tags": 0.41140828,
+ "bucket": 1.4039199,
+ "as": 0.55059296,
+ "math": 0.50471574,
+ "jude": 0.09910911,
+ "server": 0.15478171,
+ "functional": 0.025302406,
+ "##bre": 1.2738587,
+ "bp": 0.017835123,
+ "capacity": 0.18499258,
+ "##bra": 0.14237861,
+ "file": 0.23146142,
+ "library": 0.10648399,
+ "julia": 0.06475793,
+ "[": 0.22291875,
+ "fred": 0.06705935,
+ "_": 0.8923565,
+ "include": 0.7547868,
+ "editor": 0.6163082,
+ "display": 0.6518731,
+ "column": 0.40551573,
+ "##id": 0.72363,
+ "excel": 0.43002585,
+ "cod": 0.31677958,
+ "timeline": 0.2687675,
+ "php": 0.0075818636,
+ "tr": 0.9608553,
+ "date": 1.7388278,
+ "checkpoint": 0.10165397,
+ "esq": 1.8377225,
+ "auto": 1.2262385,
+ "data": 0.12372339,
+ "dj": 0.5437744,
+ "anne": 0.68669975,
+ "##ab": 1.0153751,
+ "protocol": 0.034019507,
+ "apache": 0.5631756,
+ "function": 1.2268535,
+ "html": 0.14197904,
+ "tag": 1.0042399,
+ "buffer": 0.20786642,
+ "day": 0.43291757,
+ "ed": 0.44676214,
+ "par": 0.7610887,
+ "##se": 0.7993688,
+ "including": 0.18265206,
+ "format": 1.1633294,
+ "batch": 0.05161966,
+ "##ido": 1.4041796,
+ "archive": 0.24962951,
+ "clock": 0.77149904,
+ "sort": 0.056410726,
+ "list": 1.0213853,
+ "plus": 0.31669152,
+ "##ca": 0.029562825,
+ "##idi": 0.03215786,
+ "jamie": 0.3809139,
+ "sequence": 0.23506147,
+ "extract": 1.3533162,
+ "lists": 0.58813363,
+ "##ida": 0.4737117,
+ "decimal": 0.016408859,
+ "support": 0.18731105,
+ "useful": 0.14801571,
+ "formats": 0.43441623,
+ "code": 0.108428486,
+ "import": 0.0911409,
+ "cad": 0.43223947,
+ "title": 0.4213816,
+ "interface": 0.11306384,
+ "sid": 0.5831532,
+ "sql": 0.20828262,
+ "timer": 0.2669607,
+ "database": 0.44644806,
+ "times": 0.20355113,
+ "array": 0.094877705,
+ "##ci": 1.2614391,
+ "now": 1.0260626,
+ "today": 0.053334706,
+ "dated": 0.24543999,
+ "david": 0.16038598,
+ "##lib": 0.13180919,
+ "class": 0.30059987,
+ "keyboard": 0.21068539,
+ "##un": 1.2412827,
+ "automatic": 0.49914873,
+ "serial": 0.8959572,
+ "syntax": 0.47010282,
+ "time": 1.2888935,
+ "pub": 0.42580938
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-date-time-functions]]\n==== {esql} date-time functions\n\n++++\nDate-time functions\n++++\n\n{esql} supports these date-time functions:\n\n// tag::date_list[]\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n// end::date_list[]\n\ninclude::auto_bucket.asciidoc[]\ninclude::date_extract.asciidoc[]\ninclude::date_format.asciidoc[]\ninclude::date_parse.asciidoc[]\ninclude::date_trunc.asciidoc[]\ninclude::now.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "7e302e89-05cf-4761-a66c-a3868bdd4520",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/date_trunc.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "decade": 0.26981777,
+ "##c": 0.86757827,
+ "##d": 0.3219216,
+ "year": 1.1999578,
+ "gage": 0.12766403,
+ "arithmetic": 0.13878943,
+ "##frame": 0.6572142,
+ "##l": 1.497618,
+ "salary": 0.039964885,
+ "years": 0.8034963,
+ "##p": 1.2056895,
+ "java": 0.83349556,
+ "peg": 0.5891254,
+ "stats": 0.84981287,
+ "notation": 0.47784176,
+ "record": 0.3688851,
+ "rank": 0.15939125,
+ "hired": 1.2802205,
+ "near": 0.10563336,
+ "calculate": 0.041100238,
+ "algorithm": 0.3745593,
+ "fired": 0.017277563,
+ "period": 0.813129,
+ "'": 0.010460077,
+ "(": 0.15463434,
+ "index": 0.45142433,
+ "dates": 1.2222221,
+ "analysis": 0.22671278,
+ "-": 0.2306233,
+ "script": 0.2305312,
+ "1": 0.7139315,
+ "sorted": 0.40012452,
+ "integration": 0.08448582,
+ "rounded": 0.31462216,
+ "interval": 1.7319446,
+ "math": 0.6213471,
+ "<": 0.21091914,
+ "=": 0.048525326,
+ "statistical": 0.62335706,
+ "log": 0.40367067,
+ "periodic": 0.058711067,
+ "exercise": 0.035280623,
+ "sum": 0.017650202,
+ "bp": 0.030521013,
+ "literal": 1.3947483,
+ "routing": 0.03827481,
+ "file": 0.078609005,
+ "audit": 0.081561014,
+ "by": 0.007857959,
+ "periods": 0.25097212,
+ "[": 1.0395987,
+ "fred": 0.1091346,
+ "]": 0.69717985,
+ "workers": 0.62171954,
+ "close": 0.2288547,
+ "table": 0.3819223,
+ "_": 0.9566817,
+ "include": 0.20931953,
+ "mat": 0.059621975,
+ "stat": 0.26247737,
+ "continuum": 0.15611617,
+ "expression": 0.91328424,
+ "d": 0.2376893,
+ "column": 0.31183863,
+ "rounding": 0.9720789,
+ "sample": 0.08616001,
+ "transition": 0.012637298,
+ "excel": 0.65375555,
+ "century": 0.16740721,
+ "series": 0.056398332,
+ "report": 0.24833976,
+ "timeline": 0.45831576,
+ "cod": 0.18902606,
+ "chart": 0.45843425,
+ "da": 0.18308078,
+ "tr": 1.4039607,
+ "rounds": 1.3169543,
+ "statistics": 0.82689047,
+ "span": 0.5263936,
+ "ratio": 0.4213852,
+ "date": 1.6009679,
+ "calculation": 0.6445426,
+ "esq": 1.7980628,
+ "constant": 0.14603089,
+ "data": 0.59216076,
+ "##au": 0.2601035,
+ "approximate": 0.15135428,
+ "anne": 0.43849698,
+ "historical": 0.050566006,
+ "express": 0.58117706,
+ "accounting": 0.7027164,
+ "integer": 0.18172438,
+ "source": 0.11165101,
+ "employee": 1.2285188,
+ "down": 1.0190312,
+ "nearest": 0.97096056,
+ "descending": 0.1969279,
+ "operator": 0.19025432,
+ "apache": 0.3588527,
+ "continuous": 1.0011617,
+ "function": 0.19492266,
+ "from": 0.3156074,
+ "dax": 0.23951462,
+ "lap": 0.21158002,
+ "expressed": 1.0343354,
+ "buffer": 0.15720809,
+ "up": 0.06789185,
+ "pan": 0.75057673,
+ "day": 0.031784583,
+ "ed": 0.5555161,
+ "which": 0.08987893,
+ "par": 0.038478095,
+ "eh": 0.13318434,
+ "em": 1.2642101,
+ "count": 1.0923054,
+ "format": 0.60828847,
+ "batch": 0.09822711,
+ "archive": 0.036921076,
+ "sort": 1.2241281,
+ "clock": 0.033123598,
+ "discrete": 1.9699771,
+ "sequence": 0.34679854,
+ "core": 0.1902758,
+ "intervals": 1.7103755,
+ "unit": 0.007853464,
+ "month": 0.09111489,
+ "colleagues": 0.109915294,
+ "employees": 1.1781505,
+ "decimal": 0.32255226,
+ "job": 0.3018543,
+ "##pan": 1.624022,
+ "code": 0.20415683,
+ "hire": 1.3925694,
+ "string": 0.33956212,
+ "cad": 0.2501761,
+ "nu": 0.10225576,
+ "inventory": 0.28541306,
+ "percent": 0.26137778,
+ "sql": 0.54374325,
+ "sid": 0.4090697,
+ "eva": 1.6804065,
+ "times": 1.1786516,
+ "database": 0.22736466,
+ "along": 0.31110117,
+ "plot": 0.14118923,
+ "sorting": 0.3326817,
+ "define": 0.1870298,
+ "dated": 0.26367998,
+ "paradox": 0.1655745,
+ "predict": 0.027454311,
+ "##lib": 0.083595864,
+ "class": 0.25842136,
+ "cipher": 0.008435216,
+ "equation": 0.24890928,
+ "length": 0.18742877,
+ "##un": 1.614464,
+ "rhythm": 0.16727754,
+ "schedule": 0.34726,
+ "round": 1.1923615,
+ "serial": 0.4985716,
+ "pe": 0.29028982,
+ "management": 0.010784085,
+ "syntax": 1.2249633,
+ "formula": 0.29006028,
+ "time": 0.90534794,
+ "tally": 0.0053524524,
+ "closest": 1.2594975,
+ "demographics": 0.20588687
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-date_trunc]]\n=== `DATE_TRUNC`\nRounds down a date to the closest interval. Intervals can be expressed using the\n<>.\n\n[source,esql]\n----\nFROM employees\n| EVAL year_hired = DATE_TRUNC(1 year, hire_date)\n| STATS count(emp_no) BY year_hired\n| SORT year_hired\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "b0513193-d77a-4109-bf35-de0684d6759f",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/e.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.24240533,
+ "fancy": 0.23429276,
+ "functions": 0.80828166,
+ "##d": 0.4364248,
+ "software": 0.14835297,
+ "##e": 0.30582246,
+ "##g": 0.8268189,
+ "gage": 0.29657802,
+ "pun": 0.21337654,
+ "fin": 0.078289054,
+ "styled": 0.94162995,
+ "##frame": 0.18400203,
+ "alphabet": 0.13554266,
+ "during": 0.06104146,
+ "##l": 1.5209377,
+ "signatures": 0.59054345,
+ "number": 0.98830014,
+ "elmer": 0.19826062,
+ "java": 0.69512635,
+ "peg": 0.6594861,
+ "styling": 0.42941764,
+ "##v": 1.0470722,
+ "notation": 0.3572394,
+ "merge": 1.4907845,
+ "##space": 1.0704142,
+ "text": 1.0793852,
+ "jerry": 0.05293149,
+ "algorithm": 0.59784704,
+ "images": 0.3890002,
+ "%": 0.6123922,
+ "gene": 0.3063601,
+ "league": 0.04853282,
+ "index": 0.60216516,
+ "signed": 0.47666487,
+ "analysis": 0.1922111,
+ "-": 0.27119958,
+ "script": 0.1841249,
+ "tags": 0.18777068,
+ "/": 0.10573729,
+ "analog": 0.005579731,
+ "integration": 0.21572523,
+ "style": 0.6708837,
+ "math": 1.4938825,
+ "template": 0.14098302,
+ "signature": 1.5095378,
+ "log": 0.07204543,
+ "jp": 0.39362964,
+ "##ler": 1.9155996,
+ "pascal": 0.017087381,
+ "pattern": 0.23398554,
+ "stamp": 0.028452178,
+ "matrix": 0.2407534,
+ "result": 0.9019686,
+ "##arat": 0.5339139,
+ "characters": 0.027663287,
+ "file": 0.66711694,
+ "si": 0.37445906,
+ "electronic": 0.46433434,
+ "vector": 0.5488953,
+ "wikipedia": 0.9039154,
+ "[": 0.72443694,
+ "fred": 0.44808632,
+ "embedded": 1.3647223,
+ "graphic": 0.82218546,
+ "morris": 0.085422926,
+ "]": 0.08268098,
+ "_": 0.7661192,
+ "sep": 0.23108323,
+ "include": 0.64470905,
+ "editor": 0.2764517,
+ "website": 0.12571763,
+ "sv": 1.1140814,
+ "expression": 0.078516215,
+ "contain": 0.025704484,
+ "d": 0.25496972,
+ "e": 2.0040667,
+ "heading": 0.21386853,
+ "display": 0.43001157,
+ "column": 0.031545512,
+ "sample": 0.14554754,
+ "cs": 1.1634165,
+ "excel": 0.27518818,
+ "diagram": 0.033676315,
+ "p": 0.012506157,
+ "s": 0.13761479,
+ "v": 0.1205434,
+ "##uation": 0.06019751,
+ "organized": 0.013291564,
+ "|": 0.25382644,
+ "}": 0.7586664,
+ "chart": 0.17496893,
+ "mathematical": 1.3018401,
+ "font": 0.447472,
+ "calculation": 0.31854865,
+ "ass": 0.24355492,
+ "dd": 0.031747166,
+ "symbol": 0.24452893,
+ "esq": 2.1174405,
+ "constant": 1.2657896,
+ "allen": 0.17235036,
+ "dh": 0.32644266,
+ "data": 0.24764113,
+ "sign": 0.35228223,
+ "numbers": 0.13852511,
+ "anne": 0.79678386,
+ "edward": 0.528001,
+ "integer": 0.18655786,
+ "source": 0.070947915,
+ "lab": 0.1271566,
+ "specifications": 0.51615316,
+ "spec": 1.4770106,
+ "space": 0.40308908,
+ "ds": 1.0512137,
+ "apache": 0.119125225,
+ "academia": 0.09233737,
+ "function": 0.97775394,
+ "continuous": 0.76430684,
+ "html": 0.6628102,
+ "tag": 0.7735045,
+ "results": 0.04132457,
+ "ed": 0.64490104,
+ "combine": 0.17300405,
+ "ee": 0.64527917,
+ "image": 0.95891565,
+ "taylor": 0.63915575,
+ "including": 0.1793672,
+ "chess": 0.03125104,
+ "format": 0.9559785,
+ "eric": 0.13051552,
+ "archive": 0.35195857,
+ "sha": 0.21201108,
+ "graph": 0.063974924,
+ "discrete": 1.8872434,
+ "eu": 1.599797,
+ "core": 0.35026154,
+ "sequence": 0.07283179,
+ "jamie": 0.05943047,
+ "opt": 1.3318224,
+ "unit": 0.014182724,
+ "geometric": 0.8239542,
+ "coefficient": 0.29500794,
+ "header": 1.0385408,
+ "decimal": 0.50946903,
+ "coin": 0.050629925,
+ "algebraic": 0.084701724,
+ "opted": 0.2597823,
+ "code": 0.10303539,
+ "student": 0.26400897,
+ "mathematics": 0.108814,
+ "cad": 0.7019335,
+ "provided": 0.13087285,
+ "insert": 0.028474888,
+ "gil": 0.15690161,
+ "video": 0.15229857,
+ "interface": 0.28345308,
+ "error": 0.1384618,
+ "percent": 0.35833502,
+ "sid": 0.6422159,
+ "mono": 1.0015918,
+ "database": 0.15748441,
+ "para": 0.26936585,
+ "plot": 0.015528013,
+ "##lib": 0.09001633,
+ "class": 0.3281732,
+ "value": 0.028731143,
+ "__": 0.10501268,
+ "cipher": 0.025227783,
+ "equation": 0.55155385,
+ "center": 0.534939,
+ "specification": 0.52509475,
+ "zoom": 0.024338737,
+ "inline": 1.2648942,
+ "serial": 0.45465502,
+ "pub": 0.1592027,
+ "merger": 0.013451653
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-e]]\n=== `E`\n[.text-center]\nimage::esql/functions/signature/e.svg[Embedded,opts=inline]\n\n{wikipedia}/E_(mathematical_constant)[Euler's number].\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=e]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=e-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "4c235758-5f72-43fb-adec-7e6bed4080a0",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/ends_with.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.105726995,
+ "##c": 0.5623893,
+ "functions": 0.8678119,
+ "##d": 0.55602217,
+ "##g": 1.0600777,
+ "fin": 0.15938048,
+ "styled": 0.98613304,
+ "##frame": 0.04229007,
+ "##l": 1.60367,
+ "elmer": 0.32453343,
+ "java": 0.8243853,
+ "##s": 0.23739037,
+ "styling": 0.48801035,
+ "##v": 1.138866,
+ "xml": 0.17938365,
+ "jan": 0.12844938,
+ "merge": 1.5412955,
+ "api": 0.07936875,
+ "##lean": 1.2956932,
+ "%": 0.5965897,
+ "'": 0.13437013,
+ "(": 0.0050569247,
+ "analysis": 0.11414154,
+ "-": 0.27718925,
+ "tags": 0.36455134,
+ "/": 0.24488425,
+ "as": 0.25708327,
+ "functional": 0.08511795,
+ "miscellaneous": 0.19841763,
+ "another": 0.6035931,
+ "matrix": 0.09774982,
+ "virus": 0.14528675,
+ "matching": 0.35403433,
+ "result": 0.7309267,
+ "search": 0.117039956,
+ "encryption": 0.13682039,
+ "vector": 0.4748579,
+ "where": 0.078384615,
+ "[": 0.58915544,
+ "fred": 0.3845826,
+ "embedded": 1.5052351,
+ "graphic": 0.7068196,
+ "]": 0.053814128,
+ "key": 0.8690339,
+ "_": 0.97501904,
+ "sep": 0.2644062,
+ "sami": 0.17740007,
+ "sv": 1.2042667,
+ "contain": 0.22748801,
+ "d": 0.03299535,
+ "sex": 0.29894337,
+ "words": 0.17980112,
+ "cs": 1.3274664,
+ "rachel": 0.012835505,
+ "collaboration": 0.0032632693,
+ "##uation": 0.16276,
+ "returned": 0.4821981,
+ "|": 0.27273032,
+ "}": 0.3760477,
+ "da": 0.28607032,
+ "supported": 0.9300773,
+ "font": 0.21571735,
+ "standard": 0.21690542,
+ "ass": 0.21059625,
+ "dd": 0.02782944,
+ "dh": 0.28571618,
+ "anne": 0.7132669,
+ "language": 0.031101517,
+ "source": 0.67330754,
+ "specifications": 0.63341755,
+ "ds": 1.0509571,
+ "apache": 0.40118158,
+ "results": 0.07676569,
+ "ed": 0.613736,
+ "termination": 0.16937377,
+ "image": 0.78014076,
+ "eh": 0.057309095,
+ "test": 0.035173595,
+ "holland": 0.06616669,
+ "patterns": 0.054803763,
+ "sha": 0.3049206,
+ "discrete": 1.8733805,
+ "opt": 1.5774533,
+ "ex": 0.20890133,
+ "##word": 1.4553723,
+ "final": 0.0263383,
+ "support": 0.53728306,
+ "opted": 0.3555422,
+ "formats": 0.32464296,
+ "string": 1.3416668,
+ "interface": 0.32775763,
+ "##son": 0.0860234,
+ "sid": 0.5699142,
+ "mono": 0.9637978,
+ "##ci": 1.2257991,
+ "ends": 1.4391932,
+ "end": 1.2852834,
+ "class": 0.3537422,
+ "cipher": 0.49663985,
+ "types": 1.168599,
+ "center": 0.64696133,
+ "length": 0.42052662,
+ "multiple": 0.22597557,
+ "specification": 0.7733684,
+ "with": 1.5367751,
+ "##with": 1.7908268,
+ "syntax": 0.5185422,
+ "pub": 0.25490433,
+ "mark": 0.013164509,
+ "fancy": 0.21565634,
+ "education": 0.039255865,
+ "software": 0.23199262,
+ "gage": 0.21954249,
+ "during": 0.059820518,
+ "type": 0.8272508,
+ "signatures": 0.48253924,
+ "compatible": 0.029035158,
+ "peg": 0.71634847,
+ "##space": 0.9329732,
+ "text": 0.969817,
+ "jerry": 0.5022059,
+ "algorithm": 0.48673013,
+ "images": 0.16081755,
+ "gene": 0.5151977,
+ "specify": 0.10350028,
+ "index": 0.6516458,
+ "signed": 0.5475729,
+ "script": 0.46106252,
+ "integration": 0.022806957,
+ "style": 0.7594932,
+ "math": 0.20959276,
+ "jude": 0.32023126,
+ "status": 0.059649605,
+ "template": 0.1320125,
+ "other": 0.021041734,
+ "signature": 1.4717985,
+ "log": 0.00736711,
+ "jp": 0.3032481,
+ "pattern": 0.42710465,
+ "##arat": 0.6309701,
+ "valid": 0.13455522,
+ "file": 0.52969944,
+ "strings": 0.005412211,
+ "course": 5.9825164E-4,
+ "eddy": 0.14016218,
+ "include": 1.0114372,
+ "editor": 0.64653486,
+ "within": 0.039747123,
+ "display": 0.46783862,
+ "##id": 0.76246274,
+ "excel": 0.080557376,
+ "ended": 0.5943229,
+ "cod": 0.120540544,
+ "return": 0.58608234,
+ "discreet": 0.11649835,
+ "indicator": 0.418753,
+ "checkpoint": 0.31260678,
+ "esq": 2.0684266,
+ "data": 0.22700134,
+ "sign": 0.17804407,
+ "dice": 0.03499335,
+ "spec": 1.8063179,
+ "space": 0.28883755,
+ "protocol": 0.070136406,
+ "tab": 0.006256044,
+ "whether": 0.2907602,
+ "function": 0.97224337,
+ "continuous": 0.71668065,
+ "html": 0.49541292,
+ "lap": 0.023410238,
+ "tag": 0.88624495,
+ "buffer": 0.08582507,
+ "including": 0.534905,
+ "format": 0.9963272,
+ "##ido": 1.6581621,
+ "archive": 0.30338472,
+ "finished": 0.09680787,
+ "includes": 0.019351732,
+ "sort": 0.1750719,
+ "tool": 0.014264522,
+ "ending": 0.6172531,
+ "jamie": 0.40467954,
+ "core": 0.24439591,
+ "sequence": 0.105392,
+ "##ida": 0.11098049,
+ "header": 1.1000891,
+ "retrieve": 0.20598623,
+ "##words": 0.6524394,
+ "boo": 1.2482008,
+ "code": 0.28134683,
+ "differentiation": 0.01816202,
+ "keys": 0.30782658,
+ "cad": 0.2196157,
+ "gil": 0.27449718,
+ "percent": 0.1548148,
+ "sql": 0.15341878,
+ "database": 0.03687259,
+ "para": 0.2040437,
+ "predict": 0.23247997,
+ "included": 0.36021492,
+ "chance": 0.10042494,
+ "determine": 0.14409381,
+ "match": 0.51535136,
+ "cross": 0.009055734,
+ "exactly": 0.28286102,
+ "command": 0.17456384,
+ "inline": 1.4015226,
+ "serial": 0.7513744
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-ends_with]]\n=== `ENDS_WITH`\n[.text-center]\nimage::esql/functions/signature/ends_with.svg[Embedded,opts=inline]\n\nReturns a boolean that indicates whether a keyword string ends with another\nstring:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=endsWith]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=endsWith-result]\n|===\n\nSupported types:\n\ninclude::types/ends_with.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "da0e8bf5-8df9-43d5-ab4a-99d730955433",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/floor.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 0.55607194,
+ "functions": 0.685249,
+ "##d": 0.342166,
+ "##g": 0.83850443,
+ "styled": 0.9552184,
+ "##l": 1.5164287,
+ "##o": 0.13770038,
+ "##p": 0.28496698,
+ "elmer": 0.25524268,
+ "java": 1.2902027,
+ "styling": 0.47794062,
+ "pick": 0.91908556,
+ "##v": 1.2041166,
+ "notation": 0.19548547,
+ "jan": 0.112070136,
+ "merge": 1.4782797,
+ "near": 0.33242163,
+ "cube": 0.10392154,
+ "%": 0.66229355,
+ "tex": 0.010154136,
+ "picks": 0.3669306,
+ "-": 0.23784824,
+ "tags": 0.28254375,
+ "/": 0.05494843,
+ "cue": 0.13634744,
+ "size": 0.052704096,
+ "guess": 0.007612505,
+ "rounded": 0.38567755,
+ "miscellaneous": 0.010134784,
+ "sum": 8.747327E-4,
+ "matrix": 0.18204579,
+ "two": 0.24784082,
+ "long": 1.0694261,
+ "result": 0.8792695,
+ "##op": 1.4735242,
+ "si": 0.008497747,
+ "vector": 0.52939737,
+ "[": 0.50631124,
+ "fred": 0.33587956,
+ "embedded": 1.3912212,
+ "graphic": 0.76781094,
+ "close": 0.35739127,
+ "_": 0.43494418,
+ "sep": 0.18402007,
+ "sami": 0.12592469,
+ "sv": 1.1829997,
+ "d": 0.089347385,
+ "column": 0.3723721,
+ "rounding": 0.9842478,
+ "j": 0.3222218,
+ "closer": 0.11407432,
+ "cs": 1.1745197,
+ "v": 0.20902854,
+ "|": 0.06268434,
+ "chart": 0.21239203,
+ "rounds": 0.86143994,
+ "supported": 0.5386866,
+ "font": 0.21417053,
+ "calculation": 0.1769765,
+ "dd": 0.03795695,
+ "symbol": 0.03714049,
+ "dh": 0.34197873,
+ "numbers": 0.5342732,
+ "anne": 0.5317615,
+ "source": 0.11637007,
+ "nearest": 1.1885111,
+ "down": 0.7963096,
+ "specifications": 0.511267,
+ "ds": 0.9700733,
+ "ata": 0.32603127,
+ "apache": 0.32495034,
+ "ed": 0.4240104,
+ "##ap": 0.07660847,
+ "par": 0.18275255,
+ "image": 0.7398741,
+ "chess": 0.40452084,
+ "sha": 0.1526786,
+ "discrete": 1.8007267,
+ "opt": 1.1901319,
+ "geometric": 0.40828368,
+ "decimal": 0.3895611,
+ "support": 0.19882578,
+ "opted": 0.009953745,
+ "formats": 0.272808,
+ "distance": 0.1948584,
+ "string": 0.041804407,
+ "video": 0.20675616,
+ "interface": 0.25871584,
+ "sid": 0.61740726,
+ "mono": 1.0797637,
+ "##ci": 1.0049274,
+ "class": 0.4170363,
+ "digital": 0.087385386,
+ "types": 0.8844576,
+ "center": 0.57397497,
+ "length": 0.17455022,
+ "specification": 0.4056636,
+ "room": 0.87257653,
+ "layout": 0.19521965,
+ "syntax": 0.34101883,
+ "##do": 0.8609882,
+ "pub": 0.18598473,
+ "fancy": 0.21482591,
+ "select": 0.5224658,
+ "software": 0.47615933,
+ "gage": 0.09416969,
+ "pun": 0.0394562,
+ "arithmetic": 0.0630982,
+ "during": 0.078021705,
+ "type": 0.5604433,
+ "signatures": 0.43850583,
+ "integers": 0.4290257,
+ "number": 0.9075692,
+ "compatible": 0.0146617815,
+ "peg": 0.4248034,
+ "##space": 1.0260594,
+ "text": 0.9714296,
+ "jerry": 0.24044646,
+ "algorithm": 0.5140158,
+ "images": 0.17504488,
+ "shape": 0.32474428,
+ "double": 1.5239253,
+ "index": 0.61945957,
+ "signed": 0.47780067,
+ "script": 0.36905146,
+ "doubles": 0.5286085,
+ "style": 0.6783442,
+ "math": 1.4461504,
+ "template": 0.16855113,
+ "longest": 0.10966139,
+ "signature": 1.4352275,
+ "log": 0.03394023,
+ "jp": 0.24615237,
+ "pattern": 0.20872816,
+ "##arat": 0.52367425,
+ "computer": 0.1559681,
+ "file": 0.50217956,
+ "composed": 0.04671509,
+ "table": 0.26730534,
+ "editor": 0.53191507,
+ "mat": 0.3109712,
+ "include": 0.25256497,
+ "heading": 0.047966667,
+ "display": 0.45074925,
+ "##id": 0.3291417,
+ "consolidation": 0.04291392,
+ "excel": 0.26314273,
+ "framework": 0.010598798,
+ "machine": 0.123954885,
+ "mathematical": 0.8873494,
+ "checkpoint": 0.16299833,
+ "esq": 2.0398118,
+ "data": 0.06753101,
+ "precision": 0.07797285,
+ "sign": 0.38422891,
+ "integer": 1.3431132,
+ "spec": 1.4943894,
+ "space": 0.46400502,
+ "protocol": 0.012642241,
+ "ala": 1.2783264,
+ "function": 0.8725768,
+ "continuous": 0.6659622,
+ "html": 0.8865139,
+ "lap": 0.13258481,
+ "tag": 0.8255684,
+ "buffer": 0.060707644,
+ "combine": 0.051090483,
+ "level": 0.5456107,
+ "format": 0.99229544,
+ "##ido": 1.3642088,
+ "archive": 0.17607594,
+ "sort": 0.51708084,
+ "picking": 0.532227,
+ "square": 0.47652522,
+ "core": 0.34859324,
+ "sequence": 0.33960548,
+ "jamie": 0.12227882,
+ "unit": 0.023053601,
+ "##ida": 0.3059386,
+ "header": 1.0428314,
+ "no": 0.46442333,
+ "code": 0.033531882,
+ "student": 0.10211035,
+ "mathematics": 0.09793402,
+ "cad": 0.66269535,
+ "percent": 0.16900668,
+ "platform": 0.119669,
+ "database": 0.04793917,
+ "floors": 1.5850388,
+ "along": 0.06287344,
+ "sheet": 0.12757726,
+ "##lib": 0.037503965,
+ "floor": 2.4205565,
+ "lang": 0.30437052,
+ "value": 0.747221,
+ "keyboard": 0.19033119,
+ "determine": 0.15000933,
+ "equation": 0.04567379,
+ "int": 0.09751607,
+ "round": 1.5345463,
+ "inline": 1.145978,
+ "serial": 0.32636595,
+ "unsigned": 0.88353324,
+ "closest": 1.3774369
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-floor]]\n=== `FLOOR`\n[.text-center]\nimage::esql/functions/signature/floor.svg[Embedded,opts=inline]\n\nRound a number down to the nearest integer.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=floor]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=floor-result]\n|===\n\nNOTE: This is a noop for `long` (including unsigned) and `integer`.\n For `double` this picks the the closest `double` value to the integer ala\n {javadoc}/java.base/java/lang/Math.html#floor(double)[Math.floor].\n\nSupported types:\n\ninclude::types/floor.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "e523b56c-3517-4905-a94a-07287a2460bd",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/greatest.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 0.24265319,
+ "functions": 0.6631849,
+ "##d": 0.4070133,
+ "##g": 0.9521213,
+ "styled": 1.060551,
+ "alphabet": 0.8431507,
+ "##frame": 0.03423633,
+ "##l": 1.5270534,
+ "elmer": 0.41602176,
+ "score": 0.07157834,
+ "java": 0.8448406,
+ "##s": 0.16438602,
+ "styling": 0.6542569,
+ "##v": 1.1441244,
+ "jan": 0.29477164,
+ "merge": 1.4465348,
+ "record": 0.07315006,
+ "rank": 0.49808916,
+ "height": 0.8052205,
+ "##lean": 0.34500644,
+ "databases": 0.105598286,
+ "%": 0.5946859,
+ "league": 0.09884446,
+ "baker": 0.4206246,
+ "inspired": 0.12708427,
+ "analysis": 0.2938748,
+ "-": 0.021845777,
+ "each": 0.15057914,
+ "tags": 0.10461624,
+ "highest": 0.47008485,
+ "statistical": 0.3336521,
+ "sum": 0.13428384,
+ "matrix": 0.0823172,
+ "result": 1.0267557,
+ "si": 0.048840526,
+ "vector": 0.39349982,
+ "fred": 0.4512338,
+ "[": 0.23357631,
+ "embedded": 1.4572557,
+ "graphic": 0.7628129,
+ "key": 0.023580126,
+ "_": 0.67365295,
+ "sep": 0.4882578,
+ "sami": 0.25331938,
+ "sv": 1.1789179,
+ "d": 0.10218548,
+ "column": 1.0843099,
+ "many": 0.5291698,
+ "cs": 1.2937801,
+ "v": 0.3083275,
+ "rachel": 0.0030610156,
+ "##uation": 0.048665226,
+ "maximum": 1.5365759,
+ "vast": 0.16222914,
+ "returned": 0.49193308,
+ "|": 0.31250605,
+ "da": 0.32118133,
+ "chart": 0.10310948,
+ "font": 0.47732875,
+ "supported": 0.26095095,
+ "calculation": 0.47477046,
+ "ass": 0.25099346,
+ "standard": 0.18716435,
+ "dd": 0.078320466,
+ "dh": 0.35776153,
+ "anne": 0.5142737,
+ "run": 1.0320543,
+ "source": 0.23019177,
+ "specifications": 0.6234226,
+ "ds": 1.0448899,
+ "apache": 0.40683284,
+ "results": 0.5621098,
+ "ed": 0.55241674,
+ "which": 0.15745956,
+ "par": 0.025873052,
+ "image": 0.58743525,
+ "chess": 0.54572046,
+ "last": 0.87028915,
+ "list": 0.018083232,
+ "sha": 0.33519715,
+ "discrete": 1.7183046,
+ "opt": 1.6099831,
+ "measure": 0.28606844,
+ "##word": 0.6461769,
+ "once": 0.5013128,
+ "geometric": 0.43569955,
+ "worst": 0.36838958,
+ "fields": 0.870006,
+ "decimal": 0.12646647,
+ "opted": 0.48947164,
+ "formats": 0.1598194,
+ "string": 0.65885234,
+ "effort": 0.10847608,
+ "interface": 0.04919966,
+ "sid": 0.43283144,
+ "mono": 1.1175654,
+ "##ci": 1.0491258,
+ "class": 0.3591779,
+ "types": 1.0306051,
+ "center": 0.70890534,
+ "multiple": 0.84798855,
+ "specification": 0.4240554,
+ "peak": 0.27118948,
+ "syntax": 0.32506394,
+ "pub": 0.39561906,
+ "##ical": 0.6297762,
+ "fancy": 0.12173013,
+ "software": 0.23998998,
+ "achievement": 0.116919376,
+ "gage": 0.084668316,
+ "pun": 0.0035333128,
+ "arithmetic": 0.3854854,
+ "type": 0.7613994,
+ "signatures": 0.23944022,
+ "multi": 0.12048697,
+ "peg": 0.5592133,
+ "##space": 0.95206666,
+ "text": 1.1201495,
+ "jerry": 0.17778595,
+ "algorithm": 0.79720956,
+ "order": 0.26469442,
+ "similar": 0.29104894,
+ "method": 0.030213516,
+ "gene": 0.36070797,
+ "index": 0.81095415,
+ "signed": 0.4432922,
+ "epic": 0.29766455,
+ "script": 0.3989849,
+ "field": 0.41925046,
+ "style": 0.7439378,
+ "math": 1.4316375,
+ "jude": 0.2468986,
+ "favorite": 0.06599027,
+ "champion": 0.2892737,
+ "template": 0.10044381,
+ "signature": 1.4771726,
+ "columns": 1.2325588,
+ "jp": 0.2639585,
+ "pattern": 0.22126515,
+ "distribution": 0.14024341,
+ "sequences": 0.10836345,
+ "##arat": 0.77963,
+ "file": 0.3179997,
+ "composed": 0.21182938,
+ "include": 0.69828975,
+ "editor": 0.59698033,
+ "mat": 0.047765758,
+ "max": 1.2771001,
+ "display": 0.5780833,
+ "##id": 0.56257296,
+ "great": 1.1389108,
+ "excel": 0.65156835,
+ "cod": 0.21436702,
+ "return": 0.75366026,
+ "mathematical": 0.8262164,
+ "statistics": 0.029687813,
+ "checkpoint": 0.3602027,
+ "esq": 2.031858,
+ "panda": 0.03736445,
+ "data": 0.36851096,
+ "roman": 0.23392355,
+ "sign": 0.22854039,
+ "dice": 0.020168819,
+ "integer": 0.4614623,
+ "tremendous": 0.044772085,
+ "spec": 1.6394622,
+ "space": 0.2644289,
+ "tab": 0.07781317,
+ "function": 0.89384973,
+ "continuous": 0.6060174,
+ "limit": 0.10665577,
+ "html": 0.34297442,
+ "tag": 0.8522238,
+ "buffer": 0.15248834,
+ "combine": 0.30828467,
+ "including": 0.14049195,
+ "read": 0.048259895,
+ "mp": 0.005899517,
+ "format": 1.0078954,
+ "mv": 1.280378,
+ "##ido": 1.473853,
+ "archive": 0.2618906,
+ "sort": 0.47724643,
+ "most": 0.67850775,
+ "sequence": 0.40055692,
+ "core": 0.025295781,
+ "jamie": 0.025234874,
+ "##ida": 0.40965164,
+ "true": 0.18484178,
+ "header": 0.9292868,
+ "retrieve": 0.05783882,
+ "largest": 0.43834388,
+ "boo": 0.6519239,
+ "mathematics": 0.084026806,
+ "student": 0.081533,
+ "values": 0.6063028,
+ "cad": 0.3322314,
+ "best": 0.073597595,
+ "gil": 0.19860472,
+ "error": 0.06932368,
+ "percent": 0.3398052,
+ "sql": 0.27509907,
+ "running": 0.100585036,
+ "database": 0.36747006,
+ "para": 0.041546106,
+ "predict": 0.124289304,
+ "mer": 0.37069553,
+ "##lib": 0.14434232,
+ "value": 1.1972576,
+ "greatest": 2.099794,
+ "equation": 0.23179911,
+ "maximal": 0.14155136,
+ "consecutive": 0.22377154,
+ "inline": 1.4686012,
+ "serial": 0.27629575,
+ "compilation": 0.06608144
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-greatest]]\n=== `GREATEST`\n[.text-center]\nimage::esql/functions/signature/greatest.svg[Embedded,opts=inline]\n\nReturns the maximum value from many columns. This is similar to <>\nexcept it's intended to run on multiple columns at once.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=greatest]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=greatest-result]\n|===\n\nNOTE: When run on `keyword` or `text` fields, this'll return the last string\n in alphabetical order. When run on `boolean` columns this will return\n `true` if any values are `true`.\n\nSupported types:\n\ninclude::types/greatest.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "50cb4795-f0b3-406a-bcde-e8adda8d925a",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/in.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.17555039,
+ "##d": 0.7650628,
+ "software": 0.10552985,
+ "gage": 0.32533434,
+ "arithmetic": 0.37516773,
+ "fin": 0.12893435,
+ "##l": 1.4625877,
+ "java": 1.0823951,
+ "peg": 0.6652909,
+ "##s": 0.2170076,
+ "grammar": 0.01966773,
+ "##v": 1.2801949,
+ "notation": 0.54996425,
+ "jan": 0.2803238,
+ "enable": 0.034562975,
+ "jerry": 0.2860433,
+ "enter": 0.06977793,
+ "proof": 0.016443804,
+ "if": 0.31769145,
+ "flow": 0.17158239,
+ "element": 0.81498915,
+ "algorithm": 0.5214331,
+ "in": 1.5756346,
+ "gene": 0.48837835,
+ "testing": 1.0827734,
+ "'": 0.7768538,
+ "index": 0.52896875,
+ "analysis": 0.50277287,
+ "-": 0.51332223,
+ "script": 0.13794996,
+ "tags": 0.8058951,
+ "certification": 0.075167246,
+ "/": 0.020662066,
+ "exam": 0.25631803,
+ "as": 0.12736642,
+ "alex": 0.01384124,
+ "field": 1.316706,
+ "spectrum": 0.01771907,
+ "integration": 0.44180816,
+ "math": 0.8501832,
+ "=": 0.81613725,
+ "jude": 0.005024663,
+ "hash": 0.13189308,
+ "pattern": 0.06457691,
+ "algebra": 0.010795406,
+ "matrix": 0.2125636,
+ "virus": 0.08651452,
+ "literal": 1.3217814,
+ "valid": 0.1506626,
+ "into": 0.6088651,
+ "file": 0.034855668,
+ "operators": 0.9316049,
+ "si": 0.31017783,
+ "ian": 0.029003777,
+ "verify": 0.22235112,
+ "where": 0.30779356,
+ "[": 1.0944039,
+ "fred": 0.22862965,
+ "ability": 0.111732356,
+ "]": 0.86241716,
+ "equality": 0.6379735,
+ "table": 0.31697193,
+ "_": 0.72600377,
+ "`": 1.0702971,
+ "include": 0.5466699,
+ "editor": 0.41155735,
+ "mat": 0.06605968,
+ "expression": 1.326885,
+ "c": 0.18374622,
+ "d": 0.4378575,
+ "within": 0.044578053,
+ "display": 0.14015648,
+ "column": 0.38389862,
+ "cs": 1.3918679,
+ "excel": 0.39443663,
+ "assess": 0.026294293,
+ "isa": 0.22724414,
+ "v": 0.17589788,
+ "equals": 1.0004289,
+ "elements": 0.5197375,
+ "cod": 0.2314147,
+ "logic": 0.081541896,
+ "{": 0.04141104,
+ "}": 0.7282655,
+ "operation": 0.68878376,
+ "da": 0.5527878,
+ "discreet": 0.006651405,
+ "checkpoint": 0.44734323,
+ "ass": 0.44359794,
+ "symbol": 0.3137047,
+ "esq": 1.9208966,
+ "declare": 0.3001311,
+ "data": 0.27606702,
+ "dice": 0.38879168,
+ "anne": 0.5096645,
+ "language": 0.106534466,
+ "express": 0.030058749,
+ "source": 0.2597163,
+ "lab": 0.024118358,
+ "specifications": 0.61887085,
+ "spec": 1.70237,
+ "operator": 1.5792269,
+ "mode": 0.120924056,
+ "apache": 0.26041803,
+ "tab": 0.1154575,
+ "##in": 0.15683803,
+ "whether": 0.7217238,
+ "continuous": 0.8449956,
+ "function": 0.38951692,
+ "lap": 0.35798472,
+ "html": 0.06708688,
+ "tag": 1.0956129,
+ "expressed": 0.07474564,
+ "complement": 0.23873243,
+ "bean": 0.0634066,
+ "ed": 0.7142077,
+ "par": 0.5520017,
+ "which": 0.32340568,
+ "chess": 0.3461214,
+ "eh": 0.1155174,
+ "ensure": 0.09317636,
+ "test": 1.2172122,
+ "level": 0.37096968,
+ "format": 0.1460996,
+ "eric": 0.031665284,
+ "check": 0.5180425,
+ "sort": 0.15717772,
+ "list": 0.7925065,
+ "expressions": 1.038017,
+ "sha": 0.40444988,
+ "plus": 0.11757098,
+ "discrete": 1.9826012,
+ "important": 0.23553358,
+ "core": 0.3825066,
+ "sequence": 0.22458866,
+ "jamie": 0.15774752,
+ "unit": 0.4344105,
+ "measure": 0.3571535,
+ "tests": 0.15018909,
+ "lists": 0.73203593,
+ "fields": 1.3032821,
+ "dash": 0.015471438,
+ "useful": 0.5997493,
+ "allow": 0.15832148,
+ "algebraic": 0.08676704,
+ "code": 0.2716483,
+ "boo": 0.11853414,
+ "ling": 0.13595283,
+ "string": 0.1277551,
+ "import": 0.04223179,
+ "scala": 0.027992202,
+ "purpose": 0.005572855,
+ "student": 0.0010284855,
+ "cad": 0.29279062,
+ "nu": 0.17762128,
+ "for": 0.039642405,
+ "gil": 0.4935783,
+ "interface": 0.48895445,
+ "sql": 0.6315984,
+ "sid": 0.6269111,
+ "database": 0.3784171,
+ "security": 0.035982575,
+ "predict": 0.16005763,
+ "row": 1.2241168,
+ "##lib": 0.18634762,
+ "class": 0.6962895,
+ "quantity": 0.5381136,
+ "or": 0.110561654,
+ "determine": 0.33412096,
+ "match": 0.25395238,
+ "specification": 0.7755676,
+ "rows": 0.60303134,
+ "command": 0.20660326,
+ "equal": 0.90968096,
+ "with": 1.040692,
+ "serial": 0.42947295,
+ "syntax": 0.8139231,
+ "pub": 0.29721346,
+ "mark": 0.015109023
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-in-operator]]\n=== `IN`\n\nThe `IN` operator allows testing whether a field or expression equals\nan element in a list of literals, fields or expressions:\n\n[source,esql]\n----\ninclude::{esql-specs}/row.csv-spec[tag=in-with-expressions]\n----"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "3ec6a4ad-f209-41e4-af50-bcc4372bd8c5",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/is_finite.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##d": 0.4474772,
+ "gage": 0.28532568,
+ "arithmetic": 0.3036788,
+ "##l": 1.4605647,
+ "number": 1.0953556,
+ "java": 1.2013363,
+ "peg": 0.46124208,
+ "len": 0.08676616,
+ "notation": 0.20360763,
+ "calculate": 0.12784322,
+ "if": 0.32560933,
+ "defined": 0.21846995,
+ "##lean": 1.5761884,
+ "algorithm": 0.76828414,
+ "gene": 0.015536464,
+ "'": 0.1528156,
+ "specify": 0.21043853,
+ "(": 0.20547384,
+ "index": 0.33356106,
+ "is": 1.0969169,
+ "/": 0.44412795,
+ "0": 0.62734115,
+ "input": 1.3010846,
+ "1": 0.63037616,
+ "as": 0.17998345,
+ "provide": 0.019437551,
+ "anal": 0.032153703,
+ "binary": 0.009128738,
+ "returns": 0.28956342,
+ "math": 0.99389416,
+ "=": 0.91202384,
+ "hash": 0.1530735,
+ "status": 0.3130944,
+ "infinite": 0.90672034,
+ "##ler": 0.063116774,
+ "matrix": 0.08552011,
+ "indicating": 0.38911283,
+ "indicates": 0.17049845,
+ "ian": 0.037777662,
+ "ari": 0.19471693,
+ "indicate": 0.3858929,
+ "where": 0.30159009,
+ "[": 1.0782883,
+ "fred": 0.19159408,
+ "]": 0.7065338,
+ "_": 1.2240986,
+ "mat": 0.029182557,
+ "expression": 0.11960469,
+ "d": 0.92786574,
+ "question": 0.02307224,
+ "display": 0.5438852,
+ "column": 0.61280274,
+ "computation": 0.031538926,
+ "excel": 0.47382393,
+ "s": 0.4182715,
+ "polynomial": 0.02904558,
+ "cod": 0.04176885,
+ "describe": 0.014206348,
+ "returned": 0.57269937,
+ "return": 0.9121231,
+ "mathematical": 0.03400499,
+ "indicator": 0.49667656,
+ "ass": 0.17196569,
+ "calculation": 0.15490884,
+ "symbol": 0.06306977,
+ "esq": 1.772842,
+ "constant": 0.19546607,
+ "declare": 0.2453455,
+ "inputs": 0.41980314,
+ "numbers": 0.53878236,
+ "dice": 0.12737839,
+ "anne": 0.3631962,
+ "integer": 0.7675188,
+ "operator": 0.37036386,
+ "zero": 0.18122904,
+ "apache": 0.16149372,
+ "tab": 0.03565766,
+ "whether": 0.6923821,
+ "continuous": 0.9267463,
+ "function": 0.4535014,
+ "lap": 0.40401256,
+ "ed": 0.56005424,
+ "combination": 0.18086678,
+ "par": 0.21454757,
+ "which": 0.14670189,
+ "taylor": 0.044272114,
+ "chess": 0.50595254,
+ "mp": 0.061443772,
+ "test": 0.121370986,
+ "finite": 1.982077,
+ "eric": 0.27777806,
+ "sort": 0.13451958,
+ "discrete": 1.9902561,
+ "core": 0.39773712,
+ "sequence": 0.20479608,
+ "geometric": 0.27138433,
+ "retrieve": 0.1868338,
+ "overall": 0.0010551605,
+ "decimal": 0.4781293,
+ "##ile": 0.25500122,
+ "boo": 1.4585283,
+ "code": 0.09473013,
+ "memory": 0.08619457,
+ "string": 0.056539387,
+ "student": 0.10307604,
+ "nu": 0.23194319,
+ "error": 0.017630877,
+ "percent": 0.27932933,
+ "sid": 0.38437524,
+ "sql": 0.3372809,
+ "eva": 1.5497117,
+ "numerical": 0.2697465,
+ "random": 0.010752479,
+ "array": 0.24833809,
+ "predict": 0.52128166,
+ "row": 1.2185912,
+ "##lib": 0.216977,
+ "class": 0.55774677,
+ "chance": 0.20387124,
+ "quantity": 0.040653486,
+ "determine": 0.44656736,
+ "limited": 0.057003196,
+ "yes": 0.21237275,
+ "equation": 0.29340625,
+ "rows": 0.6744839,
+ "command": 0.059112635,
+ "syntax": 0.5515013
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-is_finite]]\n=== `IS_FINITE`\nReturns a boolean that indicates whether its input is a finite number.\n\n[source,esql]\n----\nROW d = 1.0\n| EVAL s = IS_FINITE(d/0)\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "e0537a0d-8b14-4548-8757-c775dcdda443",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/is_infinite.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##d": 0.3035032,
+ "gage": 0.28958645,
+ "arithmetic": 0.41102102,
+ "##l": 1.479202,
+ "java": 1.2230916,
+ "peg": 0.38551685,
+ "len": 0.30487317,
+ "notation": 0.08297682,
+ "calculate": 0.08967864,
+ "if": 0.41647533,
+ "##lean": 1.4987134,
+ "algorithm": 0.7673971,
+ "gene": 0.038730998,
+ "'": 0.14072219,
+ "(": 0.18414363,
+ "specify": 0.14023523,
+ "index": 0.37611654,
+ "is": 1.0084249,
+ "then": 0.1596117,
+ "-": 0.0019700183,
+ "script": 0.13359371,
+ "/": 0.3629856,
+ "0": 0.6105242,
+ "input": 1.3501271,
+ "1": 0.48973283,
+ "as": 0.14173998,
+ "provide": 0.018999025,
+ "anal": 0.13615541,
+ "even": 0.040477086,
+ "binary": 0.07205098,
+ "returns": 0.3209079,
+ "math": 0.9529517,
+ "=": 0.90456414,
+ "hash": 0.11455962,
+ "status": 0.56312895,
+ "infinite": 2.0893452,
+ "##ler": 0.08058234,
+ "monte": 0.040673517,
+ "matrix": 0.043810915,
+ "unknown": 0.12220645,
+ "indicating": 0.38299796,
+ "indicates": 0.27939606,
+ "si": 0.019741833,
+ "ian": 0.0683973,
+ "ari": 0.24394833,
+ "indicate": 0.4231095,
+ "where": 0.15990372,
+ "[": 1.0392083,
+ "fred": 0.19001234,
+ "]": 0.6764162,
+ "_": 1.2432518,
+ "mat": 0.14270578,
+ "editor": 0.033283196,
+ "continuum": 0.09466681,
+ "expression": 0.10220475,
+ "d": 0.835941,
+ "unlimited": 0.17626624,
+ "display": 0.567598,
+ "column": 0.5899134,
+ "excel": 0.49151912,
+ "s": 0.42334622,
+ "isa": 0.023065718,
+ "cod": 0.28317955,
+ "infinity": 0.8835469,
+ "logic": 0.034359124,
+ "returned": 0.56678593,
+ "return": 0.93277645,
+ "indicator": 0.61358213,
+ "ass": 0.21147235,
+ "calculation": 0.1516562,
+ "symbol": 0.11529966,
+ "esq": 1.777698,
+ "argument": 0.017737104,
+ "constant": 0.25084192,
+ "declare": 0.3441009,
+ "inputs": 0.55925715,
+ "dice": 0.19646503,
+ "anne": 0.31892422,
+ "integer": 0.52593106,
+ "operator": 0.41544235,
+ "zero": 0.27007067,
+ "apache": 0.24815413,
+ "whether": 0.66125166,
+ "continuous": 0.96521413,
+ "function": 0.4821769,
+ "lap": 0.4187497,
+ "ed": 0.5282317,
+ "combination": 0.2420159,
+ "always": 0.62726283,
+ "par": 0.2028268,
+ "which": 0.14796986,
+ "taylor": 0.24492644,
+ "chess": 0.5053837,
+ "finite": 0.09722385,
+ "eric": 0.17323433,
+ "sort": 0.27284792,
+ "discrete": 1.968523,
+ "sequence": 0.3158795,
+ "core": 0.27699995,
+ "entry": 0.04974776,
+ "geometric": 0.2862409,
+ "retrieve": 0.1531089,
+ "decimal": 0.47174743,
+ "##ile": 0.19245532,
+ "dash": 0.039745405,
+ "boo": 1.4126221,
+ "memory": 0.25731665,
+ "code": 0.16521835,
+ "nu": 0.046407297,
+ "endless": 1.2500144,
+ "error": 0.16520147,
+ "interface": 0.1416392,
+ "percent": 0.391403,
+ "sid": 0.6861775,
+ "sql": 0.37104073,
+ "eva": 1.4690342,
+ "random": 0.1488212,
+ "array": 0.2753092,
+ "predict": 0.4585109,
+ "paradox": 0.0013625871,
+ "row": 1.1736228,
+ "##lib": 0.17134759,
+ "class": 0.54227144,
+ "chance": 0.22016107,
+ "determine": 0.4070379,
+ "yes": 0.1542567,
+ "equation": 0.2809685,
+ "length": 0.059864648,
+ "rows": 0.6591301,
+ "command": 0.2037005,
+ "serial": 0.18860629,
+ "syntax": 0.52788746
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-is_infinite]]\n=== `IS_INFINITE`\nReturns a boolean that indicates whether its input is infinite.\n\n[source,esql]\n----\nROW d = 1.0\n| EVAL s = IS_INFINITE(d/0)\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "b45c2877-f322-4100-aec4-b4e7a44f23ec",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/is_nan.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.23578288,
+ "##d": 0.31145412,
+ "gage": 0.36720684,
+ "arithmetic": 0.4570732,
+ "##l": 1.4736788,
+ "rand": 0.014387559,
+ "number": 1.2218137,
+ "java": 1.1391555,
+ "peg": 0.63567275,
+ "len": 0.35240072,
+ "notation": 0.18204062,
+ "nan": 2.3185453,
+ "calculate": 0.06439506,
+ "if": 0.26152253,
+ "##lean": 1.5310676,
+ "algorithm": 0.59371156,
+ "gene": 0.039246466,
+ "'": 0.23221266,
+ "(": 0.35407087,
+ "specify": 0.1433849,
+ "index": 0.49204868,
+ "is": 1.4503397,
+ "analysis": 0.073204905,
+ "-": 0.06530037,
+ "script": 0.095404916,
+ "0": 0.49751905,
+ "input": 1.304287,
+ "1": 0.55577385,
+ "as": 0.22089942,
+ "binary": 0.5543641,
+ "returns": 0.23738341,
+ "math": 0.98730963,
+ "=": 0.7813255,
+ "hash": 0.1578472,
+ "##ler": 0.19828722,
+ "matrix": 5.9634546E-4,
+ "indicating": 0.5485347,
+ "indicates": 0.38707453,
+ "julia": 0.052524604,
+ "si": 0.44605172,
+ "indicate": 0.5666305,
+ "[": 1.1961706,
+ "fred": 0.18211544,
+ "]": 0.7901274,
+ "_": 1.2577995,
+ "expression": 0.01776404,
+ "d": 0.75351393,
+ "display": 0.55093396,
+ "column": 0.628817,
+ "excel": 0.32963482,
+ "s": 0.57519615,
+ "cod": 0.4090811,
+ "returned": 0.52055424,
+ "da": 0.15516487,
+ "operation": 0.038593028,
+ "return": 0.9019753,
+ "indicator": 0.7196546,
+ "ass": 0.50098747,
+ "calculation": 0.09903829,
+ "symbol": 0.124860056,
+ "esq": 1.8115436,
+ "data": 0.37685814,
+ "declare": 0.20449881,
+ "inputs": 0.3975468,
+ "numbers": 0.463534,
+ "dice": 0.103457175,
+ "anne": 0.44791555,
+ "integer": 0.756157,
+ "operator": 0.50278026,
+ "ata": 0.07952796,
+ "compute": 0.06788762,
+ "apache": 0.21710846,
+ "ma": 0.08414046,
+ "whether": 0.6238548,
+ "continuous": 1.0177686,
+ "function": 0.57505023,
+ "lap": 0.31299955,
+ "ed": 0.5560624,
+ "combination": 0.22502671,
+ "which": 0.25741738,
+ "par": 0.0283983,
+ "chess": 0.34301883,
+ "test": 0.23924524,
+ "eric": 0.10660026,
+ "format": 0.053838864,
+ "sort": 0.1624226,
+ "sha": 0.12997018,
+ "discrete": 2.0702305,
+ "core": 0.33432627,
+ "sequence": 0.284717,
+ "hint": 0.0755375,
+ "retrieve": 0.22347823,
+ "##zer": 0.013533981,
+ "decimal": 0.72890455,
+ "##ile": 0.40204042,
+ "boo": 1.4027079,
+ "code": 0.20516337,
+ "memory": 0.19113316,
+ "nu": 0.6934106,
+ "non": 0.7854063,
+ "interface": 0.12932472,
+ "percent": 0.31601977,
+ "sid": 0.7522099,
+ "sql": 0.32536784,
+ "eva": 1.5926629,
+ "numerical": 0.2859821,
+ "random": 0.0890363,
+ "not": 1.0347148,
+ "array": 0.36668402,
+ "predict": 0.3015186,
+ "row": 1.2602985,
+ "##lib": 0.24269995,
+ "class": 0.46728122,
+ "value": 0.011949268,
+ "cipher": 0.0033267175,
+ "keyboard": 0.0048049698,
+ "chance": 0.113819666,
+ "determine": 0.39632365,
+ "equation": 0.11043539,
+ "rows": 0.7118761,
+ "command": 0.3685084,
+ "serial": 0.2675846,
+ "syntax": 0.5025961,
+ "pub": 0.03947534
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-is_nan]]\n=== `IS_NAN`\nReturns a boolean that indicates whether its input is not a number.\n\n[source,esql]\n----\nROW d = 1.0\n| EVAL s = IS_NAN(d)\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "669949d1-6096-43b4-8659-0fe83d8d1346",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/least.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.1888123,
+ "##c": 0.10237177,
+ "functions": 0.58395135,
+ "##d": 0.42149124,
+ "##g": 0.9006048,
+ "styled": 1.0494341,
+ "alphabet": 0.718524,
+ "##frame": 0.101432,
+ "##l": 1.5397251,
+ "elmer": 0.35878518,
+ "java": 0.8532708,
+ "##s": 0.26968944,
+ "styling": 0.65337634,
+ "##v": 1.1195182,
+ "jan": 0.20986648,
+ "xml": 0.05154358,
+ "notation": 0.009691096,
+ "merge": 1.4019787,
+ "rank": 0.25184324,
+ "##lean": 0.14960325,
+ "databases": 0.119337484,
+ "%": 0.6389034,
+ "'": 0.118161045,
+ "inspired": 0.02957278,
+ "analysis": 0.3449339,
+ "-": 0.1528288,
+ "each": 0.13664134,
+ "tags": 0.13619599,
+ "/": 0.02366372,
+ "except": 0.013784334,
+ "statistical": 0.20793825,
+ "##ler": 0.012331905,
+ "least": 1.7811656,
+ "matrix": 0.032768797,
+ "result": 0.98837155,
+ "min": 1.2247251,
+ "si": 0.077943854,
+ "vector": 0.41097328,
+ "fred": 0.39208752,
+ "[": 0.38658696,
+ "embedded": 1.5174298,
+ "graphic": 0.7651,
+ "_": 0.65085775,
+ "sep": 0.48264924,
+ "sami": 0.23299544,
+ "sv": 1.1281031,
+ "d": 6.0039613E-4,
+ "column": 1.0825057,
+ "many": 0.49730766,
+ "cs": 1.3040068,
+ "v": 0.21347073,
+ "##uation": 0.1353028,
+ "maximum": 0.21626484,
+ "returned": 0.43283892,
+ "|": 0.3705503,
+ "da": 0.28627607,
+ "font": 0.44992718,
+ "supported": 0.2698499,
+ "calculation": 0.5762752,
+ "ass": 0.2439018,
+ "standard": 0.12879267,
+ "dd": 0.024513585,
+ "dh": 0.3255667,
+ "anne": 0.63193285,
+ "run": 1.0271026,
+ "source": 0.06515518,
+ "specifications": 0.6473231,
+ "ds": 1.0033503,
+ "apache": 0.4191252,
+ "results": 0.44570434,
+ "ed": 0.52382725,
+ "par": 0.004661408,
+ "image": 0.5366848,
+ "chess": 0.33801344,
+ "last": 0.18562064,
+ "batch": 0.036623817,
+ "sha": 0.38341677,
+ "discrete": 1.800714,
+ "opt": 1.6061751,
+ "##word": 0.603102,
+ "once": 0.5367724,
+ "geometric": 0.38860926,
+ "worst": 1.1461985,
+ "fields": 0.9229727,
+ "decimal": 0.18666923,
+ "opted": 0.5130869,
+ "formats": 0.07103708,
+ "string": 0.68410796,
+ "interface": 0.09630846,
+ "sid": 0.42996132,
+ "mono": 1.1208407,
+ "minimal": 0.9230503,
+ "##ci": 0.9780136,
+ "class": 0.388524,
+ "types": 0.9699387,
+ "center": 0.8305303,
+ "multiple": 0.8136166,
+ "false": 0.74893814,
+ "specification": 0.64728916,
+ "syntax": 0.4945805,
+ "pub": 0.3367553,
+ "##ical": 0.5212374,
+ "fancy": 0.14923777,
+ "software": 0.18715456,
+ "gage": 0.3001478,
+ "pun": 0.04178943,
+ "arithmetic": 0.43084514,
+ "type": 0.6927932,
+ "signatures": 0.3936958,
+ "multi": 0.11766689,
+ "peg": 0.6720104,
+ "##space": 0.9848146,
+ "text": 1.0964714,
+ "jerry": 0.35147998,
+ "algorithm": 0.80334544,
+ "order": 0.12522362,
+ "similar": 0.26632148,
+ "method": 0.09648221,
+ "gene": 0.22876167,
+ "index": 0.77919924,
+ "signed": 0.5512838,
+ "lowest": 0.37354052,
+ "script": 0.3125752,
+ "field": 0.47598663,
+ "style": 0.7506202,
+ "math": 1.467604,
+ "jude": 0.29634902,
+ "signature": 1.4203143,
+ "columns": 1.212452,
+ "jp": 0.15938465,
+ "pattern": 0.14339338,
+ "sequences": 0.061069496,
+ "##arat": 0.7782218,
+ "file": 0.33905938,
+ "composed": 0.24147773,
+ "low": 0.06360372,
+ "include": 0.7647323,
+ "editor": 0.6250847,
+ "display": 0.45367628,
+ "##id": 0.47223356,
+ "consolidation": 0.083561435,
+ "excel": 0.53522927,
+ "cod": 0.1426846,
+ "minimum": 1.5246637,
+ "return": 0.6738503,
+ "mathematical": 0.86162627,
+ "checkpoint": 0.428947,
+ "esq": 2.0455768,
+ "panda": 0.042688463,
+ "data": 0.38725004,
+ "roman": 0.20446421,
+ "sign": 0.22954875,
+ "integer": 0.4451952,
+ "spec": 1.7014037,
+ "space": 0.2603979,
+ "tab": 0.052870095,
+ "function": 0.83628905,
+ "continuous": 0.5861305,
+ "html": 0.31654483,
+ "tag": 0.83335316,
+ "buffer": 0.279382,
+ "combine": 0.17614041,
+ "including": 0.22200574,
+ "mp": 0.073724285,
+ "read": 0.063285306,
+ "format": 0.971439,
+ "mv": 1.1781765,
+ "##ido": 1.4025661,
+ "archive": 0.16945477,
+ "less": 0.40270916,
+ "sort": 0.36257985,
+ "most": 0.55633384,
+ "sequence": 0.23186633,
+ "core": 0.17675355,
+ "jamie": 0.010656476,
+ "##ida": 0.29174694,
+ "header": 0.9384313,
+ "carly": 0.067172945,
+ "boo": 0.6494191,
+ "code": 7.764662E-4,
+ "mathematics": 0.07756368,
+ "values": 0.5035007,
+ "cad": 0.2941223,
+ "gil": 0.021054223,
+ "error": 0.2867709,
+ "percent": 0.5540442,
+ "sql": 0.2892529,
+ "running": 0.07106628,
+ "numerical": 0.071507536,
+ "database": 0.20682856,
+ "predict": 0.14320363,
+ "##lib": 0.2221058,
+ "value": 1.1568654,
+ "equation": 0.2746019,
+ "consecutive": 0.20663342,
+ "inline": 1.469468,
+ "serial": 0.20136918
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-least]]\n=== `LEAST`\n[.text-center]\nimage::esql/functions/signature/least.svg[Embedded,opts=inline]\n\nReturns the minimum value from many columns. This is similar to <>\nexcept it's intended to run on multiple columns at once.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=least]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=least-result]\n|===\n\nNOTE: When run on `keyword` or `text` fields, this'll return the first string\n in alphabetical order. When run on `boolean` columns this will return\n `false` if any values are `false`.\n\nSupported types:\n\ninclude::types/least.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "d4025046-91ac-4a27-a6bd-eb69168bd0fa",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/left.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.10699751,
+ "##c": 0.45350322,
+ "functions": 0.84829265,
+ "##d": 0.5663638,
+ "##g": 0.9308468,
+ "fin": 0.11981167,
+ "styled": 1.0374147,
+ "alphabet": 0.24862206,
+ "##frame": 0.10039594,
+ "##l": 1.4986823,
+ "extracted": 0.5631658,
+ "elmer": 0.29431647,
+ "java": 0.79528445,
+ "##s": 0.15102603,
+ "styling": 0.61993724,
+ "##v": 1.2622842,
+ "jan": 0.14421095,
+ "xml": 0.0645559,
+ "notation": 0.03733528,
+ "retrieval": 0.011660514,
+ "merge": 1.5934628,
+ "merging": 0.11573722,
+ "%": 0.58257353,
+ "tex": 0.026874006,
+ "'": 0.41170868,
+ "analysis": 0.14970414,
+ "-": 0.0774719,
+ "tags": 0.31680217,
+ "/": 0.13604617,
+ "as": 0.39018095,
+ "cue": 0.07329841,
+ "left": 2.0103815,
+ "extracts": 0.8533393,
+ "starting": 0.68729645,
+ "sub": 1.0289136,
+ "functional": 0.12934798,
+ "miscellaneous": 0.067702815,
+ "document": 0.19944997,
+ "matrix": 0.09733882,
+ "virus": 0.11874547,
+ "long": 0.5787158,
+ "result": 0.86694294,
+ "characters": 0.43941462,
+ "vector": 0.49630004,
+ "fred": 0.5179295,
+ "[": 0.45144087,
+ "embedded": 1.4582257,
+ "graphic": 0.7968219,
+ "sep": 0.31093904,
+ "_": 0.27117595,
+ "sami": 0.22423187,
+ "sv": 1.2077676,
+ "d": 0.0014888879,
+ "column": 0.45402616,
+ "sample": 0.029838819,
+ "cs": 1.3631189,
+ "v": 0.053203598,
+ "collaboration": 0.006932847,
+ "##uation": 0.025826586,
+ "returned": 0.75252855,
+ "|": 0.22962807,
+ "}": 0.2030481,
+ "da": 0.14191262,
+ "supported": 0.66368383,
+ "font": 0.45371354,
+ "ass": 0.32956538,
+ "dd": 0.019693444,
+ "symbol": 0.0675436,
+ "dh": 0.31281143,
+ "anne": 0.72813547,
+ "retrieved": 0.47742093,
+ "source": 0.55441123,
+ "specifications": 0.5475871,
+ "ds": 1.0855279,
+ "apache": 0.12027865,
+ "segment": 0.0776131,
+ "results": 0.14783496,
+ "ed": 0.61318016,
+ "par": 0.07258038,
+ "image": 0.89787596,
+ "sha": 0.42491105,
+ "##ca": 0.10378927,
+ "discrete": 1.8658986,
+ "opt": 1.4079525,
+ "extract": 1.4098735,
+ "fields": 0.110359274,
+ "support": 0.25577265,
+ "coin": 0.122880444,
+ "opted": 0.43383223,
+ "formats": 0.30718252,
+ "blank": 0.03443376,
+ "string": 1.5303329,
+ "import": 0.12096219,
+ "video": 0.052954894,
+ "interface": 0.29819226,
+ "remove": 0.3186077,
+ "sid": 0.684089,
+ "mono": 0.985237,
+ "##st": 1.1486596,
+ "##ci": 1.329653,
+ "captured": 0.0062144618,
+ "class": 0.06759051,
+ "mask": 0.26562122,
+ "cipher": 0.3443155,
+ "digital": 0.022236539,
+ "types": 1.188301,
+ "center": 0.88774914,
+ "length": 1.7837411,
+ "specification": 0.71847075,
+ "scribe": 0.05792264,
+ "print": 0.073629595,
+ "syntax": 0.3081991,
+ "pub": 0.1746139,
+ "mark": 0.057653613,
+ "merger": 0.04665001,
+ "fancy": 0.19498672,
+ "software": 0.24319614,
+ "gage": 0.2933946,
+ "pun": 0.02356045,
+ "during": 0.117735036,
+ "type": 0.9054052,
+ "signatures": 0.59777254,
+ "peg": 0.78836215,
+ "slice": 0.032688845,
+ "##space": 0.9857283,
+ "text": 1.0225891,
+ "jerry": 0.39791352,
+ "flow": 0.050647605,
+ "algorithm": 0.5952352,
+ "images": 0.22722362,
+ "method": 0.068423465,
+ "gene": 0.36435288,
+ "index": 0.64184463,
+ "signed": 0.5303484,
+ "swiss": 0.011685966,
+ "extraction": 0.54419214,
+ "script": 0.4747612,
+ "style": 0.85298467,
+ "math": 0.44900268,
+ "jude": 0.1532978,
+ "template": 0.2385127,
+ "longest": 0.5054174,
+ "flag": 0.07127289,
+ "signature": 1.5070168,
+ "jp": 0.35827035,
+ "pattern": 0.42393535,
+ "##ring": 1.2516078,
+ "sequences": 0.25816992,
+ "##arat": 0.5770285,
+ "file": 0.75828993,
+ "composed": 0.06310335,
+ "julia": 0.05573515,
+ "eddy": 0.093755476,
+ "include": 0.84954774,
+ "editor": 0.631681,
+ "mat": 0.04360198,
+ "heading": 0.07421705,
+ "display": 0.38711405,
+ "##id": 0.56034964,
+ "consolidation": 0.09709166,
+ "excel": 0.22080259,
+ "fetch": 0.26677367,
+ "char": 1.382721,
+ "cod": 0.23262991,
+ "return": 0.88687575,
+ "checkpoint": 0.29853407,
+ "esq": 2.136451,
+ "data": 0.34342828,
+ "sign": 0.4363741,
+ "spec": 1.6539601,
+ "space": 0.4219378,
+ "tab": 0.073827155,
+ "function": 1.0082086,
+ "continuous": 0.67997575,
+ "logo": 0.07834769,
+ "html": 0.5053543,
+ "lap": 0.24532498,
+ "tag": 0.9308152,
+ "buffer": 0.26454157,
+ "including": 0.36939815,
+ "format": 1.0636381,
+ "capture": 0.24358577,
+ "##ido": 1.5987478,
+ "archive": 0.46282172,
+ "sort": 0.18633813,
+ "tool": 0.17687762,
+ "core": 0.4688697,
+ "sequence": 0.45429632,
+ "jamie": 0.33061332,
+ "##ida": 0.3060057,
+ "header": 1.1084981,
+ "retrieve": 0.67947346,
+ "carly": 0.008790013,
+ "code": 0.19452655,
+ "blend": 0.030334838,
+ "cad": 0.70671326,
+ "roc": 0.057838146,
+ "gil": 0.28896552,
+ "percent": 0.14440279,
+ "para": 0.21710625,
+ "array": 0.15325178,
+ "##lib": 0.061901506,
+ "row": 0.019857537,
+ "included": 0.011909218,
+ "keyboard": 0.2532597,
+ "command": 0.08506529,
+ "inline": 1.3784864,
+ "lengths": 0.76152587,
+ "serial": 0.7307331
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-left]]\n=== `LEFT`\n[.text-center]\nimage::esql/functions/signature/left.svg[Embedded,opts=inline]\n\nReturn the substring that extracts 'length' chars from the 'string' starting from the left.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=left]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=left-result]\n|===\n\nSupported types:\n\ninclude::types/left.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "7cc67794-bba2-4f2b-bb6f-6d464d0277e2",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/length.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##d": 0.23313707,
+ "maintain": 0.11640477,
+ "gage": 0.24252486,
+ "arithmetic": 0.2846752,
+ "alphabet": 0.5170722,
+ "during": 0.13365316,
+ "##l": 1.4854715,
+ "##n": 1.4664992,
+ "character": 1.398449,
+ "java": 0.8499402,
+ "peg": 0.6736561,
+ "len": 0.6673226,
+ "notation": 0.093200356,
+ "record": 0.20794329,
+ "calculate": 0.36606735,
+ "text": 0.16842392,
+ "jerry": 0.12794812,
+ "height": 1.2413319,
+ "algorithm": 0.5079097,
+ "gene": 0.18146859,
+ "'": 0.43976486,
+ "(": 0.20041229,
+ "index": 0.69735295,
+ "-": 0.25182304,
+ "script": 0.13801216,
+ "size": 0.057490543,
+ "math": 0.5622381,
+ "=": 0.8190906,
+ "hash": 0.07676205,
+ "longest": 0.59505934,
+ "log": 0.15301877,
+ "##ler": 0.08831596,
+ "save": 0.32181308,
+ "pattern": 0.21528797,
+ "retain": 0.13254137,
+ "long": 0.8664183,
+ "remember": 0.37175357,
+ "characters": 1.121082,
+ "into": 0.13131714,
+ "file": 0.06873602,
+ "strings": 0.16714361,
+ "surname": 0.22335029,
+ "si": 0.10219667,
+ "[": 1.0521325,
+ "fred": 0.27013794,
+ "]": 0.80945814,
+ "workers": 0.73517895,
+ "table": 0.12091233,
+ "_": 1.0387883,
+ "editor": 0.2419633,
+ "address": 0.29160118,
+ "c": 0.045685638,
+ "d": 0.22654694,
+ "keeping": 0.53333867,
+ "f": 1.165825,
+ "display": 0.3827724,
+ "column": 0.1764757,
+ "staff": 0.23445778,
+ "n": 0.12656322,
+ "excel": 0.49500868,
+ "cheat": 0.14001358,
+ "names": 0.71594095,
+ "char": 0.2578975,
+ "cod": 0.5053246,
+ "returned": 0.46666446,
+ "|": 0.0018601987,
+ "first": 0.762754,
+ "return": 0.71540177,
+ "db": 0.21652158,
+ "discreet": 0.11937663,
+ "calculation": 0.32952523,
+ "ass": 0.1336467,
+ "esq": 1.8042189,
+ "constant": 0.14577425,
+ "data": 0.39913368,
+ "dice": 0.025712617,
+ "anne": 0.28448543,
+ "source": 0.35716718,
+ "accounting": 0.35563895,
+ "integer": 0.24652398,
+ "employee": 1.2923427,
+ "operator": 0.2710436,
+ "ata": 0.11724619,
+ "compute": 0.14009576,
+ "protocol": 0.018970018,
+ "apache": 0.26199132,
+ "tab": 0.09496541,
+ "continuous": 0.9013419,
+ "function": 0.6430838,
+ "members": 0.10120244,
+ "lap": 0.45344177,
+ "ren": 0.0934487,
+ "tall": 0.40452075,
+ "buffer": 0.25983205,
+ "ed": 0.61035776,
+ "which": 0.25589734,
+ "par": 0.24366209,
+ "last": 0.7490398,
+ "everyone": 0.035617743,
+ "initials": 0.36396956,
+ "format": 0.3830524,
+ "archive": 0.2619003,
+ "sort": 0.27316275,
+ "list": 0.10846132,
+ "discrete": 2.0212622,
+ "sequence": 0.3291148,
+ "core": 0.17425784,
+ "keep": 0.96520424,
+ "colleagues": 0.25986663,
+ "name": 0.52081263,
+ "retrieve": 0.13309951,
+ "employees": 1.3442148,
+ "decimal": 0.21582542,
+ "code": 0.28160736,
+ "memory": 0.08119793,
+ "string": 1.5509002,
+ "import": 0.22000676,
+ "cad": 0.16217084,
+ "nu": 0.08738855,
+ "storage": 0.10732351,
+ "inventory": 0.2810155,
+ "interface": 0.22642566,
+ "fr": 0.016890015,
+ "percent": 0.21136776,
+ "sid": 0.7650739,
+ "sql": 0.61430573,
+ "eva": 1.7882926,
+ "random": 0.11522041,
+ "database": 0.29743794,
+ "##lib": 0.22721307,
+ "lang": 0.19630909,
+ "class": 0.5217484,
+ "mask": 0.025870265,
+ "cipher": 0.0710987,
+ "keyboard": 0.21276386,
+ "length": 2.0455892,
+ "command": 0.15914698,
+ "lengths": 1.0747535,
+ "serial": 0.7040637,
+ "heights": 0.27116513,
+ "inherited": 0.14711018,
+ "syntax": 0.66842407,
+ "short": 0.32085574,
+ "pub": 0.19068393
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-length]]\n=== `LENGTH`\nReturns the character length of a string.\n\n[source,esql]\n----\nFROM employees\n| KEEP first_name, last_name, height\n| EVAL fn_length = LENGTH(first_name)\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "922ea14b-ba2e-49f7-81f4-9ef2d2c89870",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/like.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##d": 0.29270372,
+ "software": 0.0891617,
+ "allowed": 0.04639182,
+ "alphabet": 0.10417841,
+ "##l": 1.5030321,
+ "type": 0.059981078,
+ "character": 0.55774796,
+ "java": 1.2099884,
+ "peg": 0.5212441,
+ "filtered": 0.23691556,
+ "corner": 0.22948053,
+ "len": 3.933133E-4,
+ "notation": 0.32935846,
+ "jerry": 0.34492815,
+ "filtering": 1.0289887,
+ "manipulation": 0.19734341,
+ "algorithm": 0.8262739,
+ "similar": 0.26075545,
+ "based": 0.24992193,
+ "using": 0.24784946,
+ "gene": 0.33333576,
+ "'": 0.78276914,
+ "##list": 0.25866053,
+ "index": 0.4396823,
+ "*": 0.67974675,
+ "analysis": 0.24995637,
+ "matches": 0.9068276,
+ "-": 0.36516225,
+ "script": 0.27002963,
+ "0": 0.075240225,
+ "solomon": 0.17611481,
+ "as": 0.8440376,
+ "field": 0.90073436,
+ "left": 0.98283756,
+ "anal": 0.049010914,
+ "following": 0.12545487,
+ "analyze": 0.09855393,
+ "math": 0.5939385,
+ "placement": 0.22359958,
+ "=": 0.6789293,
+ "card": 0.71318984,
+ "hash": 0.3918536,
+ "?": 0.38566902,
+ "miscellaneous": 0.017332513,
+ "pattern": 1.5721004,
+ "facing": 0.25614762,
+ "sequences": 0.42572117,
+ "literal": 1.0507085,
+ "matching": 0.6047542,
+ "example": 0.066019066,
+ "characters": 0.9807664,
+ "search": 0.38027582,
+ "computer": 0.07079755,
+ "file": 0.20264119,
+ "strings": 0.24909553,
+ "operators": 0.9421318,
+ "julia": 0.14561865,
+ "surname": 0.17523268,
+ "unlike": 0.7649206,
+ "where": 0.45984995,
+ "[": 0.706006,
+ "fred": 0.42329282,
+ "workers": 0.7572148,
+ "]": 0.49797413,
+ "hand": 0.6459169,
+ "_": 0.5973759,
+ "`": 1.1199517,
+ "editor": 0.6214283,
+ "side": 1.1452528,
+ "b": 0.16262253,
+ "expression": 1.1066998,
+ "d": 0.25968578,
+ "keeping": 0.01656974,
+ "display": 0.032381322,
+ "column": 0.018483775,
+ "staff": 0.057817895,
+ "right": 0.7825156,
+ "nice": 0.39256567,
+ "filter": 1.6508125,
+ "excel": 0.45576113,
+ "names": 0.35601518,
+ "s": 0.06400243,
+ "cod": 0.32377553,
+ "operation": 0.6563574,
+ "da": 0.34486854,
+ "first": 0.13130113,
+ "represent": 0.63904005,
+ "supported": 0.45356548,
+ "checkpoint": 0.18344928,
+ "symbol": 0.29242736,
+ "esq": 2.0165799,
+ "panda": 0.070902385,
+ "constant": 0.8661171,
+ "data": 1.1603278,
+ "use": 0.48305297,
+ "dice": 0.062890224,
+ "anne": 0.17475304,
+ "used": 0.23407383,
+ "employee": 1.1249039,
+ "operator": 1.5147283,
+ "liked": 0.39878148,
+ "zero": 1.0100368,
+ "act": 0.4732934,
+ "apache": 0.22085106,
+ "tab": 0.023800623,
+ "continuous": 0.6390198,
+ "function": 0.23101975,
+ "lap": 0.17585859,
+ "implement": 0.117150016,
+ "ed": 0.65741014,
+ "par": 0.26334375,
+ "which": 0.09138845,
+ "chess": 0.3034706,
+ "last": 0.6103338,
+ "like": 2.0638027,
+ "##card": 1.1732752,
+ "initials": 0.46804214,
+ "patterns": 1.3675151,
+ "format": 0.36412114,
+ "archive": 0.09076789,
+ "sort": 0.5170665,
+ "sha": 0.111842684,
+ "discrete": 1.8885036,
+ "core": 0.3579529,
+ "sequence": 0.13529238,
+ "##word": 0.30699784,
+ "keep": 0.5024279,
+ "colleagues": 0.26894015,
+ "name": 0.26626045,
+ "cia": 0.09925226,
+ "employees": 1.1990494,
+ "fields": 0.6710051,
+ "useful": 0.30303112,
+ "support": 0.13056877,
+ "carly": 0.2224311,
+ "boo": 0.30576205,
+ "cards": 0.23476249,
+ "code": 0.2225771,
+ "blank": 0.01208107,
+ "string": 1.3781192,
+ "import": 0.13725902,
+ "student": 0.28426486,
+ "bot": 0.036720004,
+ "blend": 0.01714492,
+ "nu": 0.027822368,
+ "interface": 0.15827894,
+ "representation": 0.4509606,
+ "symbols": 0.022383079,
+ "sql": 0.78334117,
+ "sid": 0.49055672,
+ "random": 0.06818197,
+ "database": 0.32902086,
+ "##cards": 1.0128163,
+ "sorting": 0.005106383,
+ "predict": 0.0038241842,
+ "bland": 0.017243233,
+ "##lib": 0.27910724,
+ "lang": 0.15115711,
+ "class": 0.46324396,
+ "mask": 0.20330387,
+ "direction": 0.14023979,
+ "cipher": 0.29428494,
+ "keyboard": 0.2488404,
+ "spelling": 0.0027318797,
+ "match": 1.0102922,
+ "control": 0.031338386,
+ "filters": 1.032396,
+ "command": 0.33159423,
+ "serial": 0.09662725,
+ "motifs": 0.15642981,
+ "inherited": 0.073606454,
+ "colon": 0.001865791,
+ "syntax": 0.8634207,
+ "wild": 1.700867
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-like-operator]]\n=== `LIKE`\n\nUse `LIKE` to filter data based on string patterns using wildcards. `LIKE`\nusually acts on a field placed on the left-hand side of the operator, but it can\nalso act on a constant (literal) expression. The right-hand side of the operator\nrepresents the pattern.\n\nThe following wildcard characters are supported:\n\n* `*` matches zero or more characters.\n* `?` matches one character.\n\n[source,esql]\n----\nFROM employees\n| WHERE first_name LIKE \"?b*\"\n| KEEP first_name, last_name\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "a66b3081-3898-49ce-b27c-d2be4c17ed97",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/log10.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.3413885,
+ "##c": 0.10741924,
+ "mod": 0.024177939,
+ "functions": 0.6039006,
+ "software": 0.356418,
+ "##d": 0.15240452,
+ "##g": 0.8718254,
+ "gage": 0.49364832,
+ "arithmetic": 0.5357465,
+ "styled": 0.5265666,
+ "##l": 1.5091856,
+ "type": 0.55749995,
+ "signatures": 0.41831765,
+ "integers": 0.19562067,
+ "number": 0.54591036,
+ "elmer": 0.2187766,
+ "java": 0.9936703,
+ "peg": 0.66427755,
+ "##s": 0.5375799,
+ "dev": 0.02877122,
+ "##v": 1.1144227,
+ "jan": 0.10990462,
+ "notation": 0.089512534,
+ "merge": 1.1227887,
+ "nan": 1.5567024,
+ "##space": 0.99254274,
+ "text": 0.8710216,
+ "jerry": 0.22647548,
+ "calculate": 0.15440454,
+ "ten": 0.32695693,
+ "10": 1.5344396,
+ "algorithm": 0.62836844,
+ "gene": 0.34728685,
+ "%": 0.2368231,
+ "double": 1.1209787,
+ "tex": 0.06365831,
+ "index": 0.5435159,
+ "signed": 0.4904459,
+ "analysis": 0.1718615,
+ "-": 0.1396762,
+ "script": 0.29038444,
+ "0": 0.8062903,
+ "input": 0.91549563,
+ "analog": 0.15698253,
+ "doubles": 0.40455425,
+ "binary": 0.1998905,
+ "logging": 0.3558697,
+ "style": 0.19996896,
+ "math": 1.3926563,
+ "minus": 0.7714297,
+ "log": 2.1186054,
+ "signature": 1.3889807,
+ "infinite": 1.3683884,
+ "jp": 0.103190124,
+ "monte": 0.008685313,
+ "sequences": 0.14988056,
+ "two": 0.1746218,
+ "unknown": 0.18523866,
+ "##arat": 0.90822434,
+ "result": 0.73647875,
+ "computer": 0.07687443,
+ "file": 0.4819353,
+ "tom": 0.029840091,
+ "si": 0.341954,
+ "vector": 0.34492597,
+ "[": 0.88096726,
+ "fred": 0.51142657,
+ "embedded": 1.2203939,
+ "graphic": 0.6343938,
+ "]": 0.1294084,
+ "sep": 0.44844374,
+ "_": 0.40816084,
+ "sami": 0.11021045,
+ "include": 0.38361573,
+ "editor": 0.37708586,
+ "mat": 0.22603938,
+ "chip": 0.11934923,
+ "sv": 1.0707234,
+ "sy": 0.0012391278,
+ "display": 0.30535623,
+ "##id": 0.3483431,
+ "##10": 1.3802308,
+ "computation": 0.018111914,
+ "cs": 1.3128978,
+ "excel": 0.28730392,
+ "v": 0.11045524,
+ "##meric": 0.89911973,
+ "cod": 0.15222885,
+ "digits": 0.3730046,
+ "infinity": 0.09709999,
+ "returned": 0.57127273,
+ "|": 0.14153926,
+ "chart": 0.083271146,
+ "return": 0.99292326,
+ "mathematical": 0.7847075,
+ "supported": 0.4238645,
+ "ass": 0.40297776,
+ "calculation": 0.24467754,
+ "dd": 0.08674212,
+ "checkpoint": 0.033697985,
+ "esq": 2.0397773,
+ "constant": 0.0103672305,
+ "data": 0.24997568,
+ "dh": 0.15887833,
+ "inputs": 0.2315995,
+ "numbers": 0.91727674,
+ "sign": 0.30406588,
+ "anne": 0.5986638,
+ "integer": 0.5366779,
+ "lab": 0.15212339,
+ "specifications": 0.39540973,
+ "spec": 1.6132754,
+ "space": 0.19258404,
+ "ds": 0.9366253,
+ "zero": 0.6690643,
+ "compute": 0.17984036,
+ "apache": 0.2679578,
+ "find": 0.0010598048,
+ "function": 0.85577244,
+ "continuous": 0.8259875,
+ "html": 0.24037139,
+ "lap": 0.055166293,
+ "tag": 0.6282574,
+ "buffer": 0.13719916,
+ "logs": 1.3868552,
+ "ed": 0.35979167,
+ "always": 0.30797783,
+ "image": 0.60842186,
+ "taylor": 0.2401252,
+ "chess": 0.20376515,
+ "mp": 0.01907891,
+ "ek": 0.29114276,
+ "format": 0.9764108,
+ "batch": 0.05067344,
+ "##ido": 1.3008579,
+ "archive": 0.2021227,
+ "sha": 0.23027585,
+ "tool": 0.0047206148,
+ "discrete": 1.7965758,
+ "core": 0.4994017,
+ "jamie": 0.22776514,
+ "sequence": 0.10021305,
+ "opt": 1.3150936,
+ "unit": 0.09734801,
+ "geometric": 0.3755046,
+ "##ida": 0.30677348,
+ "header": 0.7726983,
+ "retrieve": 0.1703952,
+ "decimal": 0.5454818,
+ "support": 0.041611515,
+ "formats": 0.24833149,
+ "memory": 0.21098284,
+ "nu": 0.53884387,
+ "cad": 0.52384406,
+ "link": 0.075813696,
+ "endless": 0.74984044,
+ "gil": 0.057941087,
+ "video": 0.038902428,
+ "interface": 0.26014152,
+ "inventory": 0.09575497,
+ "error": 0.07025775,
+ "sid": 0.7416739,
+ "mono": 0.9903336,
+ "numerical": 0.17928809,
+ "negative": 1.4941814,
+ "database": 0.06932134,
+ "plot": 0.05040586,
+ "array": 0.004196291,
+ "##ci": 1.0214335,
+ "##lib": 0.006031526,
+ "value": 0.744863,
+ "class": 0.32922792,
+ "cipher": 0.01902277,
+ "types": 0.91247755,
+ "equation": 0.2417865,
+ "false": 0.23327321,
+ "specification": 0.5632302,
+ "any": 0.30409306,
+ "command": 0.061487716,
+ "inline": 1.2461637,
+ "serial": 0.75640583,
+ "syntax": 0.18768175,
+ "pub": 0.12576598,
+ "base": 1.32055
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-log10]]\n=== `LOG10`\n[.text-center]\nimage::esql/functions/signature/log10.svg[Embedded,opts=inline]\n\nReturns the log base 10. The input can be any numeric value, the return value\nis always a double.\n\nLogs of negative numbers are NaN. Logs of infinites are infinite, as is the log of 0.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=log10]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=log10-result]\n|===\n\nSupported types:\n\ninclude::types/log10.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "7cea0cf1-6f91-4e44-b9fe-e5223a238669",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/logical.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##d": 0.32854876,
+ "allowed": 0.29136488,
+ "arithmetic": 0.84443825,
+ "alphabet": 0.39728907,
+ "##l": 1.3459915,
+ "compatible": 0.10187664,
+ "java": 1.2267386,
+ "grammar": 0.65669537,
+ "peg": 0.22475415,
+ "notation": 0.58738065,
+ "else": 0.31570867,
+ "nan": 0.053111132,
+ "algorithm": 0.171283,
+ "'": 0.4263288,
+ "(": 2.0418466E-4,
+ "*": 1.3625723,
+ "-": 0.09392197,
+ "following": 0.6485991,
+ "binary": 0.36775547,
+ "except": 0.06981684,
+ "math": 0.83878595,
+ "=": 1.0232441,
+ "miscellaneous": 0.089781955,
+ "algebra": 0.35111862,
+ "two": 0.15559901,
+ "mandatory": 0.031137802,
+ "into": 0.25706503,
+ "operators": 1.4407792,
+ "julia": 0.077851884,
+ "where": 0.041289452,
+ "[": 0.9072343,
+ "]": 0.728956,
+ "equality": 0.05066925,
+ "table": 0.15835251,
+ "_": 0.5620823,
+ "`": 1.028316,
+ "editor": 0.26743215,
+ "expression": 0.36242655,
+ "c": 0.058327895,
+ "d": 0.17852692,
+ "union": 0.38476828,
+ "logical": 1.7607635,
+ "excel": 0.36697164,
+ "instruction": 0.039026942,
+ "cod": 0.5432139,
+ "logic": 1.2244266,
+ "|": 0.09020882,
+ "operation": 0.580462,
+ "da": 0.13097596,
+ "supported": 0.9650382,
+ "ass": 0.46904555,
+ "symbol": 0.24070325,
+ "esq": 1.79426,
+ "declare": 0.034617215,
+ "dice": 0.23618415,
+ "language": 0.23909648,
+ "operator": 1.5089654,
+ "apache": 0.040271804,
+ "tab": 0.14336188,
+ "etc": 0.09725283,
+ "continuous": 0.86335295,
+ "intersection": 0.316153,
+ "function": 0.06610097,
+ "lap": 0.32680407,
+ "html": 0.053507157,
+ "ed": 0.5284729,
+ "combination": 0.3806904,
+ "otherwise": 0.34914106,
+ "par": 0.15437481,
+ "which": 0.01446182,
+ "chess": 0.39907753,
+ "last": 0.11706456,
+ "level": 0.10323045,
+ "format": 0.2719399,
+ "eric": 0.056752283,
+ "plus": 0.16118054,
+ "discrete": 2.0115066,
+ "sequence": 0.39392608,
+ "unit": 0.1590814,
+ "decimal": 0.16272435,
+ "dash": 0.022170898,
+ "support": 0.6250597,
+ "algebraic": 0.21806955,
+ "code": 0.17857789,
+ "student": 0.1441447,
+ "nu": 0.22303721,
+ "provided": 0.08841799,
+ "non": 0.6144807,
+ "symbols": 0.24754155,
+ "sql": 0.6692202,
+ "sid": 0.21455787,
+ "not": 1.3686014,
+ "operations": 0.195333,
+ "structural": 0.0027743205,
+ "and": 0.84539723,
+ "lang": 0.1180852,
+ "class": 0.72349113,
+ "keyboard": 0.29904372,
+ "or": 0.48272434,
+ "command": 0.30010012,
+ "serial": 0.06663052,
+ "inherited": 0.008632014,
+ "syntax": 1.0812175
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-logical-operators]]\n=== Logical operators\n\nThe following logical operators are supported:\n\n* `AND`\n* `OR`\n* `NOT`\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "8cec9029-1d06-47b4-b647-77e3e10bcf43",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/ltrim.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.32972732,
+ "##d": 0.7223193,
+ "leading": 1.6317708,
+ "del": 0.38333473,
+ "fin": 0.117961355,
+ "styled": 1.1564287,
+ "alphabet": 0.10031086,
+ "##frame": 0.08443685,
+ "##l": 1.2875825,
+ "##r": 0.16174169,
+ "character": 0.09729264,
+ "trailing": 0.8353598,
+ "java": 0.71946424,
+ "##s": 0.19660479,
+ "styling": 0.77350247,
+ "len": 0.36335063,
+ "dev": 0.063625984,
+ "trim": 0.042423077,
+ "##v": 1.1210994,
+ "xml": 0.27709898,
+ "notation": 0.19922173,
+ "merge": 1.6954755,
+ "record": 0.062422756,
+ "merging": 0.14273638,
+ "%": 0.9672522,
+ "tex": 0.098920055,
+ "'": 0.040852625,
+ "(": 0.03686317,
+ "analysis": 0.015394669,
+ "-": 0.21825454,
+ "tags": 0.4947421,
+ "/": 0.08404467,
+ "cue": 0.19151327,
+ "as": 0.12555939,
+ "stop": 0.0095412675,
+ "styles": 0.014977032,
+ "compression": 0.37073413,
+ "##rra": 0.09547372,
+ "##ram": 0.1945662,
+ "statistical": 1.5174192E-4,
+ "miscellaneous": 0.25557446,
+ "##ler": 0.24362817,
+ "eliminate": 0.64524955,
+ "virus": 0.262928,
+ "result": 0.9400737,
+ "characters": 0.31382185,
+ "sd": 0.04950716,
+ "##or": 0.050645225,
+ "encryption": 0.23115627,
+ "vector": 0.034296233,
+ "[": 0.9620296,
+ "fred": 0.2827947,
+ "]": 0.5395862,
+ "graphic": 0.054213148,
+ "_": 0.56513566,
+ "sep": 0.54875654,
+ "ss": 0.06547423,
+ "chip": 0.0689786,
+ "contain": 0.26588058,
+ "d": 0.3839876,
+ "column": 0.16748738,
+ "suppress": 0.5803019,
+ "l": 0.034414064,
+ "sample": 0.09862068,
+ "cs": 1.3060229,
+ "wipe": 0.075084426,
+ "bug": 0.22002093,
+ "##uation": 0.20958667,
+ "|": 0.4061288,
+ "da": 0.5709565,
+ "operation": 0.28265905,
+ "}": 0.18555558,
+ "font": 0.5150261,
+ "ass": 0.48549345,
+ "dd": 0.21788463,
+ "dh": 0.3564393,
+ "##ri": 0.051400572,
+ "anne": 0.30728343,
+ "source": 0.22955216,
+ "specifications": 0.61637735,
+ "operator": 0.3726386,
+ "dr": 0.040643413,
+ "ds": 1.148989,
+ "apache": 0.385458,
+ "white": 0.4274342,
+ "separation": 0.03480409,
+ "exclude": 0.32883975,
+ "results": 0.2946669,
+ "ed": 0.7165085,
+ "par": 0.25663885,
+ "which": 0.1949047,
+ "chess": 0.1435581,
+ "batch": 0.018088266,
+ "encoding": 0.10169952,
+ "sha": 0.28090882,
+ "discrete": 1.9453218,
+ "extract": 0.20217988,
+ "spaces": 0.5523904,
+ "formats": 0.27486855,
+ "string": 1.1819652,
+ "import": 0.0025428364,
+ "rule": 0.03282498,
+ "video": 0.18684587,
+ "interface": 0.26701248,
+ "##son": 0.07330672,
+ "remove": 1.2899116,
+ "sid": 0.7840022,
+ "mono": 1.1499578,
+ "prevent": 0.10208312,
+ "button": 0.044651818,
+ "class": 0.3610495,
+ "##com": 0.59427387,
+ "mask": 0.52926546,
+ "cipher": 0.4062203,
+ "digital": 0.0986788,
+ "##entation": 0.23411629,
+ "spelling": 0.51510334,
+ "length": 0.32796624,
+ "specification": 0.65113056,
+ "removal": 0.92658645,
+ "syntax": 0.6635699,
+ "mark": 0.112640336,
+ "merger": 0.03367205,
+ "copyright": 0.4020165,
+ "software": 0.071102366,
+ "pun": 0.21773133,
+ "gage": 0.10993313,
+ "during": 0.019503254,
+ "rid": 0.44441983,
+ "peg": 0.61660546,
+ "##space": 1.1597682,
+ "text": 0.08803599,
+ "algorithm": 0.5627195,
+ "reduce": 0.49840018,
+ "method": 0.07906159,
+ "gene": 0.32506636,
+ "index": 0.6427428,
+ "##cing": 0.13467963,
+ "removing": 0.43940425,
+ "script": 0.33474073,
+ "style": 0.9345588,
+ "math": 0.20136927,
+ "flag": 0.079029426,
+ "##rim": 1.9828045,
+ "pattern": 0.41389588,
+ "protection": 0.1752852,
+ "sequences": 0.13457513,
+ "layer": 0.13029724,
+ "##arat": 0.87255585,
+ "file": 0.74707234,
+ "strings": 0.9164862,
+ "composed": 0.25691447,
+ "theme": 0.026396004,
+ "elimination": 0.095517606,
+ "include": 1.0344491,
+ "editor": 0.7068074,
+ "erase": 0.2818547,
+ "heading": 0.43972242,
+ "display": 0.33867,
+ "consolidation": 0.10822952,
+ "lead": 0.432719,
+ "sharp": 0.36383495,
+ "excel": 0.27064407,
+ "removed": 0.16465825,
+ "organized": 0.2196851,
+ "report": 0.1518465,
+ "cod": 0.25172907,
+ "removes": 0.502899,
+ "discreet": 0.24157014,
+ "checkpoint": 0.48578435,
+ "esq": 1.8293723,
+ "data": 0.36369142,
+ "lt": 1.8597082,
+ "dice": 0.55527383,
+ "replace": 0.054764263,
+ "spec": 1.5660794,
+ "space": 1.0203047,
+ "mode": 0.06315147,
+ "whites": 1.3354943,
+ "protocol": 0.14606169,
+ "strip": 0.20038965,
+ "tab": 0.31655613,
+ "mb": 0.07434001,
+ "continuous": 0.87605214,
+ "function": 0.052437846,
+ "html": 0.47573167,
+ "lap": 0.21569563,
+ "tag": 0.96147954,
+ "buffer": 0.44965377,
+ "combine": 0.17318611,
+ "including": 0.5456076,
+ "ms": 0.08720666,
+ "##pace": 1.2419487,
+ "format": 1.1433586,
+ "archive": 0.5588226,
+ "includes": 0.13662013,
+ "sort": 0.3590328,
+ "preserve": 0.013799266,
+ "core": 0.4271952,
+ "sequence": 0.39738432,
+ "header": 1.197686,
+ "enforce": 0.12141956,
+ "files": 0.026008027,
+ "dave": 0.39575934,
+ "differentiation": 0.08911438,
+ "code": 0.06260563,
+ "blend": 9.797779E-4,
+ "error": 0.015930755,
+ "percent": 0.4041972,
+ "sql": 0.09305189,
+ "##lib": 0.23977523,
+ "included": 0.27741683,
+ "cleaning": 0.018706217,
+ "keyboard": 0.26888987,
+ "control": 0.14879984,
+ "command": 0.44638446,
+ "serial": 0.5316396,
+ "slash": 0.10981244
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-ltrim]]\n=== `LTRIM`\nRemoves leading whitespaces from strings.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=ltrim]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=ltrim-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "863e5d5b-f3fe-4fea-b608-2a1d72714650",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/math_functions.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 0.7633424,
+ "functions": 1.1223389,
+ "software": 0.55743736,
+ "##h": 0.56682444,
+ "arithmetic": 0.2083404,
+ "##i": 0.121548675,
+ "alphabet": 0.23850444,
+ "program": 0.042399425,
+ "##l": 1.5208662,
+ "type": 0.025336927,
+ "##n": 0.584995,
+ "##o": 0.17963578,
+ "compatible": 0.22271422,
+ "java": 1.1702276,
+ "##s": 0.3977967,
+ "peg": 0.30885547,
+ "##v": 0.4541984,
+ "jerry": 0.18695721,
+ "algorithm": 0.3096071,
+ "ac": 0.57132256,
+ "gene": 0.21326146,
+ "index": 0.6742167,
+ "circular": 0.09082036,
+ "+": 1.0427935,
+ "-": 0.14012943,
+ "script": 0.25497398,
+ "tags": 0.4979389,
+ "ar": 0.011694684,
+ "as": 0.6268081,
+ "provide": 0.06705623,
+ "ax": 0.04226276,
+ "unicode": 0.18837802,
+ "math": 1.5976944,
+ "functional": 0.13468307,
+ "aim": 0.05578453,
+ "log": 1.0839313,
+ "pattern": 0.07318884,
+ "algebra": 0.18232866,
+ "##bre": 0.9926913,
+ "computer": 0.06361648,
+ "library": 0.18271878,
+ "file": 0.16725142,
+ "##os": 0.90916145,
+ "pow": 1.1890184,
+ "supports": 0.629038,
+ "vector": 0.038899332,
+ "[": 0.51300395,
+ "fred": 0.12408873,
+ "arm": 0.19077554,
+ "sq": 1.1111993,
+ "table": 0.004068313,
+ "_": 0.93479466,
+ "include": 0.65704495,
+ "editor": 0.45224026,
+ "mat": 0.3817193,
+ "ce": 0.46531513,
+ "chip": 0.16784343,
+ "expression": 0.15372957,
+ "e": 0.20169048,
+ "display": 0.6111515,
+ "column": 0.19134238,
+ "##id": 0.77671814,
+ "co": 0.58316773,
+ "##10": 0.48164606,
+ "excel": 0.34768605,
+ "abs": 1.3712144,
+ "framework": 0.17670281,
+ "machine": 0.0044327336,
+ "php": 0.15027852,
+ "cod": 0.12896097,
+ "}": 0.26143232,
+ "rounds": 0.26227564,
+ "mathematical": 1.2378818,
+ "supported": 0.53551495,
+ "font": 0.27534005,
+ "calculation": 0.50334996,
+ "ass": 0.0420639,
+ "esq": 1.9155495,
+ "ace": 0.29183653,
+ "dj": 0.29490215,
+ "anne": 0.6307609,
+ "language": 0.22546458,
+ "integer": 0.2545886,
+ "ata": 1.3240199,
+ "##ab": 0.89658237,
+ "##il": 1.0404001,
+ "apache": 0.502566,
+ "tab": 0.08255256,
+ "##in": 0.8564166,
+ "function": 1.1883248,
+ "html": 0.5261372,
+ "tag": 0.99236715,
+ "buffer": 0.016595885,
+ "programming": 0.043040335,
+ "ed": 0.46416137,
+ "notebook": 0.16869928,
+ "tan": 1.2759074,
+ "chess": 0.26250973,
+ "including": 0.03208825,
+ "##sh": 0.8075049,
+ "format": 0.0262929,
+ "tau": 1.1155115,
+ "##ido": 1.3355817,
+ "list": 1.024168,
+ "plus": 0.48562577,
+ "##ca": 0.10723067,
+ "tutor": 0.16856796,
+ "square": 0.4204427,
+ "jamie": 0.2407637,
+ "core": 0.17512903,
+ "##rt": 0.79003066,
+ "##cho": 0.051126387,
+ "lists": 0.7951319,
+ "geometric": 0.7189024,
+ "##ida": 0.4507185,
+ "##ile": 0.39309502,
+ "decimal": 0.33557716,
+ "support": 0.8712899,
+ "useful": 0.09418098,
+ "algebraic": 0.27073073,
+ "code": 0.3745685,
+ "student": 0.07670762,
+ "mathematics": 0.07170085,
+ "cad": 0.585504,
+ "gil": 0.21962537,
+ "interface": 0.3532124,
+ "title": 0.042252705,
+ "sid": 0.49377885,
+ "apple": 0.12820235,
+ "database": 0.2490617,
+ "floors": 0.8170164,
+ "para": 0.17554058,
+ "along": 0.11237818,
+ "##ch": 0.0860712,
+ "array": 0.017518898,
+ "##ci": 1.3076704,
+ "sin": 0.89082074,
+ "supporting": 0.088233665,
+ "floor": 1.1026226,
+ "said": 0.003641286,
+ "class": 0.5250379,
+ "keyboard": 0.62752616,
+ "equation": 0.5442445,
+ "length": 0.05185387,
+ "round": 1.0969812,
+ "serial": 0.04275928,
+ "pi": 0.9484283,
+ "syntax": 0.4592484,
+ "pub": 0.3445712
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-math-functions]]\n==== {esql} mathematical functions\n\n++++\nMathematical functions\n++++\n\n{esql} supports these mathematical functions:\n\n// tag::math_list[]\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n// end::math_list[]\n\ninclude::abs.asciidoc[]\ninclude::acos.asciidoc[]\ninclude::asin.asciidoc[]\ninclude::atan.asciidoc[]\ninclude::atan2.asciidoc[]\ninclude::ceil.asciidoc[]\ninclude::cos.asciidoc[]\ninclude::cosh.asciidoc[]\ninclude::e.asciidoc[]\ninclude::floor.asciidoc[]\ninclude::log10.asciidoc[]\ninclude::pi.asciidoc[]\ninclude::pow.asciidoc[]\ninclude::round.asciidoc[]\ninclude::sin.asciidoc[]\ninclude::sinh.asciidoc[]\ninclude::sqrt.asciidoc[]\ninclude::tan.asciidoc[]\ninclude::tanh.asciidoc[]\ninclude::tau.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "14b5528b-54f0-408a-abfc-7c56a8b13bca",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/max.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.28419515,
+ "fancy": 0.030540207,
+ "mod": 0.10320217,
+ "##d": 0.5187359,
+ "optimal": 0.045394275,
+ "allowed": 0.1743671,
+ "##g": 1.3335972,
+ "gage": 0.35346588,
+ "pun": 0.05040393,
+ "arithmetic": 0.12082634,
+ "fin": 0.1288239,
+ "styled": 1.0931593,
+ "##frame": 0.17274371,
+ "during": 0.02720643,
+ "##l": 1.3645124,
+ "score": 0.23480916,
+ "java": 0.63624126,
+ "peg": 0.50994265,
+ "##s": 0.047922693,
+ "styling": 0.6564727,
+ "len": 0.46469933,
+ "dev": 0.18523806,
+ "stats": 1.2258255,
+ "##v": 1.087102,
+ "notation": 0.6133838,
+ "xml": 0.12033308,
+ "merge": 1.6209348,
+ "rank": 0.29670182,
+ "##space": 1.2672393,
+ "nan": 0.338102,
+ "text": 0.20404749,
+ "algorithm": 0.40789893,
+ "merging": 0.122495465,
+ "%": 0.9678011,
+ "gene": 0.26969835,
+ "ag": 1.6940519,
+ "'": 0.046654448,
+ "pool": 0.21260263,
+ "(": 0.09333882,
+ "index": 0.72567266,
+ "raw": 0.06494808,
+ "analysis": 0.5262629,
+ "-": 0.26127663,
+ "script": 0.10796192,
+ "tags": 0.5406704,
+ "/": 0.024564067,
+ "as": 0.20629653,
+ "field": 1.3056349,
+ "style": 0.8468946,
+ "math": 0.47625336,
+ "=": 0.2121754,
+ "statistical": 0.68343264,
+ "pattern": 0.101384394,
+ "mid": 0.010892929,
+ "matrix": 0.03119835,
+ "result": 0.9775223,
+ "##arat": 0.8379223,
+ "sd": 0.08085758,
+ "file": 0.4173157,
+ "composed": 0.18475795,
+ "si": 0.23270218,
+ "popularity": 0.04337622,
+ "term": 0.027096678,
+ "where": 0.017108593,
+ "vector": 0.0077590747,
+ "[": 1.1074394,
+ "fred": 0.3852942,
+ "]": 0.7022027,
+ "graphic": 0.30722356,
+ "table": 0.34363154,
+ "_": 0.70542836,
+ "sep": 0.5999888,
+ "ss": 0.12279136,
+ "include": 1.0060245,
+ "editor": 0.21380751,
+ "mat": 0.03698392,
+ "stat": 0.62918824,
+ "contain": 0.10484341,
+ "d": 0.25576332,
+ "max": 1.5768391,
+ "heading": 0.47060585,
+ "display": 0.33552542,
+ "column": 0.4930506,
+ "abbreviation": 0.37385872,
+ "consolidation": 0.07428047,
+ "sample": 0.2508788,
+ "cs": 1.2914909,
+ "excel": 0.7365758,
+ "v": 0.10405895,
+ "##meric": 1.1187937,
+ "##uation": 0.29090217,
+ "report": 0.3588776,
+ "organized": 0.10752705,
+ "maximum": 1.3510504,
+ "cod": 0.18629488,
+ "|": 0.14003275,
+ "}": 0.3962631,
+ "da": 0.33657083,
+ "chart": 0.29423317,
+ "minimum": 0.06545033,
+ "statistics": 1.0060223,
+ "font": 0.20649573,
+ "calculation": 0.3558844,
+ "ass": 0.23504148,
+ "dd": 0.19529761,
+ "symbol": 0.23916274,
+ "esq": 1.8671598,
+ "constant": 0.39217556,
+ "data": 0.68365145,
+ "dh": 0.37077403,
+ "dice": 0.2087836,
+ "anne": 0.27734843,
+ "source": 0.23388356,
+ "integer": 0.17797972,
+ "accounting": 0.068090655,
+ "specifications": 0.5029094,
+ "spec": 1.5930732,
+ "space": 0.63160163,
+ "operator": 0.06407914,
+ "ds": 1.0857538,
+ "apache": 0.04467815,
+ "tab": 0.008438526,
+ "##ag": 0.0398697,
+ "continuous": 0.9083864,
+ "function": 0.0063716597,
+ "limit": 0.62255013,
+ "html": 0.57109684,
+ "lap": 0.32612103,
+ "tag": 0.9835301,
+ "buffer": 0.24105582,
+ "results": 0.5252646,
+ "ed": 0.5362262,
+ "combine": 0.48007813,
+ "par": 0.10208323,
+ "which": 0.033179186,
+ "including": 0.60526645,
+ "chess": 0.39957532,
+ "mp": 0.0819243,
+ "last": 0.22420843,
+ "format": 1.0895218,
+ "archive": 0.16185059,
+ "includes": 0.035756007,
+ "sort": 0.18398458,
+ "sha": 0.25434154,
+ "discrete": 1.9698633,
+ "core": 0.49772146,
+ "jamie": 0.11514477,
+ "unit": 0.23594972,
+ "coefficient": 0.13503829,
+ "header": 1.2506837,
+ "fields": 1.1053685,
+ "decimal": 0.05046548,
+ "formats": 0.23933372,
+ "code": 0.1686607,
+ "nu": 0.69933474,
+ "cad": 0.38593155,
+ "values": 0.19570428,
+ "gil": 0.17210591,
+ "percent": 0.5059259,
+ "sid": 0.66740465,
+ "sql": 0.4725331,
+ "mono": 1.1905888,
+ "numerical": 0.24946548,
+ "database": 0.5251108,
+ "define": 0.23207949,
+ "definition": 0.40290073,
+ "value": 1.0662484,
+ "included": 0.30769163,
+ "class": 0.16218352,
+ "digital": 0.06293176,
+ "equation": 0.24916549,
+ "length": 0.11817799,
+ "specification": 0.6131202,
+ "serial": 0.42500728,
+ "syntax": 0.49504167,
+ "formula": 0.23855487,
+ "pub": 0.20348975,
+ "demographics": 0.18147326
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-agg-max]]\n=== `MAX`\nThe maximum value of a numeric field.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/stats.csv-spec[tag=max]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/stats.csv-spec[tag=max-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "5d7a527b-b44a-425e-a21c-2d74365742cb",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/median.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.4333742,
+ "half": 1.484454,
+ "##d": 0.57630306,
+ "fifty": 0.37008867,
+ "##g": 1.2930682,
+ "fin": 0.08350058,
+ "styled": 1.0220147,
+ "##frame": 0.22154687,
+ "alphabet": 0.1778032,
+ "##l": 1.3740635,
+ "score": 0.30790195,
+ "java": 0.6878695,
+ "styling": 0.4512685,
+ "stats": 0.83629876,
+ "##v": 1.142126,
+ "notation": 0.6524961,
+ "jan": 0.36293477,
+ "meaning": 0.27598923,
+ "merge": 1.5664628,
+ "above": 0.29099807,
+ "estimate": 0.101719655,
+ "rank": 0.82478637,
+ "merging": 0.3514626,
+ "%": 1.260035,
+ "ag": 1.5619968,
+ "'": 0.31980106,
+ "analysis": 0.54138017,
+ "-": 0.47167796,
+ "quality": 0.41849682,
+ "tags": 0.2510988,
+ "/": 0.1633315,
+ "as": 0.01365793,
+ "correlation": 0.06283784,
+ "grade": 0.15767778,
+ "difference": 0.46612623,
+ "<": 0.43268117,
+ "=": 0.3356138,
+ "##ter": 0.18804067,
+ "average": 0.9305852,
+ "statistical": 0.7875268,
+ "##stic": 0.7865724,
+ "mid": 0.2438311,
+ "global": 0.15913722,
+ "virus": 0.04630965,
+ "result": 0.6783484,
+ "same": 0.4553168,
+ "popularity": 0.2992889,
+ "ari": 0.08852351,
+ "term": 0.54264,
+ "where": 0.30617964,
+ "[": 1.1649276,
+ "fred": 0.41754344,
+ "]": 0.663417,
+ "graphic": 0.30727687,
+ "_": 0.6413976,
+ "sep": 0.2648013,
+ "ss": 6.976078E-4,
+ "stat": 0.0490091,
+ "middle": 0.94366044,
+ "d": 0.13959377,
+ "column": 0.43070692,
+ "abbreviation": 0.5103094,
+ "sample": 0.26449388,
+ "cs": 1.4008455,
+ "v": 0.17909686,
+ "##uation": 0.10047012,
+ "maximum": 0.23027946,
+ "describe": 0.05813749,
+ "|": 0.07561974,
+ "chart": 0.4351275,
+ "quarter": 0.5003249,
+ "ratio": 0.41989785,
+ "font": 0.09976973,
+ "standard": 0.21382752,
+ "ass": 0.1784681,
+ "calculation": 0.16354014,
+ "symbol": 0.21516359,
+ "dh": 0.38116133,
+ "approximate": 1.540668,
+ "anne": 0.5920539,
+ "specifications": 0.36396402,
+ "ds": 1.0368375,
+ "segment": 0.008990285,
+ "warning": 0.47434,
+ "50": 1.5813096,
+ "results": 0.30738363,
+ "weighted": 0.08608126,
+ "ed": 0.57955056,
+ "which": 0.13190228,
+ "par": 0.020118697,
+ "chess": 0.48875633,
+ "test": 0.21944639,
+ "eric": 0.043722715,
+ "sha": 0.25666484,
+ "graph": 0.16056447,
+ "discrete": 1.8974593,
+ "measure": 0.21692605,
+ "median": 2.3778863,
+ "coefficient": 0.2946627,
+ "geometric": 0.20093146,
+ "##ile": 1.7594638,
+ "decimal": 0.25957653,
+ "formats": 0.054839764,
+ "inventory": 0.04890762,
+ "non": 0.03194624,
+ "sid": 0.349847,
+ "mono": 0.9164786,
+ "minimal": 0.27962583,
+ "negative": 0.14186887,
+ "terminology": 0.5599572,
+ "definition": 0.14401072,
+ "class": 0.45819077,
+ "summary": 0.06347507,
+ "spelling": 0.028509066,
+ "length": 0.2916082,
+ "specification": 0.40594915,
+ "syntax": 0.35174945,
+ "pub": 0.3185114,
+ "merger": 0.21525559,
+ "fancy": 0.072103,
+ "called": 0.5133382,
+ "gage": 0.19864117,
+ "pun": 0.13743557,
+ "arithmetic": 0.10040144,
+ "peg": 0.42541596,
+ "corner": 0.09683481,
+ "##space": 1.04637,
+ "latin": 0.3205717,
+ "jerry": 0.15055309,
+ "text": 0.019643534,
+ "greater": 1.2475642,
+ "algorithm": 1.0906285,
+ "similar": 0.3667611,
+ "gene": 0.27527606,
+ "probability": 0.033321362,
+ "lower": 0.049382582,
+ "index": 0.80104584,
+ "classification": 0.08474148,
+ "script": 0.45246398,
+ "inequality": 0.06135442,
+ "exact": 0.084067024,
+ "style": 0.7192927,
+ "interval": 0.026001522,
+ "math": 0.851329,
+ "jude": 0.07972523,
+ "algorithms": 0.41148,
+ "aim": 0.03241248,
+ "pattern": 0.25030532,
+ "distribution": 0.33383617,
+ "##arat": 0.63537574,
+ "file": 0.04522167,
+ "composed": 0.15307033,
+ "known": 0.04352323,
+ "semi": 0.49034166,
+ "table": 0.19439112,
+ "include": 0.70963544,
+ "continuum": 0.39419305,
+ "raven": 0.0067077707,
+ "within": 0.43170786,
+ "heading": 0.26803905,
+ "more": 0.3440637,
+ "consolidation": 0.13906923,
+ "##mini": 1.1033745,
+ "fraction": 0.42573184,
+ "excel": 0.6362837,
+ "organized": 0.051796142,
+ "statistics": 0.826435,
+ "esq": 1.8434294,
+ "data": 0.6078567,
+ "cent": 0.5722138,
+ "rating": 0.1864047,
+ "integer": 0.23008807,
+ "spec": 1.6294723,
+ "space": 0.36082506,
+ "norm": 0.19094624,
+ "mode": 0.090028964,
+ "split": 0.027567735,
+ "continuous": 0.9188163,
+ "than": 0.66304976,
+ "html": 0.3690934,
+ "tag": 0.76299506,
+ "different": 0.49507117,
+ "combine": 0.20255484,
+ "all": 0.51373875,
+ "including": 0.14851648,
+ "below": 0.22458999,
+ "format": 0.95793355,
+ "less": 0.9616343,
+ "sort": 0.40512457,
+ "most": 0.11539473,
+ "core": 0.46775723,
+ "jamie": 0.23610112,
+ "alan": 0.23234184,
+ "header": 1.0774022,
+ "code": 0.11900236,
+ "values": 0.83127856,
+ "nu": 0.18474586,
+ "cad": 0.099388264,
+ "##le": 0.3303092,
+ "gil": 0.20330164,
+ "amy": 0.19617899,
+ "error": 0.039338276,
+ "percent": 1.3766998,
+ "point": 0.04538869,
+ "sql": 0.0022104373,
+ "numerical": 0.13285874,
+ "database": 0.05204321,
+ "and": 0.05083389,
+ "predict": 0.36763513,
+ "ranked": 0.018770449,
+ "value": 1.0362942,
+ "equation": 0.23443355,
+ "mean": 0.7771719,
+ "category": 0.40295213
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-agg-median]]\n=== `MEDIAN`\nThe value that is greater than half of all values and less than half of\nall values, also known as the 50% <>.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/stats_percentile.csv-spec[tag=median]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/stats_percentile.csv-spec[tag=median-result]\n|===\n\nNOTE: Like <>, `MEDIAN` is <>.\n\n[WARNING]\n====\n`MEDIAN` is also {wikipedia}/Nondeterministic_algorithm[non-deterministic].\nThis means you can get slightly different results using the same data.\n====\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "00da6a98-e048-4a6e-9d54-5ca0177036eb",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/median_absolute_deviation.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##d": 0.6673664,
+ "##g": 1.222596,
+ "styled": 0.46293518,
+ "alphabet": 0.13485548,
+ "##l": 1.4798514,
+ "score": 0.0678395,
+ "java": 0.35688215,
+ "stats": 0.25685683,
+ "##v": 1.0257013,
+ "notation": 0.55233926,
+ "jan": 0.45080796,
+ "meaning": 0.3765538,
+ "merge": 0.4266846,
+ "rank": 0.79940856,
+ "%": 0.533289,
+ "ag": 1.5158514,
+ "'": 0.1290954,
+ "(": 0.1322872,
+ ")": 0.01105352,
+ "analysis": 0.54157066,
+ "-": 0.18732844,
+ "quality": 0.4548915,
+ "population": 0.20228456,
+ "tags": 0.13874522,
+ "standards": 0.1323412,
+ "as": 0.08813445,
+ "ax": 0.14282691,
+ "grade": 0.13584065,
+ "difference": 0.28400096,
+ "##ter": 0.59849703,
+ "average": 0.6124727,
+ "statistical": 0.99047714,
+ "strong": 0.26206872,
+ "##stic": 0.5184812,
+ "mid": 0.18823612,
+ "global": 0.13921507,
+ "measurement": 0.16131173,
+ "same": 0.11160132,
+ "si": 0.18899803,
+ "popularity": 0.15653278,
+ "ian": 0.07813141,
+ "ari": 0.6432842,
+ "term": 0.7017353,
+ "where": 0.28713298,
+ "[": 0.9339663,
+ "fred": 0.40876278,
+ "]": 0.48697057,
+ "graphic": 0.17082518,
+ "_": 0.8392476,
+ "sep": 0.4043308,
+ "ss": 0.042752083,
+ "stat": 0.9337639,
+ "variables": 0.3419009,
+ "middle": 0.6949842,
+ "d": 0.12919126,
+ "column": 0.18477242,
+ "abbreviation": 0.45668474,
+ "sample": 1.0177311,
+ "cs": 1.2196646,
+ "q": 0.15922353,
+ "pearson": 0.036135048,
+ "metric": 0.07182545,
+ "absolute": 1.8955206,
+ "v": 0.13637188,
+ "##uation": 0.0512606,
+ "x": 1.020327,
+ "stan": 0.15052868,
+ "describe": 1.050697,
+ "|": 0.64036834,
+ "chart": 0.31339106,
+ "da": 0.11922702,
+ "ratio": 0.33796343,
+ "standard": 0.8632727,
+ "calculation": 0.69927335,
+ "dd": 0.04413924,
+ "symbol": 0.124114,
+ "dh": 0.37363216,
+ "approximate": 0.80422604,
+ "anne": 0.39579916,
+ "accounting": 0.20979497,
+ "ds": 1.0844247,
+ "assessment": 0.011198053,
+ "##lier": 1.5796558,
+ "##ag": 0.026728239,
+ "segment": 0.042407308,
+ "warning": 0.20681432,
+ "results": 0.15580826,
+ "weighted": 0.12252668,
+ "ed": 0.5227049,
+ "sigma": 0.15420745,
+ "par": 0.03378385,
+ "res": 0.29907295,
+ "chess": 0.15432546,
+ "test": 0.11099884,
+ "eric": 0.26389655,
+ "sha": 0.12695745,
+ "discrete": 1.7542838,
+ "measure": 0.99036247,
+ "median": 2.1808245,
+ "geometric": 0.40112913,
+ "coefficient": 0.35210964,
+ "##ile": 1.4617871,
+ "decimal": 0.16306123,
+ "useful": 0.84016216,
+ "description": 0.35060555,
+ "non": 0.0061529735,
+ "sid": 0.25651985,
+ "mono": 0.90153706,
+ "random": 1.1313198,
+ "terminology": 0.3540149,
+ "definition": 0.22173074,
+ "factor": 0.11138678,
+ "class": 0.30307522,
+ "normal": 0.48529315,
+ "xi": 1.2255623,
+ "##de": 0.25459635,
+ "formula": 0.24643658,
+ "syntax": 0.17534563,
+ "mark": 0.05855312,
+ "brent": 0.07841052,
+ "called": 0.04211739,
+ "gage": 0.27249676,
+ "pun": 0.03226013,
+ "arithmetic": 0.12174405,
+ "whole": 0.23592035,
+ "entire": 0.063813105,
+ "variation": 0.8957821,
+ "division": 0.04530154,
+ "peg": 0.18049762,
+ "##space": 1.4661231,
+ "jerry": 0.13159831,
+ "latin": 0.06987731,
+ "algorithm": 0.9984702,
+ "probability": 0.013009788,
+ "index": 0.5835538,
+ "distributed": 0.30390775,
+ "is": 0.29250726,
+ "classification": 0.31319585,
+ "samples": 0.32505196,
+ "script": 0.065126695,
+ "spectrum": 0.10129585,
+ "interval": 0.3698386,
+ "style": 0.29076082,
+ "math": 0.8940128,
+ "jude": 0.20956047,
+ "algorithms": 0.25313884,
+ "aim": 0.2062593,
+ "variability": 1.4508272,
+ "distribution": 0.6306274,
+ "out": 0.3805035,
+ "##arat": 0.93505037,
+ "semi": 0.03838093,
+ "table": 0.12055998,
+ "include": 0.7461857,
+ "continuum": 0.57972056,
+ "robust": 1.6928896,
+ "quan": 0.066901825,
+ "raven": 0.059692618,
+ "acronym": 0.04376037,
+ "##mini": 1.2009726,
+ "excel": 0.2487878,
+ "shaw": 0.016012292,
+ "statistics": 0.72208196,
+ "indicator": 0.041148633,
+ "esq": 1.8419353,
+ "constant": 0.15258218,
+ "data": 1.0980186,
+ "cent": 0.47889686,
+ "spec": 1.0876392,
+ "space": 0.5082739,
+ "points": 0.21216546,
+ "norm": 0.1730251,
+ "mode": 0.09801249,
+ "describing": 0.25984648,
+ "continuous": 0.8457376,
+ "tag": 0.6977338,
+ "different": 0.31235716,
+ "calculated": 0.30292624,
+ "otherwise": 0.22059762,
+ "mp": 0.13884328,
+ "format": 0.88833535,
+ "sort": 0.056636155,
+ "deter": 0.25576535,
+ "important": 0.022240736,
+ "core": 0.23694736,
+ "jamie": 0.22049369,
+ "unit": 0.086350076,
+ "rigorous": 0.3949971,
+ "were": 0.07476688,
+ "header": 0.62992525,
+ "survey": 0.012766773,
+ "##ada": 0.14969717,
+ "nu": 0.21824686,
+ "gil": 0.13485277,
+ "error": 0.26015,
+ "percent": 0.9728324,
+ "point": 0.8358044,
+ "define": 0.3566592,
+ "predict": 0.46311492,
+ "value": 0.054775774,
+ "chance": 0.06600511,
+ "equation": 0.28365642,
+ "confidence": 0.047142766,
+ "malcolm": 0.112652265,
+ "deviation": 1.7665364,
+ "##istic": 0.9302617,
+ "variance": 0.8682733,
+ "mean": 0.7975857,
+ "variable": 0.42616335,
+ "descriptive": 1.1319712,
+ "category": 0.49182573,
+ "normally": 0.26716444
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-agg-median-absolute-deviation]]\n=== `MEDIAN_ABSOLUTE_DEVIATION`\nThe median absolute deviation, a measure of variability. It is a robust\nstatistic, meaning that it is useful for describing data that may have outliers,\nor may not be normally distributed. For such data it can be more descriptive than\nstandard deviation.\n\nIt is calculated as the median of each data point’s deviation from the median of\nthe entire sample. That is, for a random variable `X`, the median absolute deviation\nis `median(|median(X) - Xi|)`.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/stats_percentile.csv-spec[tag=median-absolute-deviation]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/stats_percentile.csv-spec[tag=median-absolute-deviation-result]\n|===\n\nNOTE: Like <>, `MEDIAN_ABSOLUTE_DEVIATION` is\n <>.\n\n[WARNING]\n====\n`MEDIAN_ABSOLUTE_DEVIATION` is also {wikipedia}/Nondeterministic_algorithm[non-deterministic].\nThis means you can get slightly different results using the same data.\n====\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "cf37e53a-24fd-4ad1-ace3-bad8a86cb0b9",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/min.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.3702105,
+ "fancy": 0.06257282,
+ "mod": 0.15598299,
+ "##d": 0.51704574,
+ "allowed": 0.2048765,
+ "##g": 1.2585346,
+ "gage": 0.3890368,
+ "pun": 0.09279063,
+ "arithmetic": 0.09278172,
+ "fin": 0.16134226,
+ "styled": 1.1138277,
+ "##frame": 0.17912824,
+ "during": 0.028980153,
+ "##l": 1.3770605,
+ "score": 0.17398842,
+ "java": 0.55699104,
+ "peg": 0.48994604,
+ "##s": 0.1214507,
+ "styling": 0.65624595,
+ "len": 0.32052574,
+ "dev": 0.23372088,
+ "stats": 1.2304064,
+ "##v": 1.0632432,
+ "notation": 0.7061508,
+ "xml": 0.095476106,
+ "jan": 9.6536754E-4,
+ "merge": 1.6263764,
+ "rank": 0.22280198,
+ "##space": 1.3083426,
+ "nan": 0.33804956,
+ "text": 0.17649119,
+ "algorithm": 0.41032284,
+ "merging": 0.14136156,
+ "%": 1.0242966,
+ "gene": 0.22817904,
+ "ag": 1.6791276,
+ "league": 0.005386126,
+ "'": 0.0033116282,
+ "(": 0.07165813,
+ "pool": 0.06795155,
+ "index": 0.7116575,
+ "raw": 0.09607415,
+ "analysis": 0.5552971,
+ "-": 0.24382596,
+ "script": 0.14813712,
+ "tags": 0.553854,
+ "/": 0.0829586,
+ "as": 0.20246382,
+ "field": 1.2827381,
+ "spectrum": 0.01348529,
+ "integration": 0.03305048,
+ "style": 0.8608031,
+ "math": 0.49000227,
+ "=": 0.36949527,
+ "statistical": 0.73079234,
+ "log": 0.08923912,
+ "pattern": 0.09632481,
+ "mid": 0.08567681,
+ "matrix": 0.14494713,
+ "result": 0.9302299,
+ "##arat": 0.85137606,
+ "sd": 0.14691754,
+ "min": 1.703127,
+ "file": 0.45213318,
+ "composed": 0.1876126,
+ "si": 0.299899,
+ "popularity": 0.061124448,
+ "term": 0.1636276,
+ "where": 0.025695072,
+ "[": 1.1975975,
+ "fred": 0.4099414,
+ "]": 0.7879892,
+ "graphic": 0.3152292,
+ "table": 0.39988327,
+ "_": 0.69662654,
+ "sep": 0.5965047,
+ "ss": 0.22504708,
+ "include": 1.0171673,
+ "editor": 0.093683295,
+ "mat": 0.028917965,
+ "stat": 0.6996078,
+ "contain": 0.14055191,
+ "d": 0.2939084,
+ "heading": 0.47242966,
+ "max": 0.013265213,
+ "display": 0.2358051,
+ "column": 0.446943,
+ "abbreviation": 0.51485217,
+ "consolidation": 0.1140204,
+ "sample": 0.30761153,
+ "cs": 1.2744876,
+ "excel": 0.6800802,
+ "v": 0.1360805,
+ "##meric": 1.1110657,
+ "##uation": 0.30700225,
+ "report": 0.46602967,
+ "organized": 0.16500671,
+ "maximum": 0.51776195,
+ "cod": 0.20981207,
+ "|": 0.28286913,
+ "minimum": 1.5131022,
+ "da": 0.4025312,
+ "}": 0.3511886,
+ "chart": 0.31873053,
+ "statistics": 1.0279897,
+ "font": 0.17068338,
+ "ratio": 0.013275683,
+ "ass": 0.38257572,
+ "calculation": 0.36110482,
+ "dd": 0.24417938,
+ "symbol": 0.3285793,
+ "esq": 1.8612143,
+ "constant": 0.39143893,
+ "data": 0.7119581,
+ "dh": 0.39996934,
+ "dice": 0.0761361,
+ "anne": 0.34835866,
+ "source": 0.25734413,
+ "accounting": 0.2238027,
+ "integer": 0.11981685,
+ "specifications": 0.4356095,
+ "spec": 1.6057816,
+ "space": 0.670473,
+ "ds": 1.1148422,
+ "apache": 0.07976244,
+ "coarse": 0.15399706,
+ "continuous": 0.96064675,
+ "html": 0.52759945,
+ "lap": 0.31971422,
+ "tag": 0.9946541,
+ "buffer": 0.20052399,
+ "results": 0.44869617,
+ "ed": 0.58642024,
+ "combine": 0.4599401,
+ "par": 0.13644563,
+ "which": 0.03079628,
+ "including": 0.6123287,
+ "chess": 0.1741652,
+ "mp": 0.057458013,
+ "last": 0.16296685,
+ "mr": 0.3720735,
+ "format": 1.1084466,
+ "archive": 0.13642804,
+ "includes": 0.031017503,
+ "sort": 0.15995198,
+ "sha": 0.28931397,
+ "discrete": 2.0081053,
+ "core": 0.5035745,
+ "jamie": 0.11969946,
+ "sequence": 0.093144424,
+ "unit": 0.4578537,
+ "measure": 0.042865954,
+ "coefficient": 0.21294577,
+ "header": 1.261512,
+ "fields": 1.0805818,
+ "decimal": 0.22039549,
+ "formats": 0.25002703,
+ "code": 0.18659614,
+ "smallest": 0.184506,
+ "nu": 0.72617644,
+ "cad": 0.49095166,
+ "values": 0.12965074,
+ "gil": 0.17211263,
+ "percent": 0.58014435,
+ "sid": 0.6737865,
+ "sql": 0.42760321,
+ "mono": 1.2071528,
+ "numerical": 0.2072302,
+ "minimal": 0.8017394,
+ "database": 0.48594597,
+ "define": 0.2523954,
+ "definition": 0.49251407,
+ "value": 1.009634,
+ "included": 0.29732317,
+ "class": 0.13573638,
+ "equation": 0.33600414,
+ "length": 0.16574208,
+ "specification": 0.5617512,
+ "minute": 0.5772928,
+ "serial": 0.46707314,
+ "mean": 0.017521357,
+ "colon": 0.10411137,
+ "syntax": 0.4995555,
+ "formula": 0.22994742,
+ "pub": 0.23237216,
+ "merger": 0.009030453,
+ "demographics": 0.23998548
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-agg-min]]\n=== `MIN`\nThe minimum value of a numeric field.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/stats.csv-spec[tag=min]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/stats.csv-spec[tag=min-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "44311bc3-0ac8-4bd1-a65b-49903d663c30",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/mv_avg.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.11753293,
+ "##d": 0.6352037,
+ "##g": 1.5340148,
+ "styled": 1.4088289,
+ "##frame": 0.13049605,
+ "alphabet": 0.063166015,
+ "##l": 1.3936887,
+ "##m": 0.05145583,
+ "java": 0.8257381,
+ "##s": 0.20536482,
+ "styling": 0.80827445,
+ "##v": 1.2599125,
+ "notation": 0.44248718,
+ "xml": 0.14280903,
+ "merge": 1.5700219,
+ "calculate": 0.24810083,
+ "ae": 0.011462428,
+ "%": 0.76105195,
+ "tex": 0.15911557,
+ "(": 0.0044208653,
+ "analysis": 0.41954976,
+ "-": 0.17245421,
+ "tags": 0.55550116,
+ "/": 0.33395663,
+ "input": 0.8769457,
+ "miller": 0.28427804,
+ "av": 1.729586,
+ "ax": 0.057361666,
+ "=": 0.12406125,
+ "average": 1.5313374,
+ "statistical": 0.36265925,
+ "mid": 0.08668036,
+ "sum": 0.12879047,
+ "matrix": 0.37381697,
+ "two": 0.3854626,
+ "example": 0.7243696,
+ "result": 0.8739292,
+ "into": 0.40623507,
+ "sd": 0.18109836,
+ "si": 0.2662957,
+ "vector": 0.32765782,
+ "[": 1.2217804,
+ "fred": 0.4093811,
+ "]": 0.7672532,
+ "graphic": 0.28037298,
+ "_": 1.0773848,
+ "sep": 0.56149954,
+ "ss": 0.09481677,
+ "variables": 0.0042979014,
+ "contain": 0.16734661,
+ "expression": 0.11682223,
+ "d": 0.36095843,
+ "column": 0.070508525,
+ "cs": 1.3877414,
+ "single": 1.0752652,
+ "v": 0.8458357,
+ "##uation": 0.18410824,
+ "|": 0.59420997,
+ "da": 0.3534139,
+ "chart": 0.31261647,
+ "}": 0.0109400945,
+ "operation": 0.0021632146,
+ "font": 0.014952606,
+ "calculation": 0.43241787,
+ "dd": 0.17878875,
+ "ass": 0.1617346,
+ "dh": 0.4881814,
+ "converting": 0.41378158,
+ "inputs": 0.35126093,
+ "numbers": 0.3663482,
+ "anne": 0.40491748,
+ "source": 0.75229925,
+ "accounting": 0.13424955,
+ "specifications": 0.62307733,
+ "operator": 0.1505777,
+ "ds": 1.210136,
+ "ata": 0.09437571,
+ "apache": 0.10015762,
+ "ren": 0.368071,
+ "results": 0.29048786,
+ "export": 0.0018748341,
+ "ed": 0.64965576,
+ "par": 0.06839351,
+ "batch": 0.04940709,
+ "sha": 0.3908647,
+ "discrete": 2.0206301,
+ "measure": 1.8165846E-4,
+ "converted": 0.48855025,
+ "geometric": 0.40074217,
+ "fields": 1.3644415,
+ "decimal": 0.31108728,
+ "formats": 0.41697353,
+ "mass": 0.20307183,
+ "video": 0.028742725,
+ "interface": 0.37678397,
+ "ava": 0.7127607,
+ "sid": 0.6142245,
+ "mono": 1.0286028,
+ "plot": 0.01969134,
+ "averaged": 0.39356294,
+ "divide": 0.092178226,
+ "class": 0.31743643,
+ "conversion": 0.6075807,
+ "##ue": 0.9427895,
+ "digital": 0.06235074,
+ "cipher": 0.009685902,
+ "types": 0.8480487,
+ "multiple": 0.78583413,
+ "specification": 0.53954107,
+ "translation": 0.15412071,
+ "syntax": 0.5735943,
+ "fancy": 0.35503742,
+ "software": 0.19070916,
+ "averaging": 0.027237287,
+ "gage": 0.42047134,
+ "arithmetic": 0.3326034,
+ "convert": 1.235178,
+ "type": 1.1856359,
+ "multi": 1.2545755,
+ "output": 1.0624323,
+ "number": 0.4785611,
+ "peg": 0.3815447,
+ "##space": 1.1597872,
+ "model": 0.23473497,
+ "jerry": 0.1997012,
+ "text": 0.17733538,
+ "algorithm": 0.59180003,
+ "val": 0.23909244,
+ "gene": 0.22819896,
+ "double": 1.2659166,
+ "var": 0.14603552,
+ "index": 0.35322905,
+ "##ga": 0.086947806,
+ "is": 0.04812198,
+ "script": 0.20464154,
+ "field": 1.5873798,
+ "doubles": 0.5011348,
+ "analyze": 0.058415942,
+ "binary": 0.04386568,
+ "integration": 0.14984813,
+ "##var": 0.15929826,
+ "style": 0.980186,
+ "math": 1.3434821,
+ "jude": 0.007905268,
+ "##val": 1.3069496,
+ "pattern": 0.010108468,
+ "##arat": 0.8067731,
+ "file": 0.45794058,
+ "composed": 0.19825123,
+ "julia": 0.049634673,
+ "include": 0.7742797,
+ "editor": 0.5538384,
+ "mat": 0.19202726,
+ "heading": 0.27135444,
+ "display": 0.5047968,
+ "converts": 0.6790815,
+ "transformation": 0.028991733,
+ "excel": 0.6684458,
+ "organized": 0.34525722,
+ "report": 0.037345383,
+ "cod": 0.44491288,
+ "mathematical": 0.86141324,
+ "outputs": 0.17522758,
+ "esq": 1.874794,
+ "data": 0.536241,
+ "dice": 0.29062176,
+ "integer": 0.47892493,
+ "spec": 1.6661454,
+ "translate": 0.5892025,
+ "space": 0.43687373,
+ "mc": 0.371236,
+ "continuous": 0.86889815,
+ "function": 0.08902976,
+ "##field": 0.056602586,
+ "create": 0.07232691,
+ "html": 0.3344611,
+ "lap": 0.24153607,
+ "tag": 0.9807773,
+ "expressed": 0.30814523,
+ "buffer": 0.12351395,
+ "combine": 0.4079366,
+ "all": 0.18571211,
+ "mp": 0.81665933,
+ "including": 0.2994249,
+ "read": 0.04613641,
+ "mr": 0.4049678,
+ "ms": 0.091062106,
+ "format": 1.1874653,
+ "mv": 2.0276506,
+ "sort": 0.2608673,
+ "core": 0.3688885,
+ "jamie": 0.29045168,
+ "sequence": 0.21183334,
+ "synth": 0.15497275,
+ "unit": 0.11479846,
+ "header": 1.0475154,
+ "code": 0.19731718,
+ "mathematics": 0.26299116,
+ "blend": 0.030467592,
+ "values": 0.9676853,
+ "cad": 0.31865537,
+ "nu": 0.108547844,
+ "gil": 0.15859404,
+ "percent": 0.2600455,
+ "sql": 0.13017324,
+ "transform": 0.042562805,
+ "array": 0.36763397,
+ "value": 0.9501956,
+ "included": 0.038676634,
+ "quantity": 0.12967242,
+ "equation": 0.20488077,
+ "any": 0.3344931,
+ "command": 0.21477447,
+ "serial": 0.6793152,
+ "valued": 1.3198743,
+ "mean": 0.21778195,
+ "inherited": 0.013819489
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-mv_avg]]\n=== `MV_AVG`\nConverts a multivalued field into a single valued field containing the average\nof all of the values. For example:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=mv_avg]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=mv_avg-result]\n|===\n\n\nNOTE: The output type is always a `double` and the input type can be any number.\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "001f3a3f-52e4-482d-b2c3-44cdd53acdc1",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/mv_concat.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.3031512,
+ "##d": 0.89360374,
+ "del": 0.8628394,
+ "styled": 1.1593703,
+ "alphabet": 0.12281993,
+ "##l": 1.3119227,
+ "##m": 0.31342494,
+ "java": 0.89764994,
+ "##s": 0.020556848,
+ "styling": 0.6663203,
+ "dev": 0.15161175,
+ "##v": 1.1384457,
+ "notation": 0.1526307,
+ "xml": 0.13492663,
+ "jan": 0.10381753,
+ "merge": 1.537143,
+ "calculate": 0.0883416,
+ "merging": 0.009472308,
+ "%": 0.40100357,
+ "tex": 0.27098277,
+ "vietnam": 0.012383713,
+ "inspired": 0.18063037,
+ "analysis": 0.09814239,
+ "-": 0.13060726,
+ "tags": 0.40717772,
+ "miller": 0.3172861,
+ "styles": 0.048261598,
+ "rm": 0.06387372,
+ "##ter": 0.2045506,
+ "##ran": 0.2637798,
+ "miscellaneous": 0.15094976,
+ "document": 0.021476798,
+ "mid": 0.22075565,
+ "matrix": 0.18122168,
+ "virus": 0.041644562,
+ "matching": 0.113224804,
+ "result": 0.88876796,
+ "into": 0.32950637,
+ "characters": 0.1209755,
+ "sd": 0.005514291,
+ "##or": 0.093143776,
+ "vector": 0.39032772,
+ "[": 0.8792927,
+ "fred": 0.3703576,
+ "]": 0.28842756,
+ "_": 0.92130554,
+ "sep": 0.36423734,
+ "variables": 0.04695568,
+ "contain": 0.11109475,
+ "reaction": 0.018000107,
+ "d": 0.32831863,
+ "##cats": 0.31926975,
+ "column": 0.17400515,
+ "cs": 1.2909529,
+ "single": 1.0325887,
+ "call": 0.39600968,
+ "##position": 0.16478048,
+ "v": 0.71727717,
+ "##uation": 0.3944702,
+ "##cate": 1.5711489,
+ "to": 0.35758194,
+ "|": 0.2513616,
+ "da": 0.3493799,
+ "font": 0.17636918,
+ "dd": 0.23979323,
+ "standard": 0.23465936,
+ "ass": 0.15486299,
+ "dh": 0.50352114,
+ "resolve": 0.025401546,
+ "converting": 0.34046888,
+ "##cat": 1.8373581,
+ "anne": 0.61281407,
+ "source": 0.9070779,
+ "specifications": 0.51109016,
+ "ds": 1.1311201,
+ "ata": 0.13850258,
+ "apache": 0.36599228,
+ "separation": 0.50985044,
+ "ren": 0.43463808,
+ "##imi": 0.87538743,
+ "results": 0.19405413,
+ "ed": 0.7176663,
+ "par": 0.13814922,
+ "which": 0.13093403,
+ "eh": 0.082957506,
+ "holland": 0.12478188,
+ "batch": 0.3138444,
+ "sha": 0.30615103,
+ "discrete": 1.9041849,
+ "converted": 0.41623145,
+ "fields": 1.2609898,
+ "decimal": 0.08351845,
+ "parameters": 0.024821328,
+ "formats": 0.3530535,
+ "blank": 0.005238497,
+ "string": 1.5110939,
+ "import": 0.22318666,
+ "mass": 0.40582433,
+ "non": 1.1048721,
+ "interface": 0.25540408,
+ "##da": 0.17181984,
+ "wave": 0.004407098,
+ "sid": 0.63909,
+ "mono": 1.0240911,
+ "class": 0.39559138,
+ "conversion": 0.5005146,
+ "##ue": 0.83697355,
+ "cipher": 0.26067573,
+ "digital": 0.1435139,
+ "multiple": 0.71909004,
+ "length": 0.33869955,
+ "separated": 0.940619,
+ "specification": 0.535409,
+ "translation": 0.21041507,
+ "colon": 0.12306956,
+ "syntax": 0.6072368,
+ "fancy": 0.17122777,
+ "software": 0.042740546,
+ "pun": 0.20924044,
+ "gage": 0.118545264,
+ "convert": 1.190355,
+ "during": 0.08049007,
+ "type": 0.005992897,
+ "multi": 1.1241112,
+ "peg": 0.6061268,
+ "##space": 1.0715142,
+ "model": 0.21619618,
+ "jerry": 0.30455497,
+ "text": 0.12683868,
+ "algorithm": 0.62297904,
+ "##nation": 1.3292539,
+ "gene": 0.36538348,
+ "index": 0.5555666,
+ "is": 0.12243756,
+ "script": 0.28197077,
+ "field": 1.4241955,
+ "binary": 0.2656302,
+ "integration": 0.13908407,
+ "##var": 0.12848702,
+ "style": 0.96249115,
+ "math": 0.515426,
+ "##val": 1.2389593,
+ "pattern": 0.35377517,
+ "##bina": 0.008797694,
+ "##arat": 0.6059924,
+ "valid": 0.106336944,
+ "file": 0.55651164,
+ "composed": 0.23622951,
+ "strings": 0.179783,
+ "julia": 0.12357917,
+ "eddy": 0.039853547,
+ "copy": 0.020291131,
+ "include": 0.78516996,
+ "editor": 0.7275139,
+ "mat": 0.22618543,
+ "heading": 0.27016777,
+ "display": 0.15332541,
+ "converts": 0.5711766,
+ "excel": 0.43695167,
+ "organized": 0.21816981,
+ "cod": 0.523017,
+ "checkpoint": 0.27763277,
+ "esq": 1.8967954,
+ "con": 0.99790484,
+ "data": 0.49389598,
+ "dice": 0.41622967,
+ "spec": 1.5612345,
+ "translate": 0.5230754,
+ "space": 0.3532631,
+ "split": 0.41403353,
+ "tab": 0.15233767,
+ "mc": 0.35786355,
+ "continuous": 0.8328072,
+ "##field": 0.012331669,
+ "create": 0.16625786,
+ "html": 0.42653722,
+ "lap": 0.17258903,
+ "tag": 0.80454624,
+ "buffer": 0.119109035,
+ "expressed": 0.11792724,
+ "bean": 0.25070295,
+ "combination": 0.13002943,
+ "combine": 0.019645989,
+ "mp": 0.76554316,
+ "including": 0.23562917,
+ "read": 0.041784972,
+ "mr": 0.19565351,
+ "ms": 0.1231621,
+ "format": 1.0732211,
+ "mv": 1.9771508,
+ "archive": 0.2860798,
+ "sort": 0.450107,
+ "core": 0.50660175,
+ "sequence": 0.33485556,
+ "jamie": 0.20245126,
+ "header": 1.017143,
+ "retrieve": 0.15324329,
+ "##ada": 0.19417232,
+ "code": 0.26253185,
+ "differentiation": 0.010172663,
+ "values": 0.8652857,
+ "cad": 0.26109046,
+ "roc": 0.038775377,
+ "gil": 0.14374314,
+ "sql": 0.30252305,
+ "database": 0.3340689,
+ "array": 0.17638168,
+ "cat": 0.63280654,
+ "##lib": 0.12210558,
+ "lang": 0.40763023,
+ "said": 0.00566105,
+ "value": 0.8313259,
+ "included": 0.064013615,
+ "command": 0.25829017,
+ "serial": 0.8108022,
+ "valued": 1.3436238
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-mv_concat]]\n=== `MV_CONCAT`\nConverts a multivalued string field into a single valued field containing the\nconcatenation of all values separated by a delimiter:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=mv_concat]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=mv_concat-result]\n|===\n\nIf you want to concat non-string fields call <> on them first:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=mv_concat-to_string]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=mv_concat-to_string-result]\n|===\n\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "d85a8e3d-c035-4863-b317-7dfb8deb9f27",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/mv_count.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.3475072,
+ "##d": 0.58663005,
+ "functions": 0.1756573,
+ "counts": 0.32432875,
+ "fin": 0.14926405,
+ "styled": 1.2478794,
+ "##frame": 0.16357951,
+ "##l": 1.4411358,
+ "##m": 0.14503457,
+ "java": 0.86664546,
+ "##s": 0.17372723,
+ "styling": 0.7486371,
+ "dev": 0.16835995,
+ "len": 0.041579496,
+ "##v": 1.3070055,
+ "xml": 0.1909289,
+ "merge": 1.673664,
+ "calculate": 0.4207209,
+ "accepting": 0.1401402,
+ "merging": 0.11659373,
+ "%": 0.77767617,
+ "pool": 0.020654125,
+ "(": 0.019719042,
+ "analysis": 0.36202782,
+ "-": 0.11927548,
+ "accept": 0.8644265,
+ "tags": 0.4939309,
+ "/": 0.05584575,
+ "miller": 0.23996823,
+ "size": 0.19985624,
+ "ax": 0.016015695,
+ "rm": 0.19453765,
+ "statistical": 0.12796962,
+ "mid": 0.14877836,
+ "sum": 0.02396963,
+ "matrix": 0.33397096,
+ "virus": 0.15176795,
+ "result": 0.83154786,
+ "into": 0.4912118,
+ "sd": 0.12728047,
+ "si": 0.22552204,
+ "vector": 0.25031644,
+ "[": 0.9582224,
+ "fred": 0.44871405,
+ "]": 0.6074743,
+ "_": 1.1265972,
+ "sep": 0.46530217,
+ "ss": 0.1319122,
+ "variables": 0.10291247,
+ "contain": 0.35282025,
+ "d": 0.40970188,
+ "column": 0.26456645,
+ "cs": 1.4028945,
+ "single": 1.0550952,
+ "v": 0.9633644,
+ "collaboration": 0.029681217,
+ "##uation": 0.17088306,
+ "returned": 0.3660105,
+ "|": 0.34832492,
+ "da": 0.23007339,
+ "}": 0.20175985,
+ "font": 0.036777113,
+ "calculation": 0.324807,
+ "dd": 0.2688842,
+ "ass": 0.17354386,
+ "dh": 0.5264265,
+ "resolve": 0.031459223,
+ "converting": 0.38323885,
+ "dj": 0.0301211,
+ "anne": 0.5086423,
+ "source": 0.60981256,
+ "accounting": 0.003675493,
+ "specifications": 0.6144633,
+ "operator": 0.11479123,
+ "ds": 1.2108059,
+ "apache": 0.26824555,
+ "justin": 0.05794176,
+ "ren": 0.34032172,
+ "results": 0.28337738,
+ "ed": 0.5978683,
+ "count": 1.7962679,
+ "batch": 0.19740614,
+ "sha": 0.33133945,
+ "discrete": 1.9452394,
+ "converted": 0.4389114,
+ "fields": 1.3046814,
+ "decimal": 0.114370696,
+ "formats": 0.40008417,
+ "string": 1.0467674,
+ "import": 0.09636486,
+ "mass": 0.3951854,
+ "video": 0.055573907,
+ "interface": 0.24823765,
+ "inventory": 0.18605115,
+ "sid": 0.5667698,
+ "mono": 1.0519121,
+ "divide": 0.13576521,
+ "class": 0.27606258,
+ "conversion": 0.5375497,
+ "##ue": 0.8802385,
+ "types": 1.0761217,
+ "multiple": 0.80767035,
+ "specification": 0.6662749,
+ "translation": 0.06765012,
+ "syntax": 0.6199019,
+ "handling": 0.17002708,
+ "pub": 0.03599281,
+ "fancy": 0.29470435,
+ "software": 0.04425147,
+ "gage": 0.46044725,
+ "convert": 1.1943816,
+ "program": 0.2562767,
+ "type": 0.78864896,
+ "multi": 1.2433151,
+ "integers": 0.16358337,
+ "number": 0.66855586,
+ "peg": 0.59071016,
+ "##space": 1.2195429,
+ "model": 0.35115194,
+ "jerry": 0.29457685,
+ "text": 0.15325189,
+ "algorithm": 0.5501852,
+ "val": 0.23837745,
+ "gene": 0.20941177,
+ "index": 0.50308776,
+ "script": 0.32255048,
+ "field": 1.5534673,
+ "analyze": 0.05318506,
+ "integration": 0.08759837,
+ "style": 0.86253333,
+ "math": 0.55914825,
+ "##val": 1.2583731,
+ "pattern": 0.104524545,
+ "##arat": 0.77373743,
+ "file": 0.4618093,
+ "composed": 0.21450391,
+ "include": 0.7771947,
+ "editor": 0.57581955,
+ "heading": 0.16561925,
+ "display": 0.46559542,
+ "converts": 0.6377167,
+ "excel": 0.62435615,
+ "organized": 0.275031,
+ "report": 0.034152463,
+ "cod": 0.38115206,
+ "return": 0.359882,
+ "checkpoint": 0.041861568,
+ "esq": 1.9323527,
+ "data": 0.5553399,
+ "dice": 0.24058828,
+ "integer": 1.0975021,
+ "spec": 1.6240256,
+ "translate": 0.6534171,
+ "space": 0.41275308,
+ "mc": 0.29601622,
+ "function": 1.2116585,
+ "continuous": 0.7635175,
+ "create": 0.12337445,
+ "html": 0.25039208,
+ "lap": 0.04420665,
+ "tag": 0.89784855,
+ "buffer": 0.33198604,
+ "expressed": 0.19923335,
+ "combine": 0.37875134,
+ "counting": 0.06998947,
+ "mp": 0.88699895,
+ "including": 0.251256,
+ "read": 0.13986267,
+ "format": 1.0937054,
+ "mv": 2.1359575,
+ "sort": 0.3725025,
+ "core": 0.4361939,
+ "jamie": 0.18810615,
+ "synth": 0.14137895,
+ "sequence": 0.11945809,
+ "unit": 0.043402355,
+ "header": 1.1068095,
+ "retrieve": 0.050610546,
+ "code": 0.08470808,
+ "values": 1.147544,
+ "cad": 0.2605508,
+ "percent": 0.25778797,
+ "sql": 0.37617293,
+ "database": 0.25502348,
+ "total": 0.172612,
+ "array": 0.28528214,
+ "##lib": 0.15332419,
+ "value": 0.9200472,
+ "included": 0.057994187,
+ "quantity": 0.19671534,
+ "zoom": 0.03488203,
+ "command": 0.25307867,
+ "serial": 0.7474466,
+ "compilation": 0.055703465,
+ "valued": 1.2981291
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-mv_count]]\n=== `MV_COUNT`\nConverts a multivalued field into a single valued field containing a count of the number\nof values:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=mv_count]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=mv_count-result]\n|===\n\nNOTE: This function accepts all types and always returns an `integer`.\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "d06dd418-a248-4661-98f3-77d31f2ee002",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/mv_dedupe.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.25542644,
+ "##d": 0.75054115,
+ "##e": 0.20348266,
+ "##ping": 0.1915804,
+ "del": 0.50786006,
+ "fin": 0.21912327,
+ "styled": 1.2201139,
+ "##frame": 0.057153177,
+ "##l": 1.318747,
+ "##m": 0.11625631,
+ "##p": 0.5752476,
+ "java": 0.82536924,
+ "##s": 0.40421033,
+ "styling": 0.79985225,
+ "dev": 0.17590278,
+ "##v": 1.1707337,
+ "xml": 0.40362185,
+ "notation": 0.13812679,
+ "merge": 1.5628567,
+ "playback": 0.2810442,
+ "merging": 0.14423707,
+ "%": 0.7958398,
+ "tex": 0.16901705,
+ "pool": 0.10298797,
+ "(": 0.043009162,
+ "analysis": 0.41898006,
+ "-": 0.094815575,
+ "tags": 0.6773506,
+ "/": 0.15529451,
+ "sorted": 0.43774647,
+ "miller": 0.24781737,
+ "ax": 0.032735456,
+ "statistical": 0.17463392,
+ "miscellaneous": 0.2786553,
+ "##pe": 1.5193727,
+ "document": 0.082778536,
+ "mid": 0.25959677,
+ "eliminate": 0.5830039,
+ "matrix": 0.1397531,
+ "virus": 0.15937622,
+ "example": 0.46519893,
+ "matching": 0.029013619,
+ "result": 0.8778757,
+ "sd": 0.15141585,
+ "coding": 0.09011394,
+ "vector": 0.29661983,
+ "[": 0.9849871,
+ "fred": 0.33315074,
+ "free": 0.15796152,
+ "]": 0.4689201,
+ "_": 1.0239896,
+ "sep": 0.50320417,
+ "contain": 0.27598017,
+ "d": 0.315594,
+ "column": 0.04305495,
+ "suppress": 0.39311996,
+ "sample": 0.21221136,
+ "cs": 1.2502724,
+ "bug": 0.074919194,
+ "v": 0.6523472,
+ "collaboration": 0.08069506,
+ "##uation": 0.2113448,
+ "|": 0.38340995,
+ "da": 0.48158774,
+ "operation": 0.16329059,
+ "dd": 0.27006403,
+ "ass": 0.1810148,
+ "de": 1.2473696,
+ "dh": 0.43708012,
+ "separate": 0.14379755,
+ "anne": 0.5400433,
+ "source": 1.0819868,
+ "specifications": 0.5897633,
+ "operator": 0.36937952,
+ "ds": 1.1536541,
+ "apache": 0.22309168,
+ "separation": 0.0067966944,
+ "exclude": 0.28664562,
+ "results": 0.25545007,
+ "ed": 0.62589234,
+ "which": 0.07447911,
+ "batch": 0.21958536,
+ "duplicate": 1.7769938,
+ "sha": 0.25462592,
+ "modification": 0.047114108,
+ "discrete": 1.9337907,
+ "extract": 0.039936822,
+ "fields": 1.0351902,
+ "formats": 0.40332165,
+ "blank": 0.264995,
+ "memory": 0.026830487,
+ "string": 1.0671095,
+ "import": 0.22786756,
+ "mass": 0.121942565,
+ "video": 0.120462656,
+ "interface": 0.4563965,
+ "remove": 1.2433465,
+ "sid": 0.71239096,
+ "mono": 1.1056128,
+ "prevent": 0.23009507,
+ "sorting": 0.90291953,
+ "divide": 0.0335992,
+ "class": 0.448501,
+ "mask": 0.13176216,
+ "##ue": 0.6332499,
+ "digital": 0.15426436,
+ "cipher": 0.14996429,
+ "##du": 1.5043833,
+ "akin": 5.7883194E-4,
+ "multiple": 0.76379156,
+ "specification": 0.60625076,
+ "editing": 0.18617257,
+ "management": 0.09210756,
+ "removal": 0.9850832,
+ "clone": 0.056159552,
+ "syntax": 0.69033957,
+ "mark": 0.09967639,
+ "merger": 0.061970416,
+ "copyright": 0.22037417,
+ "fancy": 0.13573314,
+ "software": 0.39095533,
+ "catalog": 0.0701144,
+ "gage": 0.3678431,
+ "pun": 0.012392543,
+ "rid": 0.45245427,
+ "multi": 1.0305908,
+ "peg": 0.57218254,
+ "##space": 1.1443715,
+ "model": 0.39257535,
+ "jerry": 0.2254054,
+ "text": 0.109572195,
+ "algorithm": 0.6042578,
+ "reduce": 0.26264167,
+ "method": 0.058416393,
+ "gene": 0.39385968,
+ "index": 0.45056877,
+ "removing": 0.40825343,
+ "script": 0.3180949,
+ "field": 1.2989756,
+ "integration": 0.2826746,
+ "style": 0.8709864,
+ "math": 0.22175299,
+ "jude": 0.08419174,
+ "##val": 1.1476032,
+ "##pes": 0.45565516,
+ "flag": 0.015902713,
+ "pattern": 0.27715573,
+ "protection": 0.12165877,
+ "##arat": 0.7962283,
+ "valid": 0.087409414,
+ "file": 0.70673984,
+ "composed": 0.1919326,
+ "copy": 0.7873622,
+ "elimination": 0.2915081,
+ "replication": 0.0437299,
+ "include": 0.9131084,
+ "editor": 0.78530955,
+ "erase": 0.08030185,
+ "may": 0.097230986,
+ "heading": 0.17652807,
+ "display": 0.33989644,
+ "consolidation": 0.051383924,
+ "excel": 0.49180785,
+ "filter": 0.12395057,
+ "removed": 0.13456699,
+ "report": 0.31303084,
+ "organized": 0.29017016,
+ "cod": 0.11303925,
+ "removes": 0.6941914,
+ "discreet": 0.032619387,
+ "checkpoint": 0.67081606,
+ "esq": 1.8376799,
+ "data": 0.55302614,
+ "replica": 0.14139852,
+ "dice": 0.35624713,
+ "forensic": 0.045283537,
+ "spec": 1.5483143,
+ "space": 0.47956982,
+ "protocol": 0.04574998,
+ "tab": 0.31858334,
+ "karen": 0.11483991,
+ "mc": 0.33477512,
+ "continuous": 0.7986612,
+ "function": 0.08441078,
+ "html": 0.19981992,
+ "lap": 0.07921171,
+ "tag": 1.0307411,
+ "buffer": 0.38514093,
+ "combine": 0.4420946,
+ "mp": 0.8156628,
+ "including": 0.37411553,
+ "marshall": 0.12955326,
+ "mr": 0.29061276,
+ "format": 1.130141,
+ "mv": 2.0477402,
+ "archive": 0.35178643,
+ "sort": 1.3227824,
+ "core": 0.30925927,
+ "sequence": 0.22579421,
+ "jamie": 0.062910154,
+ "synth": 0.054932293,
+ "header": 1.148026,
+ "files": 0.22926909,
+ "enforce": 0.0064756554,
+ "differentiation": 0.12041161,
+ "code": 0.019471223,
+ "##duction": 0.15553932,
+ "values": 0.90376467,
+ "cad": 0.4409556,
+ "gil": 0.0011336335,
+ "error": 0.2708271,
+ "percent": 0.2189695,
+ "sql": 0.32172173,
+ "database": 0.4312252,
+ "array": 0.15063666,
+ "##lib": 0.16775453,
+ "value": 0.82360345,
+ "included": 0.08765112,
+ "cleaning": 0.12426593,
+ "control": 0.34091437,
+ "clean": 0.12636416,
+ "command": 0.46482977,
+ "serial": 0.65365744
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-mv_dedupe]]\n=== `MV_DEDUPE`\nRemoves duplicates from a multivalued field. For example:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=mv_dedupe]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=mv_dedupe-result]\n|===\n\nNOTE: `MV_DEDUPE` may, but won't always, sort the values in the field.\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "3d353f68-f0f4-4908-bd09-544ea210f4c1",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/mv_functions.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 0.50920326,
+ "functions": 0.951583,
+ "software": 0.2187901,
+ "##g": 0.589753,
+ "gage": 0.25096452,
+ "arithmetic": 0.19705899,
+ "##l": 1.4189115,
+ "##m": 0.0351271,
+ "##uid": 0.13300757,
+ "multi": 1.349363,
+ "compatible": 0.11375382,
+ "java": 1.209524,
+ "peg": 0.49760747,
+ "##v": 0.7012167,
+ "model": 0.17306942,
+ "##va": 0.10913962,
+ "jerry": 0.07020753,
+ "algorithm": 0.5816063,
+ "val": 0.23262699,
+ "gene": 0.38782805,
+ "index": 0.7494469,
+ "+": 0.91716486,
+ "analysis": 0.030912561,
+ "script": 0.13583025,
+ "tags": 0.38312614,
+ "as": 0.3629376,
+ "miller": 0.19222066,
+ "av": 1.0123998,
+ "math": 0.82767606,
+ "##val": 1.4396924,
+ "##ran": 0.0051246476,
+ "##pe": 0.6328678,
+ "pattern": 0.047633573,
+ "monte": 0.12848334,
+ "mid": 0.03956827,
+ "sum": 1.2319828,
+ "##bre": 1.122477,
+ "matrix": 0.31266093,
+ "##bra": 0.18748719,
+ "min": 0.77403194,
+ "library": 0.05446357,
+ "julia": 0.10350039,
+ "vector": 0.38588536,
+ "[": 0.31277454,
+ "fred": 0.18353173,
+ "_": 0.8803931,
+ "include": 0.6989854,
+ "editor": 0.59609914,
+ "mat": 0.029794967,
+ "chip": 0.44272104,
+ "middle": 0.22854476,
+ "mini": 0.009607861,
+ "max": 0.8397901,
+ "display": 0.5300148,
+ "column": 0.15926105,
+ "##id": 0.75444186,
+ "excel": 0.28532407,
+ "framework": 0.18289404,
+ "v": 0.32654673,
+ "maximum": 0.58696723,
+ "cod": 0.34952927,
+ "php": 0.0875821,
+ "##cate": 0.015412864,
+ "shaw": 0.05990327,
+ "supported": 0.060414344,
+ "calculation": 0.23369333,
+ "checkpoint": 0.17551468,
+ "de": 0.22484508,
+ "esq": 1.8480287,
+ "con": 0.1715374,
+ "dj": 0.37753072,
+ "precision": 0.030907245,
+ "##cat": 1.4278319,
+ "anne": 0.7513899,
+ "integer": 0.25265718,
+ "ata": 0.30301923,
+ "##ab": 0.90614337,
+ "apache": 0.5510832,
+ "ma": 0.055666372,
+ "mc": 0.22011457,
+ "function": 1.1498123,
+ "html": 0.18570429,
+ "implement": 0.0059456155,
+ "tag": 0.98930776,
+ "buffer": 0.318992,
+ "ed": 0.33334583,
+ "par": 0.1841839,
+ "taylor": 0.048358373,
+ "mp": 0.6985991,
+ "chess": 0.2544969,
+ "including": 0.098124884,
+ "count": 1.1489686,
+ "mv": 1.9179429,
+ "##ido": 1.4070166,
+ "list": 0.9967192,
+ "plus": 0.302833,
+ "core": 0.3180748,
+ "jamie": 0.18291052,
+ "sequence": 0.15887202,
+ "median": 1.3996892,
+ "lists": 0.592848,
+ "##ida": 0.5716066,
+ "decimal": 0.2637288,
+ "support": 0.5155712,
+ "useful": 0.010287002,
+ "code": 0.03046447,
+ "import": 0.06620094,
+ "cad": 0.5354564,
+ "mass": 0.06487726,
+ "title": 0.4582886,
+ "interface": 0.37109914,
+ "sid": 0.52731323,
+ "total": 0.17956905,
+ "database": 0.103468135,
+ "para": 0.040074147,
+ "array": 0.4024291,
+ "##ci": 1.2696164,
+ "david": 0.115870364,
+ "said": 0.20307632,
+ "class": 0.44477373,
+ "value": 0.14556588,
+ "##ue": 1.0991657,
+ "##du": 1.0689092,
+ "keyboard": 0.23850313,
+ "multiple": 0.621116,
+ "serial": 0.7862384,
+ "syntax": 0.39005393,
+ "pub": 0.1973303
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-mv-functions]]\n==== {esql} multivalue functions\n\n++++\nMultivalue functions\n++++\n\n{esql} supports these multivalue functions:\n\n// tag::mv_list[]\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n// end::mv_list[]\n\ninclude::mv_avg.asciidoc[]\ninclude::mv_concat.asciidoc[]\ninclude::mv_count.asciidoc[]\ninclude::mv_dedupe.asciidoc[]\ninclude::mv_max.asciidoc[]\ninclude::mv_median.asciidoc[]\ninclude::mv_min.asciidoc[]\ninclude::mv_sum.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "2d2c25fe-756b-41b9-bc74-d83a81eb1874",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/mv_max.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##d": 0.7575551,
+ "##f": 0.98100835,
+ "fin": 0.012080127,
+ "styled": 1.1501216,
+ "##frame": 0.08238,
+ "##l": 1.4737178,
+ "##m": 0.40959513,
+ "java": 0.98690486,
+ "##s": 0.041485265,
+ "styling": 0.65454537,
+ "dev": 0.33959693,
+ "len": 0.19238068,
+ "pick": 0.88108325,
+ "##v": 1.2243099,
+ "notation": 0.40922236,
+ "jan": 0.14244808,
+ "xml": 0.069457695,
+ "merge": 1.5941328,
+ "calculate": 0.13326375,
+ "%": 0.63837713,
+ "tex": 0.25258273,
+ "pool": 0.06747675,
+ "(": 0.025699023,
+ "picks": 0.3822517,
+ "inspired": 0.007948791,
+ "analysis": 0.2778149,
+ "-": 0.17528251,
+ "tags": 0.51690984,
+ "8": 1.1770214,
+ "comparisons": 0.28149644,
+ "rm": 0.29101768,
+ "=": 0.47350138,
+ "compare": 0.58815837,
+ "mid": 0.12706296,
+ "matrix": 0.28295913,
+ "matching": 0.5098549,
+ "example": 0.4005553,
+ "result": 0.91079855,
+ "into": 0.23279984,
+ "coding": 0.12367503,
+ "sd": 0.057922523,
+ "##or": 0.1638974,
+ "si": 0.2945123,
+ "vector": 0.41843194,
+ "[": 1.1098626,
+ "fred": 0.3073293,
+ "]": 0.6228712,
+ "key": 0.18263914,
+ "_": 1.1243055,
+ "sep": 0.46411318,
+ "contain": 0.16815795,
+ "expression": 0.08639053,
+ "d": 0.31238577,
+ "column": 0.0378486,
+ "cs": 1.2733285,
+ "single": 0.95370054,
+ "v": 0.9724956,
+ "##uation": 0.05344783,
+ "maximum": 1.456564,
+ "|": 0.17829376,
+ "da": 0.123605505,
+ "represent": 0.22633232,
+ "font": 0.08888318,
+ "dd": 0.28507292,
+ "calculation": 0.27441934,
+ "dh": 0.47560662,
+ "converting": 0.33333355,
+ "din": 0.023320451,
+ "anne": 0.48851806,
+ "source": 1.1492485,
+ "specifications": 0.59976363,
+ "operator": 0.2097594,
+ "ds": 1.1030892,
+ "apache": 0.14957626,
+ "ren": 0.4168024,
+ "results": 0.4537005,
+ "ut": 1.1402483,
+ "ed": 0.57820696,
+ "par": 0.17786019,
+ "which": 0.029932998,
+ "chess": 0.18010035,
+ "last": 0.93508726,
+ "batch": 0.090246394,
+ "encoding": 0.09327931,
+ "sha": 0.39069155,
+ "discrete": 1.9697678,
+ "##word": 0.8200744,
+ "converted": 0.33816773,
+ "geometric": 0.43869027,
+ "fields": 1.3910488,
+ "decimal": 0.12499567,
+ "useful": 0.33411258,
+ "formats": 0.42365724,
+ "memory": 0.2365225,
+ "string": 0.97639316,
+ "sources": 0.18272862,
+ "mass": 0.13897048,
+ "choose": 0.25766397,
+ "interface": 0.35969535,
+ "##son": 0.18034007,
+ "representation": 0.94641113,
+ "wave": 0.0072236783,
+ "sid": 0.55965066,
+ "mono": 0.8807059,
+ "sorting": 0.18776396,
+ "divide": 0.09669662,
+ "class": 0.38242933,
+ "conversion": 0.54723835,
+ "##ue": 0.8972774,
+ "cipher": 0.060170233,
+ "digital": 0.05014172,
+ "types": 0.53506196,
+ "multiple": 0.848154,
+ "length": 0.16501077,
+ "specification": 0.6665928,
+ "translation": 0.16097313,
+ "syntax": 0.7265863,
+ "fancy": 0.030647153,
+ "select": 0.51723427,
+ "software": 0.09425703,
+ "gage": 0.20846488,
+ "arithmetic": 0.1257113,
+ "convert": 1.1720778,
+ "type": 0.6762369,
+ "bit": 0.118306786,
+ "multi": 1.2101103,
+ "peg": 0.5427624,
+ "##space": 1.1269245,
+ "model": 0.09074165,
+ "jerry": 0.36091432,
+ "text": 0.09041837,
+ "manipulation": 0.05965039,
+ "algorithm": 0.76707566,
+ "val": 0.25850672,
+ "method": 0.011716127,
+ "gene": 0.41947994,
+ "byte": 1.2255301,
+ "index": 0.6282658,
+ "is": 0.05616913,
+ "script": 0.13488413,
+ "field": 1.6033989,
+ "integration": 0.05715644,
+ "style": 0.9026574,
+ "math": 1.239141,
+ "jude": 0.05675848,
+ "##val": 1.2644138,
+ "encoded": 0.27306485,
+ "pattern": 0.23345388,
+ "sequences": 0.008839406,
+ "eight": 0.34857994,
+ "##arat": 0.6700953,
+ "file": 0.47111025,
+ "composed": 0.16665512,
+ "julia": 0.1708105,
+ "include": 1.2123688,
+ "editor": 0.71585137,
+ "mat": 0.23212032,
+ "max": 1.7921079,
+ "heading": 0.1721314,
+ "display": 0.2766206,
+ "converts": 0.55728215,
+ "excel": 0.5274965,
+ "organized": 0.078226656,
+ "cod": 0.43663758,
+ "mathematical": 0.7690265,
+ "checkpoint": 0.1638548,
+ "esq": 1.8566176,
+ "panda": 0.019152941,
+ "constant": 0.0119001465,
+ "data": 0.48823863,
+ "dice": 0.25837976,
+ "integer": 0.3101926,
+ "used": 0.20167956,
+ "spec": 1.5570517,
+ "translate": 0.5501901,
+ "space": 0.5226824,
+ "mb": 0.21158263,
+ "mc": 0.44037488,
+ "continuous": 0.86951345,
+ "function": 0.10446269,
+ "limit": 0.45172685,
+ "##field": 0.13081187,
+ "create": 0.040446404,
+ "html": 0.41325024,
+ "lap": 0.22384101,
+ "tag": 0.8667763,
+ "buffer": 0.36982623,
+ "expressed": 0.3144958,
+ "bean": 0.095626384,
+ "mp": 0.9311013,
+ "comparison": 0.8558621,
+ "including": 0.7258703,
+ "mr": 0.1910082,
+ "like": 0.08811961,
+ "format": 1.1268228,
+ "mv": 2.1388936,
+ "comparing": 0.014237962,
+ "archive": 0.364619,
+ "includes": 0.23252854,
+ "sort": 0.32741338,
+ "picking": 0.8318629,
+ "most": 0.025844244,
+ "core": 0.40107924,
+ "jamie": 0.20864274,
+ "sequence": 0.16857822,
+ "header": 1.0155535,
+ "##words": 0.013530217,
+ "largest": 0.037790976,
+ "code": 0.14634831,
+ "scala": 0.18815722,
+ "mathematics": 0.17989443,
+ "values": 0.5831224,
+ "cad": 0.0586851,
+ "link": 0.027407918,
+ "chunk": 0.031654082,
+ "gil": 0.13924815,
+ "percent": 0.115725964,
+ "sql": 0.31440187,
+ "database": 0.39490113,
+ "array": 0.26381442,
+ "##8": 0.27393842,
+ "##lib": 0.044161823,
+ "value": 1.0877005,
+ "included": 0.5063674,
+ "quantity": 0.17015952,
+ "equation": 0.21283536,
+ "match": 0.21094327,
+ "command": 0.19609344,
+ "serial": 0.50706494,
+ "valued": 1.3318802,
+ "bytes": 0.5029533
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-mv_max]]\n=== `MV_MAX`\nConverts a multivalued field into a single valued field containing the maximum value. For example:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=mv_max]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=mv_max-result]\n|===\n\nIt can be used by any field type, including `keyword` fields. In that case picks the\nlast string, comparing their utf-8 representation byte by byte:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=mv_max]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=mv_max-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "36a91f6e-7121-4e12-ae3b-cf9c0d7268a7",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/mv_median.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.13154824,
+ "##d": 0.7782277,
+ "fin": 0.06494094,
+ "styled": 1.179419,
+ "##l": 1.4775561,
+ "##m": 0.4515794,
+ "java": 0.83809614,
+ "##s": 0.0075254287,
+ "styling": 0.47424972,
+ "dev": 0.027337976,
+ "##v": 1.2239374,
+ "notation": 0.47183785,
+ "jan": 0.026943285,
+ "merge": 1.5840803,
+ "rank": 0.2846595,
+ "calculate": 0.008606012,
+ "%": 0.7013929,
+ "tex": 0.16812117,
+ "league": 0.015008271,
+ "*": 0.76390976,
+ "analysis": 0.39217442,
+ "-": 0.09685223,
+ "tags": 0.41070184,
+ "/": 0.15466468,
+ "miller": 0.31488696,
+ "at": 0.17487015,
+ "ax": 0.30944073,
+ "rm": 0.29397547,
+ "=": 0.29989874,
+ "average": 1.7226101,
+ "statistical": 0.3880022,
+ "miscellaneous": 0.15513997,
+ "mid": 0.1845738,
+ "matrix": 0.33791226,
+ "two": 0.06398443,
+ "example": 0.5810918,
+ "result": 0.9325158,
+ "into": 0.2775801,
+ "sd": 0.19653437,
+ "##or": 0.36128685,
+ "same": 0.28474677,
+ "si": 0.3090383,
+ "vector": 0.27339822,
+ "[": 1.0308694,
+ "fred": 0.2238919,
+ "multiplication": 0.020568995,
+ "]": 0.5226566,
+ "graphic": 0.18519755,
+ "_": 1.0168844,
+ "sep": 0.55549014,
+ "bullets": 0.012504156,
+ "ss": 0.05682617,
+ "middle": 1.1721091,
+ "contain": 0.030178932,
+ "d": 0.4090274,
+ "column": 1.1228774,
+ "rounding": 0.65984553,
+ "entered": 0.045157865,
+ "cs": 1.3359706,
+ "single": 0.9230837,
+ "v": 0.81662476,
+ "##uation": 0.025833905,
+ "z": 0.062120996,
+ "|": 0.45035005,
+ "returned": 0.43082562,
+ "chart": 0.35107157,
+ "da": 0.10838666,
+ "rounds": 1.6500407,
+ "font": 0.114089,
+ "ratio": 0.03904586,
+ "calculation": 0.5049046,
+ "dd": 0.40858305,
+ "ass": 0.3643363,
+ "standard": 0.026294757,
+ "dh": 0.63772,
+ "converting": 0.19177783,
+ "anne": 0.47725916,
+ "source": 0.89859784,
+ "down": 1.4183855,
+ "specifications": 0.28305578,
+ "operator": 0.22598775,
+ "ds": 1.2367721,
+ "apache": 0.03770557,
+ "ren": 0.23705891,
+ "results": 0.506102,
+ "ed": 0.6322862,
+ "which": 0.17918885,
+ "par": 0.1652808,
+ "chess": 0.3316672,
+ "sha": 0.3353615,
+ "discrete": 1.8988348,
+ "median": 2.190219,
+ "converted": 0.27959922,
+ "geometric": 0.3612724,
+ "fields": 1.3307314,
+ "decimal": 0.41631833,
+ "useful": 0.15767361,
+ "formats": 0.4732169,
+ "mass": 0.1368286,
+ "averages": 4.1464315E-4,
+ "interface": 0.19594343,
+ "wave": 0.10258847,
+ "sid": 0.5279773,
+ "mono": 0.91984475,
+ "random": 0.10591155,
+ "uneven": 0.29648292,
+ "averaged": 0.47628284,
+ "divide": 0.037280153,
+ "class": 0.37661555,
+ "conversion": 0.45624408,
+ "##ue": 0.8247206,
+ "digital": 0.022632975,
+ "cipher": 0.0076999287,
+ "types": 0.6664176,
+ "multiple": 0.6935474,
+ "length": 0.06477447,
+ "specification": 0.48010212,
+ "syntax": 0.65483296,
+ "formula": 0.05508089,
+ "averaging": 0.346472,
+ "gage": 0.34952793,
+ "arithmetic": 0.46317646,
+ "convert": 1.0943491,
+ "type": 0.95225704,
+ "multi": 1.0972097,
+ "division": 0.023359114,
+ "number": 0.043235805,
+ "peg": 0.41759306,
+ "##space": 1.1121728,
+ "model": 0.17753354,
+ "nan": 0.020064952,
+ "jerry": 0.3389104,
+ "enter": 0.19605044,
+ "text": 0.15108065,
+ "manipulation": 0.078729,
+ "algorithm": 0.7783246,
+ "val": 0.05019274,
+ "gene": 0.051133975,
+ "index": 0.73611087,
+ "is": 0.10759513,
+ "odd": 0.3795188,
+ "script": 0.10706253,
+ "field": 1.5230895,
+ "even": 0.9878162,
+ "spectrum": 0.02730921,
+ "binary": 0.02216192,
+ "style": 0.8218262,
+ "math": 1.2842569,
+ "##val": 1.2625185,
+ "columns": 0.8190144,
+ "crystal": 0.08691109,
+ "pattern": 0.46365562,
+ "distribution": 0.1552199,
+ "##arat": 0.77469623,
+ "file": 0.1518932,
+ "composed": 0.13769259,
+ "table": 0.30166098,
+ "include": 0.7481274,
+ "editor": 0.45205763,
+ "mat": 0.1521447,
+ "continuum": 0.028565025,
+ "heading": 0.27279365,
+ "display": 0.24497916,
+ "converts": 0.4398475,
+ "computation": 0.14361532,
+ "excel": 0.6494347,
+ "##meric": 0.97150683,
+ "report": 0.112029426,
+ "cod": 0.37367555,
+ "return": 0.48675546,
+ "shaw": 0.31948093,
+ "mathematical": 0.70392007,
+ "statistics": 0.18849206,
+ "checkpoint": 0.055497564,
+ "esq": 1.8858037,
+ "data": 0.57220846,
+ "precision": 0.3646751,
+ "dice": 0.05032923,
+ "integer": 0.3987822,
+ "used": 0.19098298,
+ "float": 0.70425093,
+ "spec": 1.4891813,
+ "space": 0.5330099,
+ "translate": 0.4388254,
+ "mode": 0.018937618,
+ "mc": 0.38202134,
+ "continuous": 0.81329805,
+ "md": 0.11988125,
+ "function": 0.024250312,
+ "html": 0.26945135,
+ "dax": 0.04585349,
+ "tag": 0.77925676,
+ "expressed": 0.08318295,
+ "buffer": 0.0413304,
+ "mp": 0.85013294,
+ "including": 0.2569896,
+ "mr": 0.4652276,
+ "ms": 0.20816763,
+ "format": 1.1645683,
+ "mv": 1.9748755,
+ "sort": 0.53067046,
+ "entry": 0.98306954,
+ "square": 0.43922472,
+ "core": 0.35406184,
+ "jamie": 0.15553229,
+ "entries": 0.9968654,
+ "header": 1.055082,
+ "##ada": 0.1696721,
+ "code": 0.15861613,
+ "scala": 0.10890028,
+ "values": 0.7021405,
+ "nu": 0.4574003,
+ "gil": 0.14100517,
+ "percent": 0.18736522,
+ "point": 0.34999636,
+ "sql": 0.4895095,
+ "nonsense": 0.016653217,
+ "numerical": 0.09348941,
+ "database": 0.29912406,
+ "along": 0.03646533,
+ "array": 0.157534,
+ "floating": 1.5070966,
+ "row": 1.1630204,
+ "value": 0.86913604,
+ "included": 0.032676615,
+ "equation": 0.33899933,
+ "rows": 0.69458705,
+ "command": 0.21704848,
+ "round": 1.3947945,
+ "serial": 0.3491356,
+ "valued": 1.248556,
+ "mean": 0.44377542,
+ "category": 0.21944945
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-mv_median]]\n=== `MV_MEDIAN`\nConverts a multivalued field into a single valued field containing the median value. For example:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=mv_median]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=mv_median-result]\n|===\n\nIt can be used by any numeric field type and returns a value of the same type. If the\nrow has an even number of values for a column the result will be the average of the\nmiddle two entries. If the field is not floating point then the average rounds *down*:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=mv_median_round_down]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=mv_median_round_down-result]\n|===\n\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "8e4ade05-7792-4a16-9241-21b4ec491081",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/mv_min.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##d": 0.7619433,
+ "##f": 0.9825101,
+ "styled": 1.188648,
+ "##frame": 0.07407836,
+ "##l": 1.4967389,
+ "##m": 0.29845747,
+ "##n": 0.16664675,
+ "java": 0.9627291,
+ "##s": 0.056357317,
+ "styling": 0.6718009,
+ "dev": 0.3706501,
+ "len": 0.17312756,
+ "pick": 0.85710967,
+ "##v": 1.2132964,
+ "notation": 0.4766956,
+ "jan": 0.10702365,
+ "xml": 0.04038882,
+ "merge": 1.5811573,
+ "calculate": 0.11616981,
+ "%": 0.6320034,
+ "tex": 0.22233279,
+ "(": 0.038985897,
+ "pool": 0.012581383,
+ "picks": 0.34222758,
+ "inspired": 0.044088595,
+ "analysis": 0.30641037,
+ "-": 0.18482286,
+ "tags": 0.49334854,
+ "/": 0.031175356,
+ "8": 1.1790954,
+ "comparisons": 0.31648186,
+ "rm": 0.20201488,
+ "=": 0.6666337,
+ "compare": 0.6312632,
+ "mid": 0.16339132,
+ "matrix": 0.31325686,
+ "matching": 0.50187564,
+ "example": 0.44399452,
+ "result": 0.89333016,
+ "into": 0.30043232,
+ "coding": 0.18968165,
+ "sd": 0.070998214,
+ "min": 1.6636478,
+ "##or": 0.18400967,
+ "si": 0.3221133,
+ "vector": 0.4096373,
+ "[": 1.1904271,
+ "fred": 0.35447064,
+ "]": 0.73409945,
+ "key": 0.19876744,
+ "_": 1.1303767,
+ "sep": 0.46409392,
+ "contain": 0.17700267,
+ "expression": 0.12766717,
+ "d": 0.3782969,
+ "cs": 1.259827,
+ "single": 0.9654147,
+ "v": 0.9301637,
+ "##uation": 0.05656361,
+ "maximum": 0.42996162,
+ "|": 0.26694712,
+ "da": 0.1691935,
+ "represent": 0.2767807,
+ "calculation": 0.30044726,
+ "dd": 0.27351546,
+ "ass": 0.07353202,
+ "dh": 0.4743598,
+ "converting": 0.43854973,
+ "din": 0.05139457,
+ "anne": 0.51635045,
+ "source": 1.1761829,
+ "specifications": 0.5752203,
+ "operator": 0.21786124,
+ "ds": 1.0989207,
+ "ata": 0.016608313,
+ "apache": 0.123975314,
+ "ren": 0.48474002,
+ "results": 0.40984952,
+ "ut": 1.1322314,
+ "ed": 0.5907688,
+ "par": 0.25214836,
+ "which": 0.04722555,
+ "chess": 0.15044458,
+ "batch": 0.090455614,
+ "encoding": 0.11406518,
+ "sha": 0.42114896,
+ "discrete": 1.9952633,
+ "##word": 0.838657,
+ "converted": 0.40487477,
+ "geometric": 0.41731915,
+ "fields": 1.3854436,
+ "decimal": 0.2187222,
+ "useful": 0.33196372,
+ "formats": 0.41485313,
+ "memory": 0.22495094,
+ "string": 0.9994267,
+ "sources": 0.18962307,
+ "mass": 0.08647078,
+ "choose": 0.27067325,
+ "interface": 0.36484247,
+ "##son": 0.17005323,
+ "representation": 0.9694687,
+ "sid": 0.6128865,
+ "mono": 0.90503186,
+ "minimal": 0.887949,
+ "sorting": 0.1566825,
+ "divide": 0.11644498,
+ "class": 0.36641705,
+ "conversion": 0.57901293,
+ "##ue": 0.87582046,
+ "cipher": 0.043356698,
+ "types": 0.5441219,
+ "multiple": 0.84945935,
+ "length": 0.32865474,
+ "specification": 0.60268724,
+ "translation": 0.16331743,
+ "syntax": 0.7762039,
+ "fancy": 0.054463007,
+ "select": 0.5281064,
+ "software": 0.07875853,
+ "gage": 0.20818931,
+ "arithmetic": 0.16442992,
+ "convert": 1.205477,
+ "type": 0.69432116,
+ "bit": 0.14982781,
+ "multi": 1.2004522,
+ "peg": 0.56284684,
+ "##space": 1.1635926,
+ "model": 0.08296914,
+ "jerry": 0.368176,
+ "text": 0.0665133,
+ "manipulation": 0.065159425,
+ "algorithm": 0.7649568,
+ "val": 0.25313106,
+ "gene": 0.3834532,
+ "byte": 1.2293702,
+ "index": 0.59114087,
+ "script": 0.15739825,
+ "field": 1.606331,
+ "binary": 0.10822342,
+ "integration": 0.10335279,
+ "style": 0.91353846,
+ "math": 1.248933,
+ "jude": 0.095702864,
+ "##val": 1.2716438,
+ "encoded": 0.25938764,
+ "pattern": 0.19934216,
+ "eight": 0.33290082,
+ "##arat": 0.71457547,
+ "file": 0.45589572,
+ "composed": 0.17742842,
+ "include": 1.2454293,
+ "editor": 0.7032276,
+ "mat": 0.25737068,
+ "max": 0.35924622,
+ "heading": 0.17631122,
+ "display": 0.23414005,
+ "converts": 0.6007794,
+ "computation": 0.021720972,
+ "excel": 0.49999636,
+ "organized": 0.11170399,
+ "cod": 0.4196076,
+ "minimum": 1.5246086,
+ "first": 0.21311109,
+ "mathematical": 0.7714449,
+ "checkpoint": 0.17836437,
+ "esq": 1.8652605,
+ "constant": 0.05140895,
+ "data": 0.5017683,
+ "dice": 0.22000332,
+ "integer": 0.41575852,
+ "used": 0.21928757,
+ "spec": 1.571963,
+ "translate": 0.5578108,
+ "space": 0.53193754,
+ "mb": 0.23916265,
+ "mc": 0.52575564,
+ "continuous": 0.8826839,
+ "function": 0.070615724,
+ "##field": 0.09623029,
+ "create": 0.06358784,
+ "html": 0.39195994,
+ "lap": 0.24313426,
+ "tag": 0.8566883,
+ "buffer": 0.3222192,
+ "expressed": 0.31058013,
+ "bean": 0.04718166,
+ "comparison": 0.8919169,
+ "mp": 0.79120785,
+ "including": 0.75098187,
+ "read": 0.026548786,
+ "mr": 0.22047102,
+ "like": 0.13791777,
+ "ms": 0.11889864,
+ "format": 1.1383471,
+ "mv": 2.0235682,
+ "comparing": 0.0968492,
+ "archive": 0.326929,
+ "includes": 0.2527195,
+ "sort": 0.33852485,
+ "picking": 0.8297677,
+ "core": 0.41821784,
+ "sequence": 0.2085208,
+ "jamie": 0.18055215,
+ "unit": 0.0054345015,
+ "header": 1.0111315,
+ "##words": 0.041103326,
+ "code": 0.14124814,
+ "mathematics": 0.18301426,
+ "scala": 0.14518996,
+ "values": 0.5974701,
+ "cad": 0.26707673,
+ "nu": 0.11562084,
+ "link": 0.022402547,
+ "chunk": 0.03523689,
+ "gil": 0.18747513,
+ "percent": 0.10441813,
+ "sql": 0.34717652,
+ "database": 0.39594752,
+ "array": 0.20690243,
+ "##8": 0.25036925,
+ "##lib": 0.046748422,
+ "value": 1.0939965,
+ "included": 0.5483204,
+ "quantity": 0.20165521,
+ "equation": 0.23567656,
+ "match": 0.20125055,
+ "command": 0.21030311,
+ "minute": 0.53186435,
+ "serial": 0.5234882,
+ "valued": 1.3675989,
+ "bytes": 0.49716228
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-mv_min]]\n=== `MV_MIN`\nConverts a multivalued field into a single valued field containing the minimum value. For example:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=mv_min]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=mv_min-result]\n|===\n\nIt can be used by any field type, including `keyword` fields. In that case picks the\nfirst string, comparing their utf-8 representation byte by byte:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=mv_min]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=mv_min-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "a2c7a384-818d-4da9-9941-8b0f81ae3a1c",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/mv_sum.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.09262939,
+ "##d": 0.5352342,
+ "styled": 1.2206069,
+ "##frame": 0.023914227,
+ "##l": 1.4614036,
+ "##m": 0.13783073,
+ "java": 0.92950034,
+ "##s": 0.17688142,
+ "styling": 0.7231401,
+ "dev": 0.16488662,
+ "##v": 1.3132888,
+ "notation": 0.4524908,
+ "xml": 0.24329214,
+ "jan": 0.029518614,
+ "merge": 1.5733392,
+ "calculate": 0.1828694,
+ "merging": 0.12364385,
+ "%": 0.6898137,
+ "tex": 0.13446894,
+ "pool": 0.028483229,
+ "(": 0.01929701,
+ "inspired": 0.010390237,
+ "analysis": 0.32529837,
+ "-": 0.12938547,
+ "tags": 0.49986917,
+ "/": 0.22707772,
+ "input": 0.90675724,
+ "miller": 0.36846676,
+ "ax": 0.19691156,
+ "styles": 0.017163083,
+ "rm": 0.39907017,
+ "=": 0.29517585,
+ "minus": 0.14814535,
+ "statistical": 0.08305186,
+ "mid": 0.18053524,
+ "sum": 2.0067513,
+ "matrix": 0.5334087,
+ "example": 0.680258,
+ "matching": 0.021072667,
+ "result": 0.8876693,
+ "into": 0.35469434,
+ "sd": 0.18570736,
+ "##or": 0.11215677,
+ "si": 0.3232458,
+ "vector": 0.34461173,
+ "[": 1.1281694,
+ "fred": 0.39214987,
+ "multiplication": 0.039874166,
+ "]": 0.6376365,
+ "graphic": 0.03177904,
+ "_": 1.2268678,
+ "sep": 0.70444,
+ "ss": 0.118685864,
+ "variables": 0.173474,
+ "contain": 0.337436,
+ "d": 0.36110923,
+ "mann": 0.038061038,
+ "column": 0.07863578,
+ "cs": 1.2981174,
+ "single": 1.0029258,
+ "v": 0.9939369,
+ "collaboration": 0.11989722,
+ "##uation": 0.08312152,
+ "|": 0.52198386,
+ "da": 0.2858319,
+ "}": 0.071278214,
+ "operation": 0.05406736,
+ "calculation": 0.4064993,
+ "dd": 0.2548001,
+ "ass": 0.1628058,
+ "dh": 0.54236597,
+ "converting": 0.32716057,
+ "inputs": 0.32646468,
+ "numbers": 0.50360453,
+ "anne": 0.5128402,
+ "source": 0.82362556,
+ "accounting": 0.24024062,
+ "specifications": 0.5022624,
+ "operator": 0.14140463,
+ "ds": 1.2295331,
+ "apache": 0.09857078,
+ "ren": 0.4593279,
+ "results": 0.32836428,
+ "ed": 0.6816363,
+ "par": 0.10702237,
+ "which": 0.0067511084,
+ "chess": 0.015028468,
+ "batch": 0.22359492,
+ "sha": 0.34245926,
+ "discrete": 1.9915156,
+ "converted": 0.39207256,
+ "geometric": 0.29031962,
+ "fields": 1.4033167,
+ "decimal": 0.112498455,
+ "formats": 0.41128123,
+ "mass": 0.39763612,
+ "interface": 0.3187541,
+ "sid": 0.5101422,
+ "mono": 1.0392699,
+ "sin": 0.41953754,
+ "divide": 0.09550666,
+ "class": 0.43340418,
+ "conversion": 0.56583136,
+ "##ue": 0.90498435,
+ "summary": 0.39832112,
+ "types": 0.8589338,
+ "multiple": 0.80809146,
+ "specification": 0.579926,
+ "translation": 0.17521137,
+ "syntax": 0.584751,
+ "formula": 0.05709902,
+ "merger": 0.04108182,
+ "fancy": 0.1787428,
+ "software": 0.109984286,
+ "gage": 0.324713,
+ "arithmetic": 0.2240778,
+ "whole": 0.12839875,
+ "convert": 1.1944845,
+ "type": 1.1642292,
+ "multi": 1.2566162,
+ "output": 0.8753271,
+ "number": 0.54257584,
+ "peg": 0.28445807,
+ "##space": 1.0857404,
+ "model": 0.26422563,
+ "text": 0.28788808,
+ "jerry": 0.25973994,
+ "algorithm": 0.6591736,
+ "val": 0.25448185,
+ "gene": 0.029286176,
+ "index": 0.38561025,
+ "is": 0.12116054,
+ "script": 0.26963243,
+ "field": 1.5608286,
+ "binary": 0.043397903,
+ "integration": 0.36597145,
+ "style": 0.9162728,
+ "math": 1.3241334,
+ "jude": 0.09635231,
+ "##val": 1.283087,
+ "##arat": 0.8571725,
+ "file": 0.35854483,
+ "composed": 0.29609203,
+ "include": 0.7890501,
+ "editor": 0.49346945,
+ "mat": 0.27089947,
+ "product": 0.10229267,
+ "heading": 0.2757101,
+ "display": 0.24832888,
+ "ross": 0.070225306,
+ "miranda": 0.06686402,
+ "converts": 0.6288242,
+ "consolidation": 0.07679318,
+ "computation": 0.13230287,
+ "excel": 0.59411776,
+ "organized": 0.1842188,
+ "cod": 0.43673894,
+ "shaw": 0.0022393407,
+ "mathematical": 0.7756122,
+ "outputs": 0.06826982,
+ "esq": 1.9177833,
+ "data": 0.46573484,
+ "dice": 0.273245,
+ "integer": 0.4140727,
+ "spec": 1.5976807,
+ "translate": 0.5670829,
+ "space": 0.3836371,
+ "mc": 0.31338382,
+ "continuous": 0.86828333,
+ "function": 0.16821246,
+ "##field": 0.012510631,
+ "create": 0.12957315,
+ "html": 0.2805973,
+ "lap": 0.17598847,
+ "tag": 0.8998704,
+ "expressed": 0.21825203,
+ "bean": 0.108568914,
+ "combine": 0.48759374,
+ "combination": 0.10893096,
+ "all": 0.45530167,
+ "taylor": 0.080939494,
+ "mp": 0.9040194,
+ "including": 0.3378705,
+ "read": 0.0094730165,
+ "mr": 0.28770366,
+ "format": 1.1708599,
+ "mv": 2.1631439,
+ "sort": 0.24157989,
+ "plus": 0.40801707,
+ "core": 0.4181805,
+ "jamie": 0.3389013,
+ "sequence": 0.32461125,
+ "synth": 0.19095619,
+ "unit": 0.079974845,
+ "header": 1.0547613,
+ "sums": 0.9879472,
+ "code": 0.05856908,
+ "mathematics": 0.1701383,
+ "scala": 0.093803994,
+ "student": 0.035319056,
+ "blend": 0.052805193,
+ "values": 1.0693057,
+ "cad": 0.18437713,
+ "nu": 0.09178722,
+ "ensemble": 0.19043447,
+ "gil": 0.086690634,
+ "percent": 0.12854049,
+ "sql": 0.2901939,
+ "total": 0.13265027,
+ "database": 0.12777336,
+ "array": 0.28165925,
+ "##lib": 0.173263,
+ "value": 0.98356646,
+ "included": 0.030513728,
+ "quantity": 0.2138848,
+ "equation": 0.39704353,
+ "any": 0.20261501,
+ "command": 0.1250144,
+ "serial": 0.48766798,
+ "valued": 1.3321111
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-mv_sum]]\n=== `MV_SUM`\nConverts a multivalued field into a single valued field containing the sum\nof all of the values. For example:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=mv_sum]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=mv_sum-result]\n|===\n\nNOTE: The input type can be any number and the output type is the same as the input type.\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "5e6acf57-ad5a-4129-be44-59d6fe0e75d6",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/now.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.29349923,
+ "##d": 0.10784753,
+ "gage": 0.19780295,
+ "during": 0.06876172,
+ "##l": 1.4831128,
+ "java": 1.002042,
+ "peg": 0.6291637,
+ "record": 0.072372824,
+ "calculate": 0.33851627,
+ "algorithm": 0.08680683,
+ "still": 0.781775,
+ "'": 0.51291734,
+ "night": 0.49084365,
+ "(": 0.56223416,
+ "index": 0.48871875,
+ "dates": 0.5609434,
+ "then": 0.19768244,
+ "-": 0.009959882,
+ "script": 0.21807463,
+ "solomon": 0.024601636,
+ "math": 0.31218863,
+ "=": 0.53079355,
+ "server": 0.08355453,
+ "columns": 0.042079557,
+ "mid": 0.058271777,
+ "matrix": 0.18747136,
+ "bp": 0.021740101,
+ "current": 1.5417317,
+ "computer": 0.13114452,
+ "file": 0.013403546,
+ "si": 0.20973611,
+ "[": 1.1412859,
+ "]": 0.6692863,
+ "key": 0.10154154,
+ "_": 1.2555728,
+ "`": 0.346158,
+ "editor": 0.21102725,
+ "mat": 0.0039115837,
+ "chip": 0.035543423,
+ "d": 0.25377887,
+ "display": 0.5605893,
+ "column": 0.68930244,
+ "excel": 0.33947214,
+ "cod": 0.35776377,
+ "timeline": 0.18679048,
+ "returned": 0.41515186,
+ "operation": 0.16499196,
+ "da": 0.14310817,
+ "return": 0.9544941,
+ "date": 1.4229487,
+ "calculation": 0.18868604,
+ "ass": 0.15978059,
+ "checkpoint": 0.10240201,
+ "esq": 1.7767951,
+ "data": 0.30174878,
+ "dj": 0.40999883,
+ "dice": 0.029929759,
+ "tempo": 0.21981981,
+ "anne": 0.17074428,
+ "source": 0.39063025,
+ "integer": 0.018898664,
+ "operator": 0.10203102,
+ "compute": 0.24579601,
+ "protocol": 0.15473433,
+ "apache": 0.09391719,
+ "tab": 0.38258895,
+ "continuous": 0.94378924,
+ "function": 0.48857117,
+ "lap": 0.56437963,
+ "day": 0.51720005,
+ "ed": 0.32095513,
+ "notebook": 0.022926152,
+ "which": 0.26856586,
+ "chess": 0.18977444,
+ "batch": 0.04926514,
+ "format": 0.023059659,
+ "clock": 1.1241587,
+ "sort": 0.032910686,
+ "discrete": 2.078066,
+ "sequence": 0.48360202,
+ "core": 0.25553724,
+ "month": 0.02114795,
+ "retrieve": 0.3351738,
+ "next": 0.12924889,
+ "memory": 0.16620223,
+ "boo": 0.015368022,
+ "cad": 0.22712597,
+ "link": 0.005597631,
+ "interface": 0.2948385,
+ "sid": 0.8065176,
+ "sql": 0.256932,
+ "timer": 0.40113226,
+ "times": 0.3087934,
+ "database": 0.051338177,
+ "hour": 0.1907861,
+ "array": 0.16745743,
+ "and": 0.37989596,
+ "now": 1.9334869,
+ "today": 1.0477548,
+ "row": 1.2564416,
+ "##lib": 0.08802726,
+ "class": 0.26147765,
+ "cipher": 0.30820084,
+ "keyboard": 0.09826385,
+ "execution": 1.5782064E-4,
+ "control": 0.18448697,
+ "rows": 0.67660683,
+ "suddenly": 0.61530566,
+ "command": 0.30770013,
+ "currently": 0.5383117,
+ "serial": 0.9123326,
+ "syntax": 0.51047826,
+ "time": 1.4234582,
+ "pub": 0.10888403
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-now]]\n=== `NOW`\nReturns current date and time.\n\n[source,esql]\n----\nROW current_date = NOW()\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "389ddc92-f4ee-4ebc-8c78-24113f39cfe9",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/operators.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 0.56444824,
+ "comparative": 0.37162066,
+ "arithmetic": 0.5688872,
+ "##i": 0.06496138,
+ "alphabet": 0.41096285,
+ "##frame": 0.3682444,
+ "##l": 1.5475137,
+ "type": 0.095305,
+ "these": 0.006941726,
+ "##r": 0.7940216,
+ "java": 1.2449085,
+ "peg": 0.5278782,
+ "##v": 0.5819882,
+ "notation": 0.40487415,
+ "jan": 0.3045672,
+ "nan": 1.430644,
+ "jerry": 0.41886747,
+ "##lean": 1.3395046,
+ "algorithm": 0.75108063,
+ "similar": 0.19408947,
+ "ab": 0.018569551,
+ "gene": 0.21129239,
+ "in": 0.2022312,
+ "ip": 0.15761812,
+ "(": 0.050762847,
+ "index": 0.71942127,
+ "is": 0.63185924,
+ "+": 1.1364052,
+ "matches": 0.4084356,
+ "-": 0.17538865,
+ "##like": 1.17867,
+ "script": 0.016606437,
+ "tags": 0.7732052,
+ "solomon": 0.04734369,
+ "as": 0.40580368,
+ "binary": 1.1753919,
+ "comparisons": 0.5675196,
+ "unicode": 0.06797428,
+ "style": 0.0315849,
+ "math": 0.98825383,
+ "starting": 0.09876282,
+ "evaluate": 0.26917762,
+ "jude": 0.20880276,
+ "hash": 0.18017073,
+ "boston": 0.06474352,
+ "compare": 0.99218494,
+ "infinite": 1.3872578,
+ "against": 1.0926422,
+ "pattern": 0.040122822,
+ "algebra": 0.052714497,
+ "##bre": 1.3399718,
+ "two": 0.2419283,
+ "matching": 0.53754395,
+ "##bra": 0.18869819,
+ "valid": 0.060922123,
+ "characters": 0.11198658,
+ "operators": 1.4557139,
+ "julia": 0.2029176,
+ "[": 0.36913222,
+ "fred": 0.23069061,
+ "multiplication": 0.17800437,
+ "equality": 0.15012014,
+ "table": 0.14962214,
+ "_": 0.8067826,
+ "include": 0.74262124,
+ "editor": 0.51833946,
+ "expression": 1.47339,
+ "contain": 0.077540845,
+ "one": 0.43113196,
+ "display": 0.020392638,
+ "column": 0.5136157,
+ "##dicate": 1.1897814,
+ "##id": 0.7790861,
+ "logical": 1.1985655,
+ "excel": 0.09743053,
+ "r": 0.8491581,
+ "cod": 0.6027203,
+ "infinity": 0.19884649,
+ "logic": 0.7418163,
+ "operation": 0.71142846,
+ "}": 0.5178076,
+ "ass": 0.3341348,
+ "checkpoint": 0.28820464,
+ "symbol": 0.010661311,
+ "esq": 2.0343757,
+ "anne": 0.8561207,
+ "language": 0.20710605,
+ "integer": 0.43533662,
+ "operator": 1.484641,
+ "ata": 0.08544744,
+ "##ab": 0.9593459,
+ "apache": 0.32043272,
+ "brendan": 0.13567622,
+ "html": 0.33495516,
+ "tag": 1.0944581,
+ "starts": 0.1509677,
+ "ed": 0.68719083,
+ "combination": 0.37238613,
+ "par": 0.3803617,
+ "which": 0.12403766,
+ "pre": 0.27933004,
+ "comparison": 1.157496,
+ "chess": 0.6241535,
+ "including": 0.17378666,
+ "test": 0.25911316,
+ "like": 1.0720247,
+ "finite": 0.8189699,
+ "format": 0.037915055,
+ "comparing": 0.51578635,
+ "##ido": 1.3552556,
+ "sort": 0.22027174,
+ "list": 0.81567293,
+ "expressions": 1.2368913,
+ "plus": 0.43883148,
+ "jamie": 0.47285968,
+ "core": 0.22527921,
+ "sequence": 0.12874068,
+ "measure": 0.052458435,
+ "##word": 0.08613157,
+ "lists": 0.70961523,
+ "##ida": 0.5097681,
+ "geometric": 0.2140793,
+ "decimal": 0.2944878,
+ "##ile": 0.049551975,
+ "cid": 1.28283,
+ "boo": 1.1048737,
+ "code": 0.33567074,
+ "endless": 0.90280837,
+ "gil": 0.16541275,
+ "title": 0.48577422,
+ "interface": 0.35597235,
+ "sql": 0.3983299,
+ "sid": 0.31912932,
+ "nonsense": 0.09610826,
+ "database": 0.01091262,
+ "operations": 0.04265385,
+ "array": 0.114243306,
+ "##ci": 1.272702,
+ "ends": 0.7489653,
+ "end": 0.48096314,
+ "##lib": 0.11347163,
+ "class": 0.77589864,
+ "cipher": 0.020186108,
+ "op": 1.5150559,
+ "keyboard": 0.20992099,
+ "equation": 0.2825984,
+ "match": 1.1264089,
+ "multiple": 0.79724693,
+ "start": 0.46162602,
+ "length": 0.11160431,
+ "counter": 0.090609804,
+ "command": 0.22494866,
+ "consecutive": 0.21961446,
+ "with": 0.93674135,
+ "serial": 0.2158309,
+ "syntax": 0.8553058,
+ "pub": 0.45616055
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-operators]]\n==== {esql} operators\n\n++++\nOperators\n++++\n\nBoolean operators for comparing against one or multiple expressions.\n\n// tag::op_list[]\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n// end::op_list[]\n\ninclude::binary.asciidoc[]\ninclude::logical.asciidoc[]\ninclude::predicates.asciidoc[]\ninclude::cidr_match.asciidoc[]\ninclude::ends_with.asciidoc[]\ninclude::in.asciidoc[]\ninclude::is_finite.asciidoc[]\ninclude::is_infinite.asciidoc[]\ninclude::is_nan.asciidoc[]\ninclude::like.asciidoc[]\ninclude::rlike.asciidoc[]\ninclude::starts_with.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "0d470f21-a1b8-48cd-baba-d841179dcd7d",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/percentile.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.5257359,
+ "##c": 0.34920034,
+ "##d": 0.7783019,
+ "fifty": 0.2645875,
+ "##g": 1.2247267,
+ "styled": 0.7042003,
+ "alphabet": 0.087303676,
+ "##frame": 0.07020253,
+ "##l": 1.3823024,
+ "observed": 1.0872834,
+ "observer": 0.26007196,
+ "score": 0.18375833,
+ "java": 0.61181784,
+ "stats": 0.65115213,
+ "##v": 1.039207,
+ "notation": 0.67874676,
+ "meaning": 0.529452,
+ "xml": 0.15337285,
+ "jan": 0.06286359,
+ "merge": 1.1200961,
+ "above": 0.019523129,
+ "rank": 0.67117256,
+ "happen": 0.33230245,
+ "%": 1.1073384,
+ "ag": 1.4986748,
+ "expected": 0.2670466,
+ "'": 0.01895376,
+ "analysis": 0.5321474,
+ "-": 0.16724204,
+ "tags": 0.28677592,
+ "/": 0.22069888,
+ "quality": 0.1423233,
+ "population": 0.020021835,
+ "as": 0.24080221,
+ "at": 0.35620588,
+ "difference": 0.40063956,
+ "=": 0.05613904,
+ "##ter": 0.049887944,
+ "average": 0.31117785,
+ "statistical": 0.70520306,
+ "##stic": 0.5441546,
+ "##ler": 0.0014068716,
+ "global": 0.15990108,
+ "virus": 0.098682575,
+ "example": 0.38401082,
+ "result": 0.68536794,
+ "sd": 0.041514542,
+ "same": 0.324128,
+ "50th": 1.4668287,
+ "term": 0.7122791,
+ "where": 0.14113106,
+ "[": 1.2418398,
+ "fred": 0.4246662,
+ "]": 0.68301654,
+ "graphic": 0.22483099,
+ "_": 0.7084375,
+ "sep": 0.38909256,
+ "ss": 0.19838057,
+ "stat": 0.025727836,
+ "middle": 0.09337139,
+ "occurred": 0.34322438,
+ "d": 0.15699506,
+ "abbreviation": 0.39754167,
+ "sample": 0.2799741,
+ "cp": 0.08458595,
+ "cs": 1.2638687,
+ "th": 0.65132236,
+ "metric": 0.309124,
+ "v": 0.10477642,
+ "##uation": 0.12299472,
+ "maximum": 0.16447057,
+ "describe": 0.14528418,
+ "|": 0.18149115,
+ "chart": 0.5485677,
+ "dd": 0.22791673,
+ "ass": 0.20747909,
+ "calculation": 0.20501034,
+ "standard": 0.11678351,
+ "symbol": 0.39273986,
+ "dh": 0.41945353,
+ "approximate": 1.5421293,
+ "anne": 0.493476,
+ "accounting": 0.03580949,
+ "specifications": 0.30511525,
+ "observe": 0.5538104,
+ "ds": 1.1256518,
+ "frequency": 0.050618704,
+ "##lier": 0.0038789285,
+ "50": 1.1925893,
+ "results": 0.4431918,
+ "weighted": 0.2501258,
+ "ed": 0.5482265,
+ "which": 0.24661127,
+ "chess": 0.24177563,
+ "eh": 0.061741143,
+ "test": 0.45823178,
+ "eric": 0.057918925,
+ "sha": 0.081017986,
+ "graph": 0.11236678,
+ "discrete": 1.9486066,
+ "measure": 0.33452952,
+ "median": 1.6129242,
+ "geometric": 0.2336268,
+ "coefficient": 0.15863575,
+ "##ile": 1.9976676,
+ "decimal": 0.19876088,
+ "##th": 1.269725,
+ "color": 0.032652386,
+ "aggregation": 0.8497287,
+ "inventory": 0.024494974,
+ "sid": 0.2799789,
+ "mono": 0.5996211,
+ "random": 0.0498901,
+ "rate": 0.29496303,
+ "terminology": 0.14886403,
+ "##ci": 1.176302,
+ "definition": 0.51307976,
+ "class": 0.403808,
+ "digital": 0.046520524,
+ "estimated": 0.017487856,
+ "specification": 0.4512186,
+ "reading": 0.12852539,
+ "label": 0.04515946,
+ "occurring": 0.1671202,
+ "colon": 0.010292547,
+ "syntax": 0.33915034,
+ "pub": 0.22329317,
+ "fancy": 0.12187798,
+ "called": 0.15012968,
+ "gage": 0.33543923,
+ "pun": 0.1684486,
+ "arithmetic": 0.18967494,
+ "during": 0.07262007,
+ "number": 0.005544166,
+ "peg": 0.4851844,
+ "##space": 0.9411008,
+ "jerry": 0.11145002,
+ "latin": 0.03926366,
+ "95": 1.3834332,
+ "greater": 0.91383505,
+ "algorithm": 0.9304811,
+ "similar": 0.21703841,
+ "period": 0.07984883,
+ "gene": 0.23518482,
+ "probability": 0.18509938,
+ "index": 0.70070505,
+ "classification": 0.05444799,
+ "script": 0.21551383,
+ "exact": 0.30158702,
+ "style": 0.32126796,
+ "interval": 0.036191385,
+ "math": 0.8507375,
+ "algorithms": 0.015753461,
+ "study": 0.049133494,
+ "proportion": 0.24385127,
+ "aim": 0.12463108,
+ "occurrence": 0.15947807,
+ "distribution": 0.11839384,
+ "##arat": 0.7210097,
+ "table": 0.19680533,
+ "include": 0.8476943,
+ "continuum": 0.26708183,
+ "heading": 0.10274661,
+ "observation": 1.0198368,
+ "more": 0.0013316345,
+ "##id": 0.4768829,
+ "##mini": 1.1202687,
+ "fraction": 0.31493986,
+ "excel": 0.52208835,
+ "report": 0.07960965,
+ "certain": 0.37840316,
+ "statistics": 0.76245195,
+ "esq": 1.8101286,
+ "constant": 0.17302209,
+ "data": 0.6041219,
+ "cent": 1.0163181,
+ "rating": 0.08842737,
+ "integer": 0.006848908,
+ "lab": 0.05110147,
+ "spec": 1.3534342,
+ "space": 0.2049039,
+ "continuous": 1.0616517,
+ "percentage": 0.9004137,
+ "limit": 0.050482027,
+ "html": 0.34117088,
+ "tag": 0.71597105,
+ "different": 0.5126368,
+ "taylor": 0.17834862,
+ "including": 0.22835019,
+ "level": 0.16430137,
+ "occur": 0.8549166,
+ "format": 0.88241893,
+ "##ido": 1.5704752,
+ "sort": 0.22773817,
+ "deter": 0.11915158,
+ "core": 0.3689425,
+ "jamie": 0.3357999,
+ "unit": 0.43215248,
+ "##ida": 0.39756897,
+ "header": 0.7620221,
+ "survey": 0.08906389,
+ "code": 0.07031832,
+ "values": 0.7735819,
+ "nu": 0.32697663,
+ "cad": 0.2195132,
+ "link": 0.02707417,
+ "##le": 0.40853727,
+ "scale": 0.0066296156,
+ "gil": 0.42564023,
+ "percent": 1.8994781,
+ "point": 0.010574972,
+ "numerical": 0.16722822,
+ "observations": 0.13967453,
+ "predict": 0.4144631,
+ "##lib": 0.09534293,
+ "value": 0.9085298,
+ "chance": 0.023735782,
+ "equation": 0.2741159,
+ "intensity": 0.18512188,
+ "mean": 0.33516544,
+ "category": 0.32573774
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-agg-percentile]]\n=== `PERCENTILE`\nThe value at which a certain percentage of observed values occur. For example,\nthe 95th percentile is the value which is greater than 95% of the observed values and\nthe 50th percentile is the <>.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/stats_percentile.csv-spec[tag=percentile]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/stats_percentile.csv-spec[tag=percentile-result]\n|===\n\n[discrete]\n[[esql-agg-percentile-approximate]]\n==== `PERCENTILE` is (usually) approximate\n\ninclude::../../aggregations/metrics/percentile-aggregation.asciidoc[tag=approximate]\n\n[WARNING]\n====\n`PERCENTILE` is also {wikipedia}/Nondeterministic_algorithm[non-deterministic].\nThis means you can get slightly different results using the same data.\n====\n\n\n\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "530b7b14-0305-4849-a91a-ea2d177fe718",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/pi.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.18740723,
+ "fancy": 0.23471065,
+ "functions": 0.66717786,
+ "##d": 0.4461136,
+ "##g": 0.7770862,
+ "gage": 0.47613844,
+ "pun": 0.23027557,
+ "circles": 0.8308712,
+ "##i": 0.16999148,
+ "fin": 0.30411956,
+ "styled": 0.82423514,
+ "alphabet": 0.18158929,
+ "##frame": 0.15215534,
+ "during": 0.0063882433,
+ "##l": 1.4154041,
+ "signatures": 0.40393886,
+ "elmer": 0.19857012,
+ "score": 0.0010153858,
+ "peg": 0.5888699,
+ "java": 0.34229547,
+ "styling": 0.3775935,
+ "##v": 1.1347096,
+ "notation": 0.40542838,
+ "merge": 1.2643601,
+ "rim": 0.11174973,
+ "##space": 0.9700254,
+ "text": 0.9608115,
+ "cube": 0.16775262,
+ "jerry": 0.041601796,
+ "guide": 0.11044798,
+ "algorithm": 0.50715697,
+ "images": 0.40266678,
+ "shape": 0.59401995,
+ "ras": 1.1417941,
+ "%": 0.34846956,
+ "gene": 0.14718693,
+ "'": 0.04215819,
+ "index": 0.6112785,
+ "signed": 0.4213948,
+ "circular": 1.0438077,
+ "proportional": 0.10145731,
+ "analysis": 0.12014324,
+ "-": 0.27986437,
+ "script": 0.07814596,
+ "/": 0.47652403,
+ "tags": 0.20895377,
+ "as": 0.009922466,
+ "globe": 0.064688206,
+ "size": 0.74556035,
+ "style": 0.66377234,
+ "math": 1.3449035,
+ "circle": 1.7360032,
+ "template": 0.017442286,
+ "surrounded": 0.054364335,
+ "don": 0.009441841,
+ "flag": 0.14212786,
+ "proportion": 0.31177953,
+ "signature": 1.5284045,
+ "jp": 0.37689918,
+ "pattern": 0.16598496,
+ "##pi": 0.23850697,
+ "distribution": 0.12892367,
+ "result": 0.7890009,
+ "##arat": 0.5705795,
+ "file": 0.46940243,
+ "arc": 0.14791033,
+ "sphere": 0.20729056,
+ "si": 0.44070023,
+ "physics": 0.102587394,
+ "vector": 0.49170303,
+ "wikipedia": 1.0273623,
+ "[": 0.7579505,
+ "fred": 0.3572164,
+ "embedded": 1.3374976,
+ "graphic": 0.79867274,
+ "map": 0.34476966,
+ "]": 0.23244824,
+ "_": 0.34434396,
+ "sep": 0.08291164,
+ "include": 0.5640267,
+ "editor": 0.1446802,
+ "sv": 1.0582473,
+ "d": 0.100613825,
+ "heading": 0.12592375,
+ "ci": 0.92451525,
+ "display": 0.27574533,
+ "abbreviation": 0.41181773,
+ "prototype": 0.00968354,
+ "sample": 0.001755603,
+ "cs": 1.1008674,
+ "p": 0.6132349,
+ "diagram": 0.32952747,
+ "radar": 0.17555818,
+ "s": 0.034573916,
+ "metric": 0.16573572,
+ "v": 0.14885643,
+ "##uation": 0.07190222,
+ "{": 0.24910955,
+ "|": 0.18645269,
+ "}": 0.60680217,
+ "chart": 0.430823,
+ "ratio": 1.4171737,
+ "mathematical": 0.8136182,
+ "font": 0.27521795,
+ "dimensions": 0.2172891,
+ "ass": 0.29715773,
+ "calculation": 0.25852197,
+ "##rc": 1.0438285,
+ "symbol": 0.6641946,
+ "esq": 2.0083244,
+ "constant": 0.0832321,
+ "dh": 0.315608,
+ "data": 0.22511409,
+ "thickness": 0.011495778,
+ "precision": 0.2037955,
+ "sign": 0.36588928,
+ "anne": 0.55996674,
+ "source": 0.09589936,
+ "lab": 0.011714125,
+ "specifications": 0.55969375,
+ "spec": 1.5578074,
+ "space": 0.3541,
+ "ds": 1.0644741,
+ "apache": 0.07923605,
+ "diameter": 1.3644537,
+ "academia": 0.010306115,
+ "function": 0.82505345,
+ "continuous": 0.7515746,
+ "html": 0.5382422,
+ "lap": 0.14075533,
+ "tag": 0.76561946,
+ "results": 0.10492574,
+ "ed": 0.44519246,
+ "image": 0.9207591,
+ "taylor": 0.034291048,
+ "including": 0.09385056,
+ "format": 0.8656301,
+ "its": 0.315836,
+ "sha": 0.20675829,
+ "graph": 0.1409386,
+ "discrete": 1.8576106,
+ "core": 0.3749366,
+ "square": 0.10841565,
+ "jamie": 0.07790735,
+ "rainbow": 0.025804745,
+ "opt": 1.1955338,
+ "unit": 0.39764082,
+ "measure": 0.28524467,
+ "perimeter": 0.59834033,
+ "geometric": 0.81414044,
+ "coefficient": 0.08727757,
+ "header": 0.9222881,
+ "decimal": 0.27503625,
+ "coin": 0.16176197,
+ "opted": 0.0023038054,
+ "fi": 0.24124521,
+ "code": 0.040470447,
+ "mathematics": 0.0636252,
+ "cad": 0.5154488,
+ "provided": 0.13370885,
+ "scale": 0.18318708,
+ "video": 0.20152394,
+ "gil": 0.20025647,
+ "around": 0.3990429,
+ "percent": 0.3468785,
+ "symbols": 0.0829609,
+ "sid": 0.5113171,
+ "mono": 0.95576537,
+ "##ference": 1.0521953,
+ "numerical": 0.17856273,
+ "para": 0.21818782,
+ "plot": 0.2397981,
+ "##ci": 0.02476888,
+ "##lib": 0.28854924,
+ "ratios": 0.6300571,
+ "class": 0.3775486,
+ "digital": 0.025475575,
+ "wheel": 0.39347062,
+ "center": 0.39661995,
+ "equation": 0.3781842,
+ "length": 0.86515796,
+ "##um": 0.42992952,
+ "specification": 0.5039963,
+ "zoom": 0.41425848,
+ "inline": 1.207638,
+ "pi": 2.1062148,
+ "pub": 0.32461762
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-pi]]\n=== `PI`\n[.text-center]\nimage::esql/functions/signature/pi.svg[Embedded,opts=inline]\n\nThe {wikipedia}/Pi[ratio] of a circle's circumference to its diameter.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=pi]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=pi-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "3d8514c0-3945-4074-b792-9b173879872b",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/pow.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.22345345,
+ "##script": 0.09305395,
+ "functions": 0.68989354,
+ "##d": 0.576863,
+ "##g": 0.97437054,
+ "##i": 0.40745378,
+ "styled": 1.1667544,
+ "##l": 1.4322444,
+ "elmer": 0.3861189,
+ "java": 1.0668033,
+ "##s": 0.49970233,
+ "styling": 0.5001699,
+ "len": 0.21635385,
+ "dev": 0.15765701,
+ "outcomes": 0.115863994,
+ "##v": 1.3020657,
+ "notation": 0.35423955,
+ "jan": 0.19883564,
+ "merge": 1.7314628,
+ "merging": 0.20066835,
+ "%": 0.44730467,
+ "16": 0.2534269,
+ "tex": 0.05704576,
+ "expected": 0.38838455,
+ "-": 0.28919452,
+ "tags": 0.4623188,
+ "size": 0.3060611,
+ "triple": 0.09989012,
+ "difference": 0.16196516,
+ "returns": 0.15563574,
+ "matrix": 0.046961024,
+ "long": 0.6755199,
+ "result": 1.2517929,
+ "coding": 0.042669956,
+ "##or": 0.572553,
+ "si": 0.2979621,
+ "##flow": 1.5055279,
+ "pow": 2.3383086,
+ "vector": 0.6003962,
+ "where": 0.011789999,
+ "[": 0.8609834,
+ "fred": 0.37105778,
+ "multiplication": 0.22977114,
+ "embedded": 1.5195572,
+ "graphic": 0.6999348,
+ "32": 1.1026345,
+ "sep": 0.75071627,
+ "_": 0.4601746,
+ "sami": 0.23987782,
+ "cc": 0.09744513,
+ "sv": 1.1963369,
+ "c": 0.16843912,
+ "expression": 0.13256884,
+ "d": 0.19748217,
+ "column": 0.12211793,
+ "cp": 0.17702153,
+ "cs": 1.5256093,
+ "p": 0.052655127,
+ "answer": 0.4977582,
+ "v": 0.3433959,
+ "w": 0.31276357,
+ "##uation": 0.2075002,
+ "returned": 1.0538616,
+ "|": 0.39681846,
+ "operation": 0.83483297,
+ "}": 0.10577579,
+ "da": 1.6652151E-4,
+ "font": 0.13799742,
+ "calculation": 0.397896,
+ "dd": 0.25378925,
+ "ass": 0.1815694,
+ "dh": 0.28999436,
+ "numbers": 0.14122567,
+ "anne": 0.5869115,
+ "rules": 0.39607018,
+ "retrieved": 0.05310955,
+ "source": 0.43294284,
+ "specifications": 0.44710913,
+ "ds": 1.0586827,
+ "apache": 0.23956351,
+ "warning": 0.20852874,
+ "results": 0.4200546,
+ "ed": 0.43608215,
+ "par": 0.04112541,
+ "image": 0.019128382,
+ "pat": 0.17587928,
+ "chess": 0.37619215,
+ "test": 0.060324114,
+ "batch": 0.32617128,
+ "eric": 0.027038317,
+ "sha": 0.45620584,
+ "discrete": 1.7993351,
+ "opt": 1.6546721,
+ "geometric": 0.4693705,
+ "decimal": 0.5047843,
+ "fields": 0.17933851,
+ "parameters": 0.17194712,
+ "64": 0.68971354,
+ "opted": 0.62899566,
+ "formats": 0.20527445,
+ "string": 0.16340965,
+ "mach": 0.34043616,
+ "non": 0.6436233,
+ "interface": 0.09884101,
+ "sid": 0.58779746,
+ "mono": 1.0606478,
+ "class": 0.54361206,
+ "over": 0.08820147,
+ "cipher": 0.05211665,
+ "types": 0.7880946,
+ "##ception": 0.7937981,
+ "length": 0.079110935,
+ "multiple": 0.042796057,
+ "specification": 0.570418,
+ "##di": 1.3910505,
+ "syntax": 0.53614324,
+ "base": 1.3364686,
+ "fancy": 0.08686825,
+ "##ex": 0.5710955,
+ "software": 0.10612255,
+ "answers": 0.3581878,
+ "gage": 0.20879841,
+ "pun": 0.1625445,
+ "arithmetic": 1.2129649,
+ "during": 0.14794292,
+ "program": 8.0624496E-4,
+ "type": 0.8892035,
+ "signatures": 0.47430944,
+ "integers": 0.7691852,
+ "peg": 0.5924872,
+ "##space": 1.0597498,
+ "nan": 0.26239383,
+ "text": 0.91227573,
+ "jerry": 0.5277052,
+ "flow": 0.8594428,
+ "case": 0.112500265,
+ "algorithm": 0.7353231,
+ "large": 0.88233525,
+ "gene": 0.3579664,
+ "double": 1.0082926,
+ "byte": 0.25931516,
+ "signed": 0.5213406,
+ "index": 0.5013451,
+ "script": 0.513689,
+ "determined": 0.7987223,
+ "binary": 0.12817928,
+ "integration": 0.14172985,
+ "style": 0.7263626,
+ "math": 1.3539938,
+ "template": 0.09636746,
+ "signature": 1.4471056,
+ "jp": 0.2487628,
+ "##arat": 1.0041294,
+ "computer": 0.09334218,
+ "file": 0.28963855,
+ "composed": 0.26049456,
+ "brit": 0.35746756,
+ "julia": 0.10202714,
+ "peer": 0.05783432,
+ "power": 1.3444047,
+ "precise": 0.04949128,
+ "eddy": 0.045801792,
+ "outcome": 0.6274462,
+ "include": 0.6035145,
+ "editor": 0.31446975,
+ "display": 0.37122086,
+ "computation": 0.291784,
+ "excel": 0.43405917,
+ "##meric": 0.8689459,
+ "cod": 0.17320807,
+ "powers": 0.5992208,
+ "return": 0.8497892,
+ "mathematical": 0.86689544,
+ "exponential": 0.1630586,
+ "checkpoint": 0.13617903,
+ "esq": 1.9578444,
+ "argument": 0.9582003,
+ "panda": 0.13464244,
+ "data": 0.35827145,
+ "precision": 1.3199912,
+ "sign": 0.19250587,
+ "simple": 0.30006576,
+ "integer": 1.0423313,
+ "float": 0.61880153,
+ "spec": 1.5740597,
+ "space": 0.322532,
+ "second": 0.16440028,
+ "##ii": 1.3271147,
+ "function": 1.0724121,
+ "continuous": 0.7961986,
+ "raise": 0.0952365,
+ "html": 0.34717432,
+ "tag": 0.9849595,
+ "different": 0.38125667,
+ "combine": 0.007307823,
+ "including": 0.08600809,
+ "format": 1.1143035,
+ "sort": 0.05642774,
+ "core": 0.39076936,
+ "jamie": 0.32939884,
+ "sequence": 0.026949666,
+ "null": 0.7759574,
+ "header": 0.8818215,
+ "errors": 0.6455949,
+ "algebraic": 0.5050286,
+ "largest": 0.2438834,
+ "code": 0.27756187,
+ "legacy": 0.12169624,
+ "boo": 0.013962096,
+ "##nent": 1.0434141,
+ "values": 0.59623075,
+ "nu": 0.5044978,
+ "cad": 0.29621038,
+ "gil": 0.36276168,
+ "error": 0.87501925,
+ "percent": 0.17340925,
+ "point": 0.7386224,
+ "sql": 0.29209477,
+ "nonsense": 0.08593447,
+ "numerical": 0.70216733,
+ "array": 0.042180706,
+ "floating": 1.5259405,
+ "predict": 0.08307029,
+ "##lib": 0.015747124,
+ "expo": 1.243958,
+ "value": 1.0102897,
+ "chance": 0.4477256,
+ "determine": 0.4107337,
+ "equation": 0.24736238,
+ "raised": 0.583036,
+ "int": 0.40339103,
+ "command": 0.043031655,
+ "inline": 1.5385638,
+ "serial": 0.5471198,
+ "compilation": 0.16712767,
+ "unsigned": 0.09951529,
+ "arguments": 0.79735094
+ },
+ "is_truncated": true,
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-pow]]\n=== `POW`\n[.text-center]\nimage::esql/functions/signature/pow.svg[Embedded,opts=inline]\n\nReturns the value of a base (first argument) raised to the power of an exponent (second argument).\nBoth arguments must be numeric.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=powDI]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=powDI-result]\n|===\n\n[discrete]\n==== Type rules\n\nThe type of the returned value is determined by the types of the base and exponent.\nThe following rules are applied to determine the result type:\n\n* If either of the base or exponent are of a floating point type, the result will be a double\n* Otherwise, if either the base or the exponent are 64-bit (long or unsigned long), the result will be a long\n* Otherwise, the result will be a 32-bit integer (this covers all other numeric types, including int, short and byte)\n\nFor example, using simple integers as arguments will lead to an integer result:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=powII]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=powII-result]\n|===\n\nNOTE: The actual power function is performed using double precision values for all cases.\nThis means that for very large non-floating point values there is a small chance that the\noperation can lead to slightly different answers than expected.\nHowever, a more likely outcome of very large non-floating point values is numerical overflow.\n\n[discrete]\n==== Arithmetic errors\n\nArithmetic errors and numeric overflow do not result in an error. Instead, the result will be `null`\nand a warning for the `ArithmeticException` added.\nFor example:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=powULOverrun]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=powULOverrun-warning]\n|===\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=powULOverrun-result]\n|===\n\nIf it is desired to protect against numerical overruns, use `TO_DOUBLE` on either of the arguments:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=pow2d]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=pow2d-result]\n|===\n\n[discrete]\n==== Fractional exponents\n\nThe exponent can be a fraction, which is similar to performing a root.\nFor example, the exponent of `0.5` will give the square root of the base:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=powID-sqrt]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=powID-sqrt-result]\n|===\n\n[discrete]\n==== Table of supported input and output types\n\nFor clarity, the following table describes the output result type for all combinations of numeric input types:\n\ninclude::types/pow.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "8544879c-ecee-4603-b8f3-e6dbdced51cb",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/predicates.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.51721436,
+ "copyright": 0.24486794,
+ "fancy": 0.24217236,
+ "##d": 0.6201745,
+ "criteria": 0.30094287,
+ "comparative": 0.30288407,
+ "pun": 0.13099238,
+ "gage": 0.048935317,
+ "styled": 1.1187215,
+ "##frame": 0.45831364,
+ "during": 0.114479564,
+ "##l": 1.4238538,
+ "type": 0.0763273,
+ "java": 1.0152738,
+ "peg": 0.5448062,
+ "##s": 0.3348251,
+ "grammar": 0.18785663,
+ "styling": 0.6841753,
+ "##v": 1.1708363,
+ "notation": 0.5088152,
+ "xml": 0.3384307,
+ "jan": 0.31801945,
+ "merge": 1.5271391,
+ "record": 0.14500816,
+ "rank": 0.27837268,
+ "##space": 1.2764267,
+ "jerry": 0.35897446,
+ "text": 0.13408068,
+ "flow": 0.0066355364,
+ "algorithm": 0.58713335,
+ "similar": 0.033758033,
+ "merging": 0.2658105,
+ "using": 0.010863685,
+ "%": 0.59560245,
+ "gene": 0.34329838,
+ "'": 0.5082697,
+ "index": 0.64007825,
+ "is": 1.0041039,
+ "inspired": 0.038078137,
+ "analysis": 0.13772032,
+ "-": 0.17186913,
+ "script": 0.33101648,
+ "tags": 0.7741205,
+ "quality": 0.15818502,
+ "/": 4.749362E-4,
+ "field": 0.030726112,
+ "binary": 0.23378156,
+ "domain": 0.1060504,
+ "comparisons": 0.71832335,
+ "difference": 0.3606575,
+ "style": 0.8699101,
+ "styles": 0.04884064,
+ "math": 0.5604257,
+ "jude": 0.15178116,
+ "status": 0.51444644,
+ "compare": 0.79184854,
+ "statistical": 0.20905629,
+ "miscellaneous": 0.333714,
+ "##type": 0.02646253,
+ "pattern": 0.23909414,
+ "mid": 0.033831906,
+ "matrix": 0.1757838,
+ "virus": 0.20208745,
+ "matching": 0.18519637,
+ "unknown": 0.06722098,
+ "result": 0.889041,
+ "##arat": 0.78046876,
+ "file": 0.5259795,
+ "composed": 0.18189354,
+ "si": 0.1676248,
+ "vector": 0.11885344,
+ "[": 0.49481478,
+ "fred": 0.38351166,
+ "attribute": 0.0063864663,
+ "equality": 0.3530912,
+ "]": 0.1499962,
+ "graphic": 0.017353132,
+ "table": 0.34210074,
+ "sep": 0.45165962,
+ "_": 0.28455666,
+ "ss": 0.11182744,
+ "include": 0.90529096,
+ "editor": 0.43163174,
+ "contain": 0.29899827,
+ "d": 0.18466142,
+ "heading": 0.35285166,
+ "column": 0.36036956,
+ "##dicate": 1.6357176,
+ "consolidation": 0.10108813,
+ "sample": 0.050832413,
+ "cs": 1.3041791,
+ "excel": 0.36273,
+ "s": 0.12818609,
+ "v": 0.29318067,
+ "organized": 0.14573911,
+ "report": 0.09926662,
+ "cod": 0.45200413,
+ "|": 0.24512051,
+ "da": 0.24457113,
+ "entity": 0.02570216,
+ "font": 0.2441213,
+ "ass": 0.23868999,
+ "standard": 0.121015005,
+ "dd": 0.09129564,
+ "esq": 1.8898847,
+ "data": 0.5546353,
+ "dh": 0.44221127,
+ "dice": 0.110023476,
+ "anne": 0.49882203,
+ "source": 1.0423818,
+ "specifications": 0.5794066,
+ "spec": 1.630106,
+ "space": 0.6484907,
+ "operator": 0.09268644,
+ "ds": 1.1409677,
+ "zero": 0.012890818,
+ "apache": 0.24154533,
+ "continuous": 0.7917723,
+ "intersection": 0.1676133,
+ "html": 0.5466394,
+ "tag": 1.0380476,
+ "buffer": 0.12484617,
+ "results": 0.30658567,
+ "ed": 0.63931364,
+ "combination": 0.057341967,
+ "combine": 0.04729798,
+ "which": 0.15726401,
+ "par": 0.018011464,
+ "dedicated": 0.3486957,
+ "pre": 1.031217,
+ "comparison": 1.4770622,
+ "including": 0.38049063,
+ "chess": 0.18249056,
+ "##ative": 0.014773493,
+ "format": 1.0985363,
+ "eric": 0.14418773,
+ "archive": 0.20085628,
+ "sort": 0.23490256,
+ "list": 0.0798342,
+ "sha": 0.28570068,
+ "discrete": 1.854426,
+ "core": 0.30843365,
+ "jamie": 0.15300302,
+ "sequence": 0.06953554,
+ "null": 2.2103627,
+ "alan": 0.15879035,
+ "lists": 0.10555688,
+ "header": 1.1115732,
+ "lisa": 0.15396027,
+ "dash": 0.12969954,
+ "vs": 0.03197418,
+ "blank": 0.5994513,
+ "legacy": 0.504574,
+ "formats": 0.29500368,
+ "code": 0.22984919,
+ "string": 0.16141866,
+ "sources": 0.10482999,
+ "gil": 0.25577375,
+ "non": 0.81320435,
+ "error": 0.44251275,
+ "interface": 0.04050811,
+ "percent": 0.1211071,
+ "sid": 0.7520162,
+ "sql": 0.51792693,
+ "mono": 1.1593287,
+ "##dication": 0.2661342,
+ "not": 1.2140143,
+ "database": 0.52981323,
+ "synonym": 0.16524169,
+ "array": 0.08377173,
+ "similarity": 0.18966892,
+ "bland": 0.46061602,
+ "lang": 0.15133071,
+ "class": 0.65888166,
+ "value": 0.029027052,
+ "citation": 0.20887193,
+ "spelling": 0.19353479,
+ "match": 0.09431279,
+ "length": 0.09347226,
+ "specification": 0.6844293,
+ "separated": 0.021867821,
+ "label": 0.22652604,
+ "serial": 0.5557327,
+ "syntax": 0.698363,
+ "pub": 0.19479062,
+ "category": 0.13604586,
+ "mark": 0.12399912
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-predicates]]\n=== `IS NULL` and `IS NOT NULL` predicates\n\nFor NULL comparison, use the `IS NULL` and `IS NOT NULL` predicates:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/null.csv-spec[tag=is-null]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/null.csv-spec[tag=is-null-result]\n|===\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/null.csv-spec[tag=is-not-null]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/null.csv-spec[tag=is-not-null-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "5e643f66-f9a9-4d86-bd37-b50c347c5140",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/replace.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.034855552,
+ "##d": 0.6880865,
+ "functions": 0.5400248,
+ "##ng": 0.8190373,
+ "styled": 1.2039374,
+ "##l": 1.4914657,
+ "java": 0.8643169,
+ "##s": 0.19334254,
+ "styling": 0.58577293,
+ "##v": 1.2294549,
+ "notation": 0.4025842,
+ "xml": 0.28997552,
+ "jan": 0.02469317,
+ "merge": 1.5822473,
+ "lexi": 0.0022622964,
+ "cosmic": 0.5993801,
+ "\"": 0.7904518,
+ "merging": 0.20213819,
+ "%": 0.845791,
+ "tex": 0.08783588,
+ "'": 0.26919875,
+ "(": 0.15107901,
+ "inspired": 0.23422778,
+ "analysis": 0.055817675,
+ "-": 0.3851257,
+ "tags": 0.70681006,
+ "2": 0.3021724,
+ "3": 0.18218867,
+ "re": 0.058362868,
+ "science": 0.17425865,
+ "except": 0.11192817,
+ "=": 0.1633974,
+ "functional": 0.12778793,
+ "worlds": 0.9287521,
+ "miscellaneous": 0.33671,
+ "document": 0.5259542,
+ "another": 0.17181271,
+ "mid": 0.20905282,
+ "global": 0.3637463,
+ "matrix": 0.15501583,
+ "virus": 0.3014386,
+ "matching": 1.0336258,
+ "example": 1.004066,
+ "result": 1.0936481,
+ "into": 0.018789519,
+ "characters": 0.008393961,
+ "##or": 0.042056013,
+ "[": 0.96734333,
+ "fred": 0.51689583,
+ "galaxy": 0.8235992,
+ "]": 0.54179025,
+ "sep": 0.5409048,
+ "_": 0.34378386,
+ "`": 0.08038843,
+ "expression": 1.3338856,
+ "contain": 0.121321365,
+ "c": 0.07037776,
+ "d": 0.254244,
+ "replaces": 0.8236242,
+ "words": 0.95005655,
+ "replaced": 1.0460057,
+ "cs": 1.3264607,
+ "v": 0.1155996,
+ "collaboration": 0.027892971,
+ "##uation": 0.19695209,
+ "|": 0.5356258,
+ "da": 0.5140407,
+ "}": 0.35487875,
+ "thing": 0.034844387,
+ "font": 0.28035876,
+ "dd": 0.18453188,
+ "ass": 0.168339,
+ "dh": 0.3809197,
+ "anne": 0.515752,
+ "language": 0.25442684,
+ "source": 0.762413,
+ "specifications": 0.6075931,
+ "operator": 0.09549333,
+ "ds": 1.0933107,
+ "zero": 0.34479535,
+ "apache": 0.03232477,
+ "duck": 0.16623758,
+ "results": 0.34175158,
+ "ed": 0.70799947,
+ "par": 0.2911067,
+ "eh": 0.038294196,
+ "replacing": 0.9540651,
+ "expressions": 0.46531826,
+ "sha": 0.28887597,
+ "discrete": 1.9001205,
+ "##tri": 1.2910978,
+ "parameters": 0.31797278,
+ "formats": 0.39766374,
+ "blank": 0.34963802,
+ "string": 1.2307599,
+ "import": 0.20945925,
+ "##world": 0.929388,
+ "interface": 0.14939055,
+ "##son": 0.046787668,
+ "life": 0.1790855,
+ "redundant": 0.14068936,
+ "remove": 0.0016994333,
+ "sid": 0.398835,
+ "mono": 1.2695209,
+ "bland": 0.20153408,
+ "class": 0.3855334,
+ "mask": 0.2426053,
+ "cipher": 0.24834107,
+ "spelling": 0.31147105,
+ "citation": 0.14571284,
+ "mundo": 0.20224902,
+ "specification": 0.82028383,
+ "with": 0.09376405,
+ "universe": 1.7411581,
+ "translation": 0.38905418,
+ "syntax": 0.89735115,
+ "pub": 0.19451469,
+ "mark": 0.089323945,
+ "galaxies": 0.32566604,
+ "fancy": 0.3004553,
+ "pun": 0.20578054,
+ "gage": 0.008816837,
+ "program": 0.4195993,
+ "during": 0.1335885,
+ "peg": 0.64442134,
+ "grammar": 0.36731088,
+ "##space": 1.3716537,
+ "mimic": 0.39055032,
+ "text": 0.5041582,
+ "jerry": 0.4937688,
+ "flow": 0.043505084,
+ "algorithm": 0.47529155,
+ "sky": 0.45031318,
+ "gene": 0.4037366,
+ "index": 0.18298626,
+ "matches": 0.81384313,
+ "script": 0.5132905,
+ "doc": 1.2766039,
+ "style": 0.85933274,
+ "math": 0.62807864,
+ "word": 0.6039193,
+ "jude": 0.24236304,
+ "pattern": 0.7066153,
+ "irregular": 0.46698272,
+ "occurrence": 1.0925528,
+ "substitute": 1.4114945,
+ "##arat": 0.8769975,
+ "world": 1.7495983,
+ "file": 0.502481,
+ "composed": 0.30979592,
+ "regular": 1.5932345,
+ "include": 0.75993603,
+ "editor": 0.6018525,
+ "continuum": 0.7701631,
+ "change": 0.31763452,
+ "2nd": 0.3529809,
+ "cosmos": 0.10705375,
+ "consolidation": 0.10669906,
+ "excel": 0.2646379,
+ "cod": 0.50814164,
+ "checkpoint": 0.07324024,
+ "esq": 1.9777325,
+ "argument": 1.2231572,
+ "instance": 0.37049177,
+ "data": 0.1510412,
+ "replace": 1.664782,
+ "dice": 0.2399746,
+ "celestial": 0.3060445,
+ "spec": 1.6972747,
+ "space": 0.66930026,
+ "translate": 0.4726321,
+ "second": 0.17765601,
+ "plain": 0.14085536,
+ "function": 1.4948381,
+ "continuous": 0.74678046,
+ "html": 0.45541802,
+ "lap": 0.28483024,
+ "tag": 1.0254391,
+ "expressed": 0.22515815,
+ "combine": 0.3432072,
+ "including": 0.1996729,
+ "3rd": 0.6177941,
+ "swap": 0.10409731,
+ "substitutes": 1.1624173,
+ "created": 0.45593652,
+ "format": 1.1236968,
+ "mu": 0.101094276,
+ "archive": 0.31965846,
+ "core": 0.3866592,
+ "jamie": 0.2906774,
+ "sequence": 0.20177943,
+ "null": 1.8107407,
+ "substituted": 0.36398962,
+ "header": 1.0438231,
+ "dash": 0.0032272658,
+ "replacement": 1.470599,
+ "substitution": 0.73324203,
+ "code": 0.16003416,
+ "legacy": 0.13599382,
+ "boo": 0.12937458,
+ "blend": 0.02179574,
+ "gil": 0.35278565,
+ "error": 0.54587996,
+ "percent": 0.30352396,
+ "sql": 0.49957263,
+ "nonsense": 0.122417524,
+ "para": 0.05291419,
+ "array": 0.053209137,
+ "parameter": 0.06882994,
+ "craig": 0.08705173,
+ "said": 0.017954443,
+ "match": 1.3823216,
+ "any": 0.30828914,
+ "command": 0.04315737,
+ "third": 0.4098546,
+ "serial": 0.14411715,
+ "earth": 0.5293731,
+ "arguments": 1.0839615,
+ "category": 0.080956645
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-replace]]\n=== `REPLACE`\nThe function substitutes in the string (1st argument) any match of the regular expression (2nd argument) with the replacement string (3rd argument).\n\nIf any of the arguments are `NULL`, the result is `NULL`.\n\n. This example replaces an occurrence of the word \"World\" with the word \"Universe\":\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=replaceString]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=replaceString-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "6b02022f-31bd-4dbc-bc21-12f0ed89494f",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/right.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.08173954,
+ "##c": 0.42885253,
+ "functions": 0.8536141,
+ "##d": 0.6074652,
+ "##g": 0.947547,
+ "fin": 0.1544074,
+ "styled": 1.0364372,
+ "alphabet": 0.23345804,
+ "##frame": 0.10407356,
+ "##l": 1.4970101,
+ "extracted": 0.54563314,
+ "elmer": 0.35636324,
+ "java": 0.7943966,
+ "##s": 0.14639352,
+ "styling": 0.6345335,
+ "##v": 1.2710627,
+ "jan": 0.1472991,
+ "xml": 0.05738733,
+ "retrieval": 0.028265385,
+ "merge": 1.5876297,
+ "merging": 0.1171655,
+ "%": 0.5463217,
+ "tex": 0.046960115,
+ "'": 0.51475984,
+ "(": 0.005390276,
+ "inspired": 0.02096726,
+ "analysis": 0.09911008,
+ "-": 0.08924719,
+ "tags": 0.3166039,
+ "/": 0.27466622,
+ "as": 0.3758132,
+ "cue": 0.07044598,
+ "left": 0.20588629,
+ "unicode": 0.008552826,
+ "extracts": 0.86513555,
+ "starting": 0.69459784,
+ "compression": 0.05247201,
+ "sub": 1.0241762,
+ "functional": 0.10132935,
+ "miscellaneous": 0.10139592,
+ "document": 0.2502099,
+ "matrix": 0.124904454,
+ "virus": 0.11158725,
+ "long": 0.5729621,
+ "matching": 0.040489223,
+ "result": 0.8804743,
+ "characters": 0.46835047,
+ "vector": 0.52029955,
+ "[": 0.53646755,
+ "fred": 0.5281438,
+ "embedded": 1.4415003,
+ "graphic": 0.80783784,
+ "sep": 0.327506,
+ "_": 0.3210148,
+ "sami": 0.1877599,
+ "`": 0.17206356,
+ "sv": 1.1962359,
+ "column": 0.43520078,
+ "right": 1.643207,
+ "sample": 0.0507616,
+ "cs": 1.363875,
+ "v": 0.08084428,
+ "collaboration": 0.037730254,
+ "##uation": 0.038544737,
+ "returned": 0.7357193,
+ "|": 0.23794766,
+ "}": 0.23664801,
+ "da": 0.112628944,
+ "supported": 0.70320016,
+ "font": 0.533414,
+ "ass": 0.29878652,
+ "dd": 0.012376648,
+ "standard": 0.007938383,
+ "symbol": 0.06970633,
+ "dh": 0.3039518,
+ "anne": 0.7256836,
+ "retrieved": 0.4764714,
+ "source": 0.5498828,
+ "specifications": 0.57581323,
+ "ds": 1.0730115,
+ "apache": 0.13101152,
+ "segment": 0.03285601,
+ "results": 0.1364708,
+ "ed": 0.5572937,
+ "par": 0.07218696,
+ "image": 0.89360404,
+ "sha": 0.43667102,
+ "##ca": 0.060888924,
+ "discrete": 1.8729066,
+ "opt": 1.4050612,
+ "extract": 1.4100289,
+ "fields": 0.07729437,
+ "support": 0.30656752,
+ "coin": 0.15643522,
+ "opted": 0.41222024,
+ "formats": 0.3271519,
+ "string": 1.5754784,
+ "import": 0.17459458,
+ "video": 0.048874244,
+ "interface": 0.31678376,
+ "##son": 0.024980512,
+ "remove": 0.29996136,
+ "sid": 0.6391343,
+ "mono": 0.9860566,
+ "##st": 1.1538577,
+ "plot": 0.015041034,
+ "##ci": 1.3263994,
+ "class": 0.13936016,
+ "mask": 0.28807944,
+ "cipher": 0.30057994,
+ "digital": 0.009523083,
+ "types": 1.1983157,
+ "center": 0.89280874,
+ "length": 1.8127487,
+ "specification": 0.71832484,
+ "scribe": 0.050729986,
+ "print": 0.05162464,
+ "syntax": 0.2735543,
+ "pub": 0.23621313,
+ "mark": 0.07434178,
+ "merger": 0.07191132,
+ "fancy": 0.2311539,
+ "software": 0.27102414,
+ "gage": 0.27925792,
+ "pun": 0.03338616,
+ "during": 0.15368778,
+ "type": 0.91974324,
+ "signatures": 0.59791565,
+ "peg": 0.7992927,
+ "slice": 0.02807427,
+ "##space": 0.9904787,
+ "text": 1.0277436,
+ "jerry": 0.41482598,
+ "flow": 0.03641521,
+ "algorithm": 0.5999642,
+ "images": 0.22309348,
+ "method": 0.0712125,
+ "gene": 0.37059274,
+ "index": 0.65430135,
+ "signed": 0.5368809,
+ "swiss": 0.034831952,
+ "extraction": 0.56438637,
+ "script": 0.49047014,
+ "style": 0.8516584,
+ "math": 0.44282684,
+ "jude": 0.09416188,
+ "template": 0.21776871,
+ "longest": 0.48333606,
+ "flag": 0.08181929,
+ "signature": 1.5067271,
+ "jp": 0.36104527,
+ "pattern": 0.4414664,
+ "stamp": 0.010373838,
+ "##ring": 1.2696179,
+ "sequences": 0.23042072,
+ "##arat": 0.58939505,
+ "file": 0.7617295,
+ "composed": 0.010605994,
+ "julia": 0.010763801,
+ "eddy": 0.10521571,
+ "copy": 0.04477801,
+ "include": 0.8321495,
+ "editor": 0.65936905,
+ "mat": 0.047374956,
+ "heading": 0.0763304,
+ "display": 0.40929607,
+ "##id": 0.5476748,
+ "consolidation": 0.0809883,
+ "excel": 0.20489806,
+ "fetch": 0.28120473,
+ "char": 1.404884,
+ "cod": 0.23206115,
+ "return": 0.8734262,
+ "discreet": 0.031751785,
+ "checkpoint": 0.3324661,
+ "esq": 2.1424656,
+ "data": 0.35476705,
+ "sign": 0.42142978,
+ "spec": 1.6539015,
+ "space": 0.44098952,
+ "protocol": 0.02032559,
+ "function": 1.0122172,
+ "continuous": 0.6955359,
+ "logo": 0.14922771,
+ "html": 0.5037837,
+ "lap": 0.23209877,
+ "tag": 0.92855954,
+ "buffer": 0.29080102,
+ "including": 0.36150634,
+ "format": 1.0655298,
+ "capture": 0.23567617,
+ "##ido": 1.5849645,
+ "archive": 0.4608753,
+ "sort": 0.18871675,
+ "tool": 0.19315948,
+ "sequence": 0.44574633,
+ "core": 0.4060825,
+ "jamie": 0.31137675,
+ "##ida": 0.30042732,
+ "header": 1.1225355,
+ "retrieve": 0.6636502,
+ "code": 0.18559627,
+ "blend": 0.068836056,
+ "cad": 0.720449,
+ "roc": 0.08470205,
+ "gil": 0.2733515,
+ "percent": 0.08888983,
+ "para": 0.23294745,
+ "array": 0.1467619,
+ "##lib": 0.059473153,
+ "keyboard": 0.19672073,
+ "command": 0.06767362,
+ "inline": 1.3973578,
+ "lengths": 0.78725874,
+ "serial": 0.7065623
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-right]]\n=== `RIGHT`\n[.text-center]\nimage::esql/functions/signature/right.svg[Embedded,opts=inline]\n\nReturn the substring that extracts 'length' chars from the 'string' starting from the right.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=right]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=right-result]\n|===\n\nSupported types:\n\ninclude::types/right.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "dc470cb0-ed9b-4822-82af-ab08dc2a3ad4",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/rlike.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.026595451,
+ "##ex": 1.4114281,
+ "software": 0.30159733,
+ "##j": 0.66006196,
+ "del": 0.012768538,
+ "alphabet": 0.082857326,
+ "##l": 1.2878472,
+ "##p": 1.0502049,
+ "robot": 0.14381026,
+ "##r": 0.4041944,
+ "java": 1.1322412,
+ "peg": 0.6174615,
+ "filtered": 0.29348874,
+ "corner": 0.2225645,
+ "len": 0.1699255,
+ "notation": 0.1074808,
+ "jerry": 0.08032045,
+ "filtering": 1.1267682,
+ "manipulation": 0.17852035,
+ "loren": 0.002522622,
+ "algorithm": 0.7225057,
+ "based": 0.4821579,
+ "using": 0.4113145,
+ "gene": 0.40554616,
+ "'": 0.12792851,
+ "index": 0.3810921,
+ "*": 0.32533488,
+ "analysis": 0.14434376,
+ "-": 0.22618002,
+ "##like": 1.9110805,
+ "script": 0.44957075,
+ "solomon": 0.07402212,
+ "node": 0.024463449,
+ "field": 1.0702615,
+ "left": 1.0164032,
+ "anal": 0.003917996,
+ "analyze": 0.13067129,
+ "ax": 0.078705646,
+ "math": 0.49097282,
+ "placement": 0.13222057,
+ "ro": 0.22953843,
+ "hash": 0.051818553,
+ "server": 0.16828197,
+ "##jas": 0.42634618,
+ "##vin": 0.3165866,
+ "pattern": 1.7223294,
+ "save": 0.040627502,
+ "facing": 0.16738957,
+ "##ha": 0.15445632,
+ "##jan": 0.011462545,
+ "irregular": 0.53549564,
+ "sequences": 0.41227233,
+ "literal": 1.0233259,
+ "example": 0.019739496,
+ "remember": 0.10617391,
+ "search": 0.3762613,
+ "computer": 0.10696667,
+ "file": 0.26557067,
+ "strings": 0.2008121,
+ "operators": 0.88702035,
+ "russell": 0.3881044,
+ "surname": 0.33905283,
+ "where": 0.44681278,
+ "vector": 0.22918804,
+ "fred": 0.3830117,
+ "[": 0.20048262,
+ "workers": 0.7859375,
+ "]": 0.00578432,
+ "regular": 1.466655,
+ "hand": 0.64356005,
+ "_": 0.5988062,
+ "sami": 0.0030712362,
+ "`": 0.10241696,
+ "editor": 0.74838734,
+ "side": 1.1204609,
+ "expression": 1.1379585,
+ "keeping": 0.29891014,
+ "more": 0.09753229,
+ "display": 0.047875423,
+ "spirit": 0.60761666,
+ "representing": 0.12573591,
+ "right": 0.7828777,
+ "l": 0.3862901,
+ "nice": 0.2735744,
+ "filter": 1.7328662,
+ "excel": 0.31639272,
+ "r": 1.7705563,
+ "names": 0.35224015,
+ "machine": 0.23455547,
+ "le": 1.1220784,
+ "cod": 0.1711893,
+ "z": 0.028965794,
+ "paul": 0.09628854,
+ "operation": 0.48288605,
+ "first": 0.24843583,
+ "represent": 0.65597075,
+ "ass": 0.21992478,
+ "checkpoint": 0.13593556,
+ "symbol": 0.32898045,
+ "esq": 1.8495735,
+ "panda": 0.019640729,
+ "constant": 0.8625819,
+ "data": 1.2196656,
+ "perfect": 0.21615873,
+ "use": 0.31440526,
+ "dj": 0.0026245217,
+ "##ja": 1.7587295,
+ "anne": 0.31350008,
+ "nur": 0.04420562,
+ "##je": 0.6868655,
+ "employee": 1.0886972,
+ "blog": 0.0032122938,
+ "operator": 1.4906704,
+ "mode": 0.06851096,
+ "act": 0.5462709,
+ "apache": 0.22612278,
+ "tab": 0.10048898,
+ "reg": 1.4544587,
+ "function": 0.16175254,
+ "implement": 0.24782006,
+ "ed": 0.58486557,
+ "par": 0.13434982,
+ "which": 0.03388976,
+ "chess": 0.24684525,
+ "mp": 0.07049486,
+ "last": 0.65484494,
+ "like": 1.2649349,
+ "initials": 0.34816286,
+ "patterns": 1.4734046,
+ "archive": 0.12361952,
+ "sort": 0.5155999,
+ "expressions": 0.67998797,
+ "tool": 0.15817596,
+ "tutor": 0.12875809,
+ "core": 0.38040295,
+ "sequence": 0.15578377,
+ "disk": 0.36069068,
+ "##word": 0.080718815,
+ "##jo": 0.16452588,
+ "keep": 0.7854748,
+ "colleagues": 0.23666881,
+ "name": 0.46872872,
+ "disc": 1.3120217,
+ "##ju": 0.13806158,
+ "employees": 1.1529236,
+ "fields": 0.72051555,
+ "useful": 0.16444771,
+ "code": 0.21071233,
+ "boo": 0.10661334,
+ "string": 1.4183111,
+ "##eti": 0.5287978,
+ "import": 0.17449185,
+ "student": 0.119840644,
+ "bot": 0.52726823,
+ "blend": 0.12155807,
+ "roc": 0.20047677,
+ "##ete": 1.3017839,
+ "link": 0.047398943,
+ "interface": 0.16366616,
+ "representation": 0.34173208,
+ "remove": 0.6000388,
+ "sid": 0.5415345,
+ "sql": 0.4294506,
+ "database": 0.15254791,
+ "sorting": 0.028803768,
+ "class": 0.4708021,
+ "mask": 0.4413174,
+ "direction": 0.110900044,
+ "cipher": 0.36984485,
+ "keyboard": 0.25036934,
+ "control": 0.07781229,
+ "filters": 1.0673875,
+ "command": 0.298685,
+ "##ress": 0.34069854,
+ "serial": 0.35018307,
+ "motifs": 0.4849439,
+ "poly": 0.056963675,
+ "syntax": 1.1423628,
+ "user": 0.18872681
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discete]\n[[esql-rlike-operator]]\n==== `RLIKE`\n\nUse `RLIKE` to filter data based on string patterns using using\n<>. `RLIKE` usually acts on a field placed on\nthe left-hand side of the operator, but it can also act on a constant (literal)\nexpression. The right-hand side of the operator represents the pattern.\n\n[source,esql]\n----\nFROM employees\n| WHERE first_name RLIKE \".leja.*\"\n| KEEP first_name, last_name\n----"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "280322a0-075e-481f-80a1-e8a605206661",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/round.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.08508522,
+ "fancy": 0.1794485,
+ "mod": 0.21284278,
+ "##d": 0.5430566,
+ "gage": 0.36384174,
+ "pun": 0.24848947,
+ "arithmetic": 0.39743993,
+ "fin": 0.4217027,
+ "styled": 0.9592719,
+ "##frame": 0.23994835,
+ "alphabet": 0.025886063,
+ "##l": 1.491055,
+ "fingers": 0.028266545,
+ "type": 0.01385958,
+ "division": 0.06890705,
+ "number": 1.0177252,
+ "java": 0.8327599,
+ "peg": 0.5225526,
+ "##s": 9.455977E-4,
+ "styling": 0.5365777,
+ "len": 0.28135058,
+ "##v": 1.2350746,
+ "notation": 0.7069961,
+ "xml": 0.29857147,
+ "jan": 0.13411976,
+ "merge": 1.4665549,
+ "rank": 0.01688474,
+ "##space": 1.0106906,
+ "jerry": 0.42840663,
+ "near": 0.20612262,
+ "text": 0.08071486,
+ "algorithm": 0.8490647,
+ "shape": 0.3967011,
+ "method": 0.1632432,
+ "%": 0.6680256,
+ "gene": 0.2543601,
+ "tex": 0.07858664,
+ "'": 0.23652211,
+ "specify": 0.74620676,
+ "index": 0.53624153,
+ "circular": 0.31083736,
+ "-": 0.37805295,
+ "script": 0.13752803,
+ "tags": 0.43542725,
+ "0": 1.176311,
+ "provide": 0.34592018,
+ "size": 0.20794107,
+ "left": 0.65405273,
+ "determined": 0.11107459,
+ "doc": 1.1751311,
+ "rounded": 0.6251999,
+ "style": 0.79469043,
+ "math": 0.95077187,
+ "=": 0.3285054,
+ "minus": 0.61232835,
+ "statistical": 0.023775361,
+ "document": 0.49854365,
+ "pattern": 0.26924273,
+ "specified": 0.72006935,
+ "result": 0.9229947,
+ "##arat": 0.6478911,
+ "characters": 0.34665206,
+ "into": 0.037023436,
+ "default": 1.4995207,
+ "file": 0.3302974,
+ "composed": 0.12021089,
+ "term": 0.3903601,
+ "where": 0.026167486,
+ "[": 0.9766855,
+ "fred": 0.28272572,
+ "multiplication": 0.2457645,
+ "eddy": 0.032072894,
+ "]": 0.5614186,
+ "close": 0.48919234,
+ "_": 0.46719882,
+ "sep": 0.19651537,
+ "cc": 0.16693904,
+ "include": 0.38481402,
+ "editor": 0.38248983,
+ "d": 0.42644447,
+ "heading": 0.041722775,
+ "display": 0.10751516,
+ "column": 0.4927444,
+ "rounding": 1.0066344,
+ "consolidation": 0.061847046,
+ "fraction": 0.13949008,
+ "cs": 1.4060612,
+ "excel": 0.48793462,
+ "v": 0.27994645,
+ "isa": 0.10265162,
+ "##uation": 0.24870387,
+ "cod": 0.16147657,
+ "digits": 1.2127681,
+ "to": 0.30081564,
+ "|": 0.31275144,
+ "operation": 0.2832196,
+ "certain": 0.16556622,
+ "chart": 0.15364014,
+ "da": 0.0029370526,
+ "rounds": 1.56033,
+ "mathematical": 0.054495856,
+ "font": 0.049107164,
+ "calculation": 0.30479097,
+ "checkpoint": 0.25483438,
+ "ass": 0.18915305,
+ "dd": 0.11947057,
+ "standard": 0.037731975,
+ "symbol": 0.124034606,
+ "esq": 1.939724,
+ "dh": 0.31104115,
+ "data": 0.09626873,
+ "precision": 0.37647444,
+ "numbers": 0.73113936,
+ "dice": 0.377225,
+ "anne": 0.555418,
+ "integer": 0.7057204,
+ "nearest": 1.0149095,
+ "specifications": 0.5720374,
+ "spec": 1.7546088,
+ "space": 0.2984853,
+ "operator": 0.19911526,
+ "trial": 0.0873158,
+ "ds": 1.0371021,
+ "zero": 0.93550384,
+ "apache": 0.22348939,
+ "tab": 0.012726049,
+ "continuous": 0.7247755,
+ "function": 0.15658037,
+ "segment": 0.05711568,
+ "lap": 0.4406559,
+ "html": 0.39057902,
+ "tag": 0.89472324,
+ "results": 0.3297647,
+ "digit": 0.8953407,
+ "ed": 0.8147326,
+ "tower": 0.08761879,
+ "which": 0.17192273,
+ "par": 0.120643355,
+ "chess": 0.3023837,
+ "format": 1.1148587,
+ "batch": 0.23028864,
+ "archive": 0.116947904,
+ "sort": 0.55692095,
+ "sha": 0.21297815,
+ "discrete": 1.932392,
+ "square": 0.99170417,
+ "sequence": 0.3355525,
+ "core": 0.15810645,
+ "jamie": 0.14986794,
+ "unit": 0.107608624,
+ "expand": 0.06512223,
+ "geometric": 0.2769007,
+ "header": 1.0258825,
+ "files": 0.06383604,
+ "decimal": 1.427085,
+ "dash": 0.120742775,
+ "coin": 0.11528872,
+ "no": 0.21327946,
+ "formats": 0.33286056,
+ "code": 0.021372017,
+ "distance": 0.3158735,
+ "provided": 0.7835906,
+ "shaped": 0.2965126,
+ "nu": 0.18188499,
+ "rule": 0.20599583,
+ "gil": 0.50999284,
+ "error": 0.026111858,
+ "percent": 0.2568489,
+ "point": 0.46244282,
+ "wave": 0.11894479,
+ "sid": 0.61039144,
+ "sql": 0.3819582,
+ "mono": 0.9521469,
+ "numerical": 0.1988029,
+ "negative": 1.4329437,
+ "repeat": 0.08138037,
+ "definition": 0.020134237,
+ "##lib": 0.11563496,
+ "class": 0.25143746,
+ "value": 0.043044217,
+ "direction": 0.100138426,
+ "match": 0.0416122,
+ "specification": 0.66961354,
+ "specific": 0.18730986,
+ "command": 0.3400264,
+ "with": 0.062207926,
+ "round": 1.946995,
+ "serial": 0.2758273,
+ "syntax": 0.76355207,
+ "pub": 0.16796811,
+ "merger": 0.08640639,
+ "closest": 1.2626033
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-round]]\n=== `ROUND`\nRounds a number to the closest number with the specified number of digits.\nDefaults to 0 digits if no number of digits is provided. If the specified number\nof digits is negative, rounds to the number of digits left of the decimal point.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=round]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=round-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "c8f90cbb-d21e-4f74-92bb-c9eb8717b3fb",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/rtrim.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.3277725,
+ "##d": 0.7109957,
+ "leading": 0.94793683,
+ "del": 0.28209946,
+ "fin": 0.16321759,
+ "styled": 1.173631,
+ "##frame": 0.13436013,
+ "alphabet": 0.088665664,
+ "##l": 1.3049097,
+ "##r": 0.31590626,
+ "character": 0.08296343,
+ "trailing": 1.7423532,
+ "java": 0.6953182,
+ "##s": 0.19411588,
+ "styling": 0.77305996,
+ "len": 0.19273427,
+ "dev": 0.13011672,
+ "trim": 0.059094094,
+ "##v": 1.1514069,
+ "xml": 0.33590472,
+ "notation": 0.24326167,
+ "merge": 1.7124441,
+ "record": 0.0707348,
+ "merging": 0.25044295,
+ "%": 0.9546564,
+ "tex": 0.091158204,
+ "'": 9.0498495E-4,
+ "(": 0.012696034,
+ ")": 0.007697208,
+ "analysis": 0.050666753,
+ "-": 0.15394033,
+ "remaining": 0.37941995,
+ "tags": 0.5256276,
+ "/": 0.08389264,
+ "cue": 0.17844416,
+ "as": 0.14245656,
+ "stop": 0.062298544,
+ "compression": 0.38409057,
+ "##rra": 0.14798878,
+ "##ram": 0.09418933,
+ "rt": 1.8477076,
+ "miscellaneous": 0.28390458,
+ "##ler": 0.33510873,
+ "eliminate": 0.6539179,
+ "virus": 0.2475168,
+ "result": 0.9544273,
+ "characters": 0.31855768,
+ "sd": 0.02525789,
+ "##or": 0.063773625,
+ "encryption": 0.23906654,
+ "blocking": 0.20196638,
+ "vector": 0.04801189,
+ "[": 0.9939656,
+ "fred": 0.38681078,
+ "]": 0.52849317,
+ "sep": 0.558177,
+ "_": 0.54594445,
+ "ss": 0.08043793,
+ "chip": 0.08782343,
+ "contain": 0.25889695,
+ "d": 0.33607712,
+ "column": 0.17740846,
+ "suppress": 0.5587057,
+ "sample": 0.089838184,
+ "cs": 1.3209012,
+ "wipe": 0.06580534,
+ "r": 0.35153356,
+ "bug": 0.25607583,
+ "##uation": 0.28405967,
+ "|": 0.38438872,
+ "da": 0.5478874,
+ "operation": 0.26034075,
+ "}": 0.18636404,
+ "font": 0.48479274,
+ "ass": 0.3769665,
+ "dd": 0.058380634,
+ "dh": 0.29740393,
+ "##ri": 0.19903076,
+ "anne": 0.40590623,
+ "source": 0.29538694,
+ "specifications": 0.6077151,
+ "operator": 0.318858,
+ "ds": 1.1666121,
+ "apache": 0.38105002,
+ "white": 0.44164363,
+ "exclude": 0.29956618,
+ "results": 0.31598067,
+ "ed": 0.6504668,
+ "which": 0.15927324,
+ "par": 0.15212923,
+ "faded": 0.24560459,
+ "chess": 0.10735542,
+ "encoding": 0.18771565,
+ "sha": 0.31197974,
+ "discrete": 1.9664098,
+ "extract": 0.14831494,
+ "spaces": 0.5916451,
+ "formats": 0.28069454,
+ "string": 1.1796365,
+ "video": 0.264695,
+ "interface": 0.30349666,
+ "##son": 0.043293457,
+ "remove": 1.2769499,
+ "sid": 0.8232767,
+ "mono": 1.1505495,
+ "prevent": 0.1608691,
+ "button": 0.085280195,
+ "class": 0.28477404,
+ "##com": 0.62476397,
+ "mask": 0.541673,
+ "cipher": 0.4646107,
+ "digital": 0.19819462,
+ "##entation": 0.20968488,
+ "spelling": 0.47325745,
+ "length": 0.3078015,
+ "specification": 0.63624996,
+ "removal": 0.91757715,
+ "syntax": 0.6596739,
+ "mark": 0.15439595,
+ "merger": 0.12253438,
+ "copyright": 0.3598415,
+ "fancy": 0.07264712,
+ "software": 0.18453167,
+ "pun": 0.1818017,
+ "gage": 0.1068649,
+ "during": 0.018471604,
+ "rid": 0.4719375,
+ "peg": 0.71306294,
+ "##space": 1.1997551,
+ "text": 0.077767186,
+ "jerry": 0.023001412,
+ "algorithm": 0.5759855,
+ "reduce": 0.4870789,
+ "method": 0.111828186,
+ "gene": 0.2659219,
+ "index": 0.59114885,
+ "##cing": 0.13528311,
+ "removing": 0.4729166,
+ "script": 0.3741585,
+ "style": 0.93227607,
+ "math": 0.12244832,
+ "flag": 0.0070235264,
+ "##rim": 2.0174153,
+ "pattern": 0.4554583,
+ "protection": 0.20821495,
+ "sequences": 0.2107469,
+ "layer": 0.15197031,
+ "##arat": 0.872805,
+ "file": 0.748808,
+ "strings": 0.92040795,
+ "composed": 0.26423433,
+ "theme": 0.0015394753,
+ "elimination": 0.16614147,
+ "include": 1.0204571,
+ "editor": 0.70445615,
+ "erase": 0.2618892,
+ "heading": 0.33193678,
+ "display": 0.34038034,
+ "consolidation": 0.15807469,
+ "sharp": 0.26341665,
+ "excel": 0.22631045,
+ "removed": 0.19407739,
+ "organized": 0.21054237,
+ "report": 0.14617282,
+ "cod": 0.1872637,
+ "removes": 0.5184019,
+ "discreet": 0.29508656,
+ "checkpoint": 0.46523756,
+ "esq": 1.8479861,
+ "data": 0.3526558,
+ "dice": 0.51486003,
+ "replace": 0.08371922,
+ "spec": 1.5678412,
+ "space": 1.042138,
+ "mode": 0.026464388,
+ "whites": 1.3195332,
+ "protocol": 0.20000459,
+ "strip": 0.1733028,
+ "tab": 0.2874507,
+ "continuous": 0.90530515,
+ "function": 0.030741025,
+ "html": 0.4607435,
+ "lap": 0.37576866,
+ "tag": 0.9617657,
+ "buffer": 0.47965097,
+ "combine": 0.27909824,
+ "including": 0.53303325,
+ "mr": 0.28501737,
+ "ms": 0.023863828,
+ "##pace": 1.2625833,
+ "format": 1.1355889,
+ "archive": 0.56151235,
+ "includes": 0.15461046,
+ "sort": 0.33845806,
+ "tool": 0.081381135,
+ "core": 0.51692563,
+ "sequence": 0.3830425,
+ "header": 1.1887114,
+ "enforce": 0.18305387,
+ "files": 0.03954077,
+ "code": 0.06615364,
+ "bot": 0.06252321,
+ "blend": 0.008634022,
+ "cad": 0.16115123,
+ "percent": 0.38054162,
+ "sql": 0.047719613,
+ "##lib": 0.29571596,
+ "camouflage": 0.013835949,
+ "said": 0.08761836,
+ "included": 0.28035685,
+ "cleaning": 0.17726399,
+ "keyboard": 0.22039807,
+ "control": 0.18922517,
+ "command": 0.449237,
+ "serial": 0.57775545,
+ "slash": 0.07175766
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-rtrim]]\n=== `RTRIM`\nRemoves trailing whitespaces from strings.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=rtrim]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=rtrim-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "cc5aafba-7df8-4c27-9b86-f82217ff2cb0",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/sin.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "plane": 0.16208439,
+ "cluster": 0.11076806,
+ "fancy": 0.19042332,
+ "##c": 0.36763868,
+ "functions": 0.9021503,
+ "##d": 0.5957196,
+ "software": 0.40082937,
+ "##e": 0.8596107,
+ "##g": 0.70619464,
+ "gage": 0.5906918,
+ "pun": 0.11836397,
+ "fin": 0.12828425,
+ "styled": 0.6613176,
+ "alphabet": 0.3473587,
+ "##l": 1.4595945,
+ "type": 0.79309446,
+ "signatures": 0.5153312,
+ "elmer": 0.27534133,
+ "compatible": 0.12307905,
+ "peg": 0.626203,
+ "java": 0.3268328,
+ "styling": 0.054257073,
+ "##v": 1.0562139,
+ "notation": 0.49836963,
+ "jan": 0.11907168,
+ "merge": 1.2684603,
+ "##ome": 0.13460585,
+ "##metric": 0.07370413,
+ "##space": 0.78792113,
+ "text": 0.99434745,
+ "algorithm": 0.5586943,
+ "images": 0.35319445,
+ "shape": 0.33452645,
+ "gene": 0.3376403,
+ "%": 0.26902896,
+ "'": 0.10412212,
+ "index": 0.47072685,
+ "signed": 0.36027047,
+ "analysis": 0.24006763,
+ "-": 0.15494038,
+ "script": 0.2949688,
+ "tags": 0.22136977,
+ "analog": 0.0471704,
+ "as": 0.5047128,
+ "science": 0.064866416,
+ "integration": 0.3583126,
+ "style": 0.39767158,
+ "math": 1.0251482,
+ "jude": 0.08938445,
+ "bristol": 0.033717003,
+ "template": 0.0604525,
+ "miscellaneous": 0.0739764,
+ "flag": 0.00474909,
+ "signature": 1.5351156,
+ "jp": 0.42362705,
+ "pattern": 0.19858283,
+ "algebra": 0.3848055,
+ "distribution": 0.045699645,
+ "matrix": 0.012210146,
+ "sa": 0.05936981,
+ "##arat": 0.69110966,
+ "result": 0.6640511,
+ "sd": 0.039501008,
+ "file": 0.62779343,
+ "arc": 0.49672973,
+ "composed": 0.0055825757,
+ "si": 0.48630923,
+ "integral": 0.047225095,
+ "physics": 0.23090242,
+ "angle": 0.15572634,
+ "vector": 0.5156393,
+ "wikipedia": 0.7737802,
+ "[": 0.5049658,
+ "fred": 0.3565295,
+ "embedded": 1.1973573,
+ "graphic": 0.760976,
+ "_": 0.37671626,
+ "sep": 0.31160435,
+ "ss": 0.025312401,
+ "include": 0.7825895,
+ "editor": 0.22942689,
+ "website": 0.082129,
+ "sv": 1.0980116,
+ "d": 0.012647538,
+ "display": 0.34118935,
+ "column": 0.118173115,
+ "##id": 0.70110756,
+ "co": 0.9567635,
+ "abbreviation": 0.27715853,
+ "cs": 1.1065671,
+ "excel": 0.25213724,
+ "p": 0.16944219,
+ "##int": 0.29822907,
+ "v": 0.23948142,
+ "##uation": 0.08434033,
+ "geometry": 0.010793401,
+ "|": 0.25826338,
+ "chart": 0.39354736,
+ "}": 0.21896374,
+ "da": 0.1765995,
+ "supported": 0.85790145,
+ "font": 0.4475043,
+ "ratio": 0.25903413,
+ "mathematical": 0.14427587,
+ "ass": 0.20010239,
+ "calculation": 0.17826124,
+ "dd": 0.038699917,
+ "symbol": 0.35292587,
+ "esq": 2.0369258,
+ "data": 0.3385534,
+ "dh": 0.27619833,
+ "##sin": 1.3162466,
+ "precision": 0.10133872,
+ "sign": 0.31009838,
+ "anne": 0.77510583,
+ "source": 0.20679532,
+ "float": 1.1617283,
+ "lab": 0.120682135,
+ "specifications": 0.37917423,
+ "spec": 1.3181627,
+ "space": 0.2573196,
+ "ds": 1.0257367,
+ "function": 1.1093837,
+ "continuous": 0.7942156,
+ "html": 0.49231103,
+ "lap": 0.043240372,
+ "tag": 0.6533354,
+ "ed": 0.69945604,
+ "tan": 0.36374718,
+ "plum": 0.25896412,
+ "image": 0.8628889,
+ "taylor": 0.15530236,
+ "floats": 0.8221997,
+ "including": 0.30870053,
+ "format": 0.8933672,
+ "##ido": 1.5353193,
+ "tri": 1.1272116,
+ "archive": 0.2551714,
+ "sha": 0.08548246,
+ "##ca": 0.19984403,
+ "graph": 0.0689016,
+ "discrete": 1.8254162,
+ "core": 0.63520247,
+ "sequence": 0.21136467,
+ "jamie": 0.12077669,
+ "opt": 1.1659777,
+ "geometric": 0.6056028,
+ "##ida": 0.35251603,
+ "header": 0.80004907,
+ "decimal": 0.0040129856,
+ "fields": 0.0024537712,
+ "support": 0.4047313,
+ "coin": 0.07676735,
+ "##ometric": 1.1650743,
+ "formats": 0.37145704,
+ "code": 0.06877107,
+ "cad": 0.85768044,
+ "provided": 0.0034174868,
+ "gil": 0.5485546,
+ "wave": 0.21743347,
+ "sid": 0.44604805,
+ "mono": 0.8795515,
+ "database": 0.25192764,
+ "wi": 0.19689305,
+ "para": 0.20033589,
+ "plot": 0.20526823,
+ "array": 0.17094646,
+ "##ci": 1.3955991,
+ "floating": 1.0092374,
+ "##gon": 1.3599004,
+ "sin": 2.2183976,
+ "sheet": 0.029789181,
+ "##lib": 0.12793522,
+ "class": 0.38380343,
+ "digital": 0.34356323,
+ "cipher": 0.050706528,
+ "keyboard": 0.0016595651,
+ "types": 1.0649637,
+ "equation": 0.6028279,
+ "center": 0.041376613,
+ "specification": 0.4229491,
+ "inline": 1.1670735,
+ "serial": 0.042660933,
+ "formula": 0.18956804,
+ "online": 0.14929825,
+ "pub": 0.257826
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-sin]]\n=== `SIN`\n[.text-center]\nimage::esql/functions/signature/sin.svg[Embedded,opts=inline]\n\nhttps://en.wikipedia.org/wiki/Sine_and_cosine[Sine] trigonometric function.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/floats.csv-spec[tag=sin]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/floats.csv-spec[tag=sin-result]\n|===\n\nSupported types:\n\ninclude::types/sin.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "68359fda-ffd0-4a87-9942-8f1277b0fd20",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/sinh.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.3100907,
+ "##c": 0.19839573,
+ "functions": 1.001361,
+ "##d": 0.66246194,
+ "software": 0.4328541,
+ "##e": 0.96491456,
+ "##g": 0.8086853,
+ "##h": 1.733198,
+ "gage": 0.46797273,
+ "pun": 0.088498734,
+ "fin": 0.30390888,
+ "styled": 0.7912535,
+ "alphabet": 0.38479033,
+ "##l": 1.4091872,
+ "type": 0.83451116,
+ "signatures": 0.53442675,
+ "elmer": 0.30802336,
+ "compatible": 0.12754557,
+ "peg": 0.5862544,
+ "java": 0.5710066,
+ "styling": 0.20948525,
+ "##v": 1.1361386,
+ "notation": 0.33462796,
+ "merge": 1.2786276,
+ "##space": 0.8458531,
+ "text": 0.9579618,
+ "algorithm": 0.78305805,
+ "images": 0.376282,
+ "shape": 0.19285588,
+ "gene": 0.6110778,
+ "%": 0.42526397,
+ "index": 0.42738694,
+ "signed": 0.4230974,
+ "analysis": 0.32352394,
+ "-": 0.14734724,
+ "script": 0.18255483,
+ "tags": 0.15984368,
+ "/": 0.025213834,
+ "as": 0.5083068,
+ "style": 0.49648938,
+ ":": 0.006022639,
+ "math": 0.837835,
+ "jude": 0.081925504,
+ "bristol": 0.10155554,
+ "template": 0.09081459,
+ "functional": 0.08154838,
+ "racing": 0.37050682,
+ "signature": 1.5202751,
+ "jp": 0.3568034,
+ "pattern": 0.22504556,
+ "monte": 0.1082691,
+ "algebra": 0.029958567,
+ "matrix": 0.34512538,
+ "distribution": 0.15023462,
+ "##arat": 0.664808,
+ "result": 0.64835125,
+ "sd": 0.047585152,
+ "file": 0.5651875,
+ "arc": 0.11515561,
+ "composed": 0.0880766,
+ "si": 0.24134223,
+ "physics": 0.022720728,
+ "vector": 0.69949573,
+ "[": 0.8429325,
+ "wikipedia": 0.6940338,
+ "fred": 0.36325482,
+ "embedded": 1.2411518,
+ "graphic": 0.7133821,
+ "]": 0.12001712,
+ "_": 0.4793225,
+ "sep": 0.2100151,
+ "sami": 0.0068812296,
+ "ss": 0.29541594,
+ "include": 0.87981856,
+ "editor": 0.19745536,
+ "mat": 0.013698146,
+ "chip": 0.048130278,
+ "sv": 1.1247743,
+ "display": 0.18406668,
+ "h": 0.1608753,
+ "spiral": 0.10118747,
+ "column": 0.07238125,
+ "##id": 0.7003588,
+ "abbreviation": 0.13125901,
+ "cs": 1.1697474,
+ "excel": 0.2527393,
+ "p": 0.078869805,
+ "radar": 0.18400282,
+ "##bolic": 1.732611,
+ "polynomial": 0.21423654,
+ "v": 0.11475202,
+ "|": 0.1738679,
+ "}": 0.29472104,
+ "chart": 0.01134398,
+ "supported": 0.8493394,
+ "font": 0.31920233,
+ "mathematical": 0.13472348,
+ "ass": 0.33136848,
+ "calculation": 0.10040812,
+ "symbol": 0.29494706,
+ "esq": 1.9812369,
+ "dh": 0.34404233,
+ "data": 0.16835974,
+ "sign": 0.33332467,
+ "anne": 0.6646355,
+ "source": 0.12852015,
+ "float": 1.1571951,
+ "lab": 0.006929532,
+ "specifications": 0.45701155,
+ "spec": 1.3527218,
+ "space": 0.2870558,
+ "ds": 1.0593591,
+ "luke": 0.07735759,
+ "high": 0.08144333,
+ "function": 1.2728047,
+ "continuous": 0.77621037,
+ "segment": 0.07575844,
+ "html": 0.5738033,
+ "lap": 0.080248274,
+ "tag": 0.64592695,
+ "signal": 0.06579998,
+ "hyper": 1.6770335,
+ "ed": 0.6997579,
+ "combine": 0.03183262,
+ "tan": 0.33648354,
+ "plum": 0.1655937,
+ "image": 0.90556777,
+ "##bol": 0.32122353,
+ "taylor": 0.26691318,
+ "floats": 0.9597377,
+ "including": 0.38970974,
+ "chess": 0.3553935,
+ "polynomials": 0.016078223,
+ "format": 0.8481103,
+ "eric": 2.0037073E-4,
+ "##ido": 1.5185134,
+ "archive": 0.24385221,
+ "engineering": 0.036993224,
+ "sha": 0.073226176,
+ "##ca": 0.14096646,
+ "graph": 0.10107337,
+ "discrete": 1.8651003,
+ "core": 0.5347245,
+ "jamie": 0.2819412,
+ "sequence": 0.24257743,
+ "opt": 1.2212139,
+ "geometric": 0.4018649,
+ "##ida": 0.27119258,
+ "header": 0.8203311,
+ "support": 0.37263328,
+ "formats": 0.28599724,
+ "code": 0.059103422,
+ "cad": 0.8040324,
+ "derivative": 0.03261119,
+ "gil": 0.52361405,
+ "dominic": 0.035763368,
+ "wave": 0.3180943,
+ "sid": 0.36192703,
+ "mono": 0.8837266,
+ "random": 0.009234574,
+ "database": 0.22759958,
+ "para": 0.26217824,
+ "plot": 0.2853712,
+ "##ch": 0.27237102,
+ "array": 0.21643287,
+ "##ci": 1.4134889,
+ "floating": 1.0100747,
+ "sin": 1.9406251,
+ "alias": 0.14291681,
+ "class": 0.42001686,
+ "cipher": 0.20801581,
+ "digital": 0.1529039,
+ "types": 1.140276,
+ "equation": 0.55624145,
+ "center": 0.101922825,
+ "specification": 0.50817025,
+ "inline": 1.1608638,
+ "serial": 0.08089222,
+ "online": 0.015777165
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-sinh]]\n=== `SINH`\n[.text-center]\nimage::esql/functions/signature/sinh.svg[Embedded,opts=inline]\n\nhttps://en.wikipedia.org/wiki/Hyperbolic_functions[Sine] hyperbolic function.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/floats.csv-spec[tag=sinh]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/floats.csv-spec[tag=sinh-result]\n|===\n\nSupported types:\n\ninclude::types/sinh.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "1d1822f0-f2e0-402b-b851-96ecff41c614",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/split.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.4898832,
+ "splits": 0.7421883,
+ "##d": 0.35130262,
+ "allowed": 0.17506419,
+ "del": 0.96765804,
+ "fin": 0.09707186,
+ "alphabet": 0.2305559,
+ "##l": 1.4759514,
+ "bar": 1.1782465,
+ "##r": 0.30009225,
+ "java": 0.80429167,
+ "##s": 0.100542136,
+ "trim": 0.39270687,
+ "len": 0.1928429,
+ "##v": 1.2458135,
+ "notation": 0.33268732,
+ "##x": 0.962336,
+ "##z": 1.1671467,
+ "playback": 0.030403068,
+ "\"": 0.06843059,
+ "qu": 1.0981177,
+ "%": 0.901669,
+ "'": 0.17044175,
+ "(": 0.026162261,
+ "analysis": 0.13661264,
+ "-": 0.2959068,
+ "tags": 0.7189281,
+ "/": 0.25267136,
+ "pont": 0.0151827615,
+ "##ray": 0.12308495,
+ "au": 0.05804357,
+ ";": 0.5258133,
+ "compression": 0.2853479,
+ "=": 0.14306581,
+ "ba": 1.1577729,
+ "##ter": 0.40285483,
+ "miscellaneous": 0.28889945,
+ "cut": 0.2816624,
+ "virus": 0.20600796,
+ "two": 0.10450318,
+ "##ted": 0.091510184,
+ "example": 0.80383134,
+ "result": 0.7818264,
+ "into": 0.5728743,
+ "characters": 0.028447544,
+ "encryption": 0.03681951,
+ "vector": 0.16123402,
+ "[": 1.0365614,
+ "fred": 0.293605,
+ "]": 0.61980486,
+ "sep": 0.48805425,
+ "_": 0.44233912,
+ "ss": 0.12218503,
+ "cc": 0.0023920513,
+ "contain": 0.3534787,
+ "d": 0.22283413,
+ "column": 0.010567659,
+ "co": 0.76868194,
+ "cs": 1.38118,
+ "single": 1.2038778,
+ "v": 0.0012985378,
+ "rachel": 0.0010177677,
+ "x": 0.014881669,
+ "|": 0.46593234,
+ "returned": 0.31559616,
+ "da": 0.31827858,
+ "}": 0.30074638,
+ "operation": 0.17237936,
+ "supported": 0.5878673,
+ "ass": 0.21555495,
+ "standard": 0.1281282,
+ "dd": 0.091471784,
+ "##re": 0.02698761,
+ "separate": 0.7051147,
+ "dh": 0.50213087,
+ "anne": 0.4083333,
+ "source": 1.1425016,
+ "specifications": 0.5135293,
+ "operator": 0.30886894,
+ "ds": 1.2405396,
+ "ata": 0.14211473,
+ "apache": 0.309259,
+ "separation": 0.46494862,
+ "segment": 0.15402956,
+ "warning": 0.5426457,
+ "##imi": 1.0048459,
+ "results": 0.18415008,
+ "ed": 0.5550809,
+ "par": 0.31692556,
+ "which": 0.019953245,
+ "batch": 0.18604451,
+ "sha": 0.32383856,
+ "discrete": 1.988788,
+ "extract": 0.060473032,
+ "decimal": 0.013095446,
+ "support": 0.27378666,
+ "some": 0.058157623,
+ "formats": 0.41388303,
+ "memory": 0.11354878,
+ "string": 1.4434431,
+ "foo": 1.4516333,
+ "interface": 0.36349866,
+ "##son": 0.084030315,
+ "sid": 0.6721474,
+ "divide": 0.45120117,
+ "class": 0.43383238,
+ "cipher": 0.5317939,
+ "multiple": 0.9360044,
+ "length": 0.34338632,
+ "specification": 0.63787186,
+ "separated": 0.4426581,
+ "bars": 0.24747092,
+ "syntax": 0.75049746,
+ "pub": 0.26512048,
+ "pun": 0.007252556,
+ "convert": 0.46021792,
+ "during": 0.07844799,
+ "bit": 0.32351324,
+ "##ters": 0.35747522,
+ "division": 0.22779514,
+ "compatible": 0.0819221,
+ "##ux": 1.505053,
+ "peg": 0.7148028,
+ "slice": 0.27997375,
+ "rip": 0.42621174,
+ "text": 0.12779403,
+ "jerry": 0.07948392,
+ "algorithm": 0.7215989,
+ "splitting": 0.86860245,
+ "method": 0.15905191,
+ "gene": 0.41961676,
+ "byte": 1.2376232,
+ "double": 0.22747718,
+ "index": 0.40635368,
+ "script": 0.38711452,
+ "binary": 0.20626667,
+ "arrays": 0.4887909,
+ "math": 0.36661536,
+ "jude": 0.16646196,
+ "encoded": 0.21102445,
+ "pattern": 0.27062452,
+ "sequences": 0.26712355,
+ "##arat": 0.7296705,
+ "file": 0.5730812,
+ "strings": 1.1100917,
+ "include": 1.18843,
+ "editor": 0.48059335,
+ "break": 0.45153013,
+ "excel": 0.13693412,
+ "cod": 0.5309324,
+ "return": 0.25651628,
+ "checkpoint": 0.3636616,
+ "esq": 1.9002234,
+ "lo": 0.091492236,
+ "data": 0.20247531,
+ "dice": 0.2062915,
+ "##rge": 1.8755734,
+ "spec": 1.6396011,
+ "mode": 0.12758355,
+ "##rga": 0.24754137,
+ "protocol": 0.18251072,
+ "split": 1.6776018,
+ "strip": 0.08643186,
+ "tab": 0.05691311,
+ "mb": 0.43387273,
+ "continuous": 0.85762006,
+ "function": 0.22712274,
+ "lap": 0.37219757,
+ "html": 0.24585,
+ "pipe": 0.015476603,
+ "tag": 1.1152487,
+ "buffer": 0.43079942,
+ "expressed": 0.002861455,
+ "combination": 0.250004,
+ "including": 0.7437939,
+ "mp": 0.13534996,
+ "read": 0.03271711,
+ "format": 1.1517764,
+ "archive": 0.65743273,
+ "includes": 0.24919438,
+ "sort": 0.31288126,
+ "sequence": 0.49816597,
+ "core": 0.4787482,
+ "jamie": 0.1825447,
+ "unit": 0.048559505,
+ "header": 1.1346185,
+ "retrieve": 0.050013024,
+ "code": 0.14844033,
+ "values": 0.33485213,
+ "chunk": 0.26504293,
+ "gil": 0.2561838,
+ "percent": 0.39247447,
+ "sql": 0.36853752,
+ "array": 1.4267994,
+ "value": 0.7127247,
+ "included": 0.59661996,
+ "##rger": 0.05601754,
+ "on": 0.182107,
+ "thread": 0.04977022,
+ "command": 0.374269,
+ "currently": 0.5709801,
+ "serial": 0.6562565,
+ "compilation": 0.09409385,
+ "valued": 1.1944164,
+ "bytes": 0.539506
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-split]]\n=== `SPLIT`\nSplit a single valued string into multiple strings. For example:\n\n[source,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=split]\n----\n\nWhich splits `\"foo;bar;baz;qux;quux;corge\"` on `;` and returns an array:\n\n[%header,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=split-result]\n|===\n\nWARNING: Only single byte delimiters are currently supported.\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "154e2c56-e932-45ab-a4db-136e6cb0b4ff",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/sqrt.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.09988667,
+ "##c": 0.42678747,
+ "functions": 0.64436454,
+ "software": 0.5530514,
+ "##d": 0.34308058,
+ "##g": 0.9073006,
+ "gage": 0.26311973,
+ "arithmetic": 0.40279636,
+ "styled": 0.8005497,
+ "##l": 1.4067714,
+ "type": 0.667799,
+ "signatures": 0.47259018,
+ "integers": 0.25191727,
+ "number": 0.925401,
+ "elmer": 0.2748968,
+ "##r": 0.38102567,
+ "java": 0.88581526,
+ "peg": 0.51367676,
+ "##s": 0.45708868,
+ "styling": 0.24398802,
+ "##v": 1.0728492,
+ "notation": 0.004285794,
+ "merge": 1.0991089,
+ "nan": 1.5952116,
+ "##space": 1.057052,
+ "text": 0.96453196,
+ "jerry": 0.26963446,
+ "calculate": 0.15825494,
+ "cube": 0.103592284,
+ "algorithm": 0.73437566,
+ "%": 0.30870908,
+ "double": 1.0575521,
+ "squares": 0.39134303,
+ "index": 0.575704,
+ "signed": 0.46467835,
+ "analysis": 0.015998684,
+ "-": 0.31319577,
+ "script": 0.3313831,
+ "tags": 0.04809767,
+ "input": 0.87155825,
+ "as": 0.01890814,
+ "triple": 0.060093902,
+ "doubles": 0.31164232,
+ "binary": 0.07181979,
+ "style": 0.4943938,
+ "math": 1.3301988,
+ "jude": 0.036861103,
+ "template": 0.11351675,
+ "minus": 0.6116019,
+ "signature": 1.4299726,
+ "infinite": 1.4083543,
+ "jp": 0.106891364,
+ "sequences": 0.018603252,
+ "two": 0.075502686,
+ "unknown": 0.26101616,
+ "##arat": 0.8461844,
+ "result": 0.7676909,
+ "file": 0.33556882,
+ "si": 0.0636054,
+ "vector": 0.51263326,
+ "[": 0.8314152,
+ "fred": 0.44340852,
+ "embedded": 1.1704453,
+ "graphic": 0.68839103,
+ "]": 0.059517074,
+ "sq": 2.0348628,
+ "sep": 0.49008816,
+ "_": 0.4322875,
+ "sami": 0.17953686,
+ "editor": 0.49355212,
+ "mat": 0.32063317,
+ "include": 0.1470472,
+ "sv": 1.1497241,
+ "d": 0.011227641,
+ "display": 0.42487425,
+ "column": 0.063118786,
+ "##id": 0.48188818,
+ "n": 0.14708383,
+ "cs": 1.3008106,
+ "excel": 0.4413523,
+ "v": 0.06866412,
+ "##meric": 0.8633011,
+ "infinity": 0.35838148,
+ "digits": 0.3305602,
+ "returned": 0.5848073,
+ "|": 0.14370525,
+ "chart": 0.252737,
+ "return": 0.95127517,
+ "mathematical": 0.7596538,
+ "supported": 0.31890228,
+ "font": 0.100518525,
+ "ass": 0.35500398,
+ "calculation": 0.23773329,
+ "esq": 2.0223718,
+ "dh": 0.30135137,
+ "data": 0.07344475,
+ "inputs": 0.3478254,
+ "numbers": 0.9564348,
+ "sign": 0.37193727,
+ "anne": 0.55220973,
+ "integer": 0.5307372,
+ "specifications": 0.43452618,
+ "spec": 1.7070504,
+ "space": 0.1826719,
+ "ds": 0.95246935,
+ "compute": 0.18938537,
+ "apache": 0.32979563,
+ "function": 0.8476759,
+ "continuous": 0.77398795,
+ "html": 0.356082,
+ "lap": 0.033352263,
+ "tag": 0.72720945,
+ "results": 0.05960816,
+ "ed": 0.5144296,
+ "always": 0.24851495,
+ "image": 0.51157,
+ "taylor": 0.06430698,
+ "chess": 0.13472734,
+ "format": 0.9456372,
+ "eric": 0.10897201,
+ "##ido": 1.3511088,
+ "roots": 1.1370516,
+ "sha": 0.24211809,
+ "tool": 0.23158257,
+ "discrete": 1.8562022,
+ "square": 1.7839026,
+ "core": 0.32431936,
+ "jamie": 0.10408001,
+ "sequence": 0.01880847,
+ "##rt": 1.809752,
+ "opt": 1.409143,
+ "measure": 0.1736612,
+ "geometric": 0.41694573,
+ "##ida": 0.17428648,
+ "header": 0.78418684,
+ "retrieve": 0.07239755,
+ "decimal": 0.55885077,
+ "algebraic": 0.0060490626,
+ "np": 0.17380428,
+ "opted": 0.0064550466,
+ "formats": 0.13588321,
+ "student": 0.044367224,
+ "nu": 0.5334124,
+ "cad": 0.4736961,
+ "link": 0.08464488,
+ "endless": 0.72945917,
+ "gil": 0.34415075,
+ "interface": 0.14126004,
+ "error": 0.109739594,
+ "percent": 0.012907411,
+ "sid": 0.40617368,
+ "mono": 1.0223589,
+ "numerical": 0.2535049,
+ "negative": 1.4442838,
+ "array": 0.033280082,
+ "##ci": 1.0291607,
+ "root": 1.2938693,
+ "value": 0.74571294,
+ "class": 0.20127639,
+ "digital": 0.21394448,
+ "types": 1.0436918,
+ "center": 0.16451627,
+ "equation": 0.1164505,
+ "false": 0.16767217,
+ "specification": 0.5099906,
+ "zoom": 0.013161333,
+ "any": 0.30042306,
+ "command": 0.058580775,
+ "inline": 1.3713552,
+ "serial": 0.26355138,
+ "syntax": 0.25487283,
+ "##ert": 0.045793366
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-sqrt]]\n=== `SQRT`\n[.text-center]\nimage::esql/functions/signature/sqrt.svg[Embedded,opts=inline]\n\nReturns the square root of a number. The input can be any numeric value, the return value\nis always a double.\n\nSquare roots of negative numbers are NaN. Square roots of infinites are infinite.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=sqrt]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=sqrt-result]\n|===\n\nSupported types:\n\ninclude::types/sqrt.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "09f9aea5-6926-4931-801b-a9ce47d0b3d3",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/starts_with.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.14995404,
+ "##c": 0.44081193,
+ "functions": 0.84333116,
+ "##d": 0.6786506,
+ "##g": 1.0173697,
+ "fin": 0.19784081,
+ "styled": 0.962599,
+ "alphabet": 0.27551764,
+ "##frame": 0.011805549,
+ "##l": 1.5633992,
+ "begins": 0.1807459,
+ "elmer": 0.31438297,
+ "java": 0.80363005,
+ "##s": 0.1286996,
+ "styling": 0.5048201,
+ "##v": 1.1885902,
+ "xml": 0.24663651,
+ "jan": 0.1308832,
+ "merge": 1.5511534,
+ "record": 0.05351213,
+ "##lean": 1.3462417,
+ "!": 0.05147451,
+ "%": 0.54446983,
+ "'": 0.15999496,
+ "analysis": 0.046061162,
+ "-": 0.29143542,
+ "tags": 0.39778283,
+ "/": 0.23575877,
+ "as": 0.40201283,
+ "starting": 0.7585254,
+ "functional": 0.08577485,
+ "miscellaneous": 0.0934247,
+ "another": 0.66555446,
+ "document": 0.55612755,
+ "virus": 0.22536866,
+ "matching": 0.37161654,
+ "result": 0.78662837,
+ "search": 0.16423339,
+ "vector": 0.45977995,
+ "where": 0.0065045543,
+ "[": 0.57338905,
+ "fred": 0.49208644,
+ "embedded": 1.4801178,
+ "graphic": 0.68880826,
+ "]": 0.026289765,
+ "key": 0.8425871,
+ "_": 0.9853633,
+ "sep": 0.22035666,
+ "sami": 0.1552444,
+ "sv": 1.160371,
+ "contain": 0.085278116,
+ "d": 0.1209718,
+ "words": 0.04983283,
+ "column": 0.020471476,
+ "started": 0.42807004,
+ "sample": 0.03714095,
+ "cs": 1.3399549,
+ "##uation": 0.0013737775,
+ "returned": 0.463827,
+ "|": 0.16877198,
+ "da": 0.2161257,
+ "}": 0.16601272,
+ "supported": 0.8568076,
+ "font": 0.17398871,
+ "standard": 0.11539282,
+ "ass": 0.10925932,
+ "dd": 0.048195485,
+ "dh": 0.3926204,
+ "documents": 0.10137976,
+ "anne": 0.72220737,
+ "language": 0.13138957,
+ "source": 0.70768386,
+ "specifications": 0.59101176,
+ "ds": 1.100219,
+ "apache": 0.44814968,
+ "starts": 0.99076104,
+ "results": 0.18031588,
+ "ed": 0.5993933,
+ "image": 0.7244458,
+ "sha": 0.2871974,
+ "##ca": 0.04094566,
+ "discrete": 1.8756505,
+ "opt": 1.5210204,
+ "##word": 1.3865244,
+ "fields": 0.03492336,
+ "support": 0.4173079,
+ "opted": 0.27429485,
+ "formats": 0.31625378,
+ "string": 1.2493687,
+ "video": 0.0637328,
+ "interface": 0.31687328,
+ "##son": 0.034160182,
+ "sid": 0.6049701,
+ "mono": 0.95949686,
+ "##ci": 1.2898062,
+ "ends": 1.1206449,
+ "end": 0.88790745,
+ "class": 0.45944184,
+ "cipher": 0.372628,
+ "types": 1.2080432,
+ "center": 0.7217411,
+ "start": 1.254607,
+ "multiple": 0.20142853,
+ "length": 0.01638857,
+ "specification": 0.837466,
+ "with": 1.5504587,
+ "##with": 1.691405,
+ "syntax": 0.5228623,
+ "pub": 0.32052955,
+ "mark": 0.07381774,
+ "fancy": 0.17105488,
+ "education": 0.34182763,
+ "software": 0.2596696,
+ "pun": 0.11095852,
+ "gage": 0.10664827,
+ "type": 0.87998396,
+ "signatures": 0.5313828,
+ "compatible": 0.024618968,
+ "peg": 0.75150925,
+ "##space": 0.98634565,
+ "text": 0.9584051,
+ "jerry": 0.48478848,
+ "algorithm": 0.4107589,
+ "images": 0.08274452,
+ "gene": 0.44365585,
+ "specify": 0.1873584,
+ "index": 0.690076,
+ "signed": 0.62983686,
+ "script": 0.46065512,
+ "provide": 0.011435439,
+ "doc": 1.2187161,
+ "style": 0.772243,
+ "math": 0.21036184,
+ "jude": 0.4078601,
+ "begin": 0.12337403,
+ "template": 0.13177909,
+ "other": 0.0549675,
+ "signature": 1.4833635,
+ "jp": 0.33106795,
+ "pattern": 0.3747678,
+ "##arat": 0.5453837,
+ "valid": 0.121588364,
+ "file": 0.5791481,
+ "eddy": 0.20254852,
+ "include": 0.98165923,
+ "editor": 0.6338215,
+ "within": 0.07553032,
+ "initial": 0.06532069,
+ "display": 0.4585859,
+ "##id": 0.79419553,
+ "excel": 0.09736272,
+ "ended": 0.19583033,
+ "cod": 0.15215145,
+ "return": 0.58256,
+ "first": 0.15825066,
+ "discreet": 0.092779875,
+ "indicator": 0.37611008,
+ "checkpoint": 0.33953097,
+ "esq": 2.0738099,
+ "data": 0.24565718,
+ "sign": 0.36808032,
+ "spec": 1.873597,
+ "space": 0.31700101,
+ "whether": 0.2675397,
+ "function": 0.9532737,
+ "continuous": 0.75794667,
+ "html": 0.5026724,
+ "lap": 0.092533976,
+ "tag": 0.86808676,
+ "buffer": 0.034936715,
+ "adam": 0.010264112,
+ "including": 0.4620842,
+ "initials": 0.04957693,
+ "format": 0.9906019,
+ "##ido": 1.5038493,
+ "archive": 0.28629452,
+ "finished": 0.010254672,
+ "sort": 0.16267075,
+ "jamie": 0.42635986,
+ "sequence": 0.29846117,
+ "core": 0.21923234,
+ "ending": 0.057010856,
+ "##ida": 0.32089633,
+ "header": 1.1006719,
+ "retrieve": 0.17777407,
+ "files": 0.016899275,
+ "##words": 0.54966307,
+ "carly": 0.05373324,
+ "boo": 1.2521751,
+ "code": 0.29452038,
+ "differentiation": 0.10652825,
+ "keys": 0.26095536,
+ "cad": 0.26095638,
+ "gil": 0.25397533,
+ "percent": 0.082202025,
+ "sql": 0.16369349,
+ "database": 0.1094583,
+ "para": 0.13330068,
+ "predict": 0.07861738,
+ "included": 0.3070153,
+ "chance": 0.07430637,
+ "determine": 0.1658463,
+ "match": 0.3592483,
+ "exactly": 0.08675151,
+ "command": 0.17257649,
+ "inline": 1.4115393,
+ "serial": 0.7829594
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-starts_with]]\n=== `STARTS_WITH`\n[.text-center]\nimage::esql/functions/signature/ends_with.svg[Embedded,opts=inline]\n\nReturns a boolean that indicates whether a keyword string starts with another\nstring:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=startsWith]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=startsWith-result]\n|===\n\nSupported types:\n\ninclude::types/starts_with.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "3d71dac6-9d56-4fe0-86bf-bc81b89cced7",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/string_functions.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 0.5660733,
+ "functions": 1.1212239,
+ "software": 0.18639897,
+ "alphabet": 0.31283453,
+ "##l": 1.4752287,
+ "type": 0.028477551,
+ "java": 1.1649619,
+ "peg": 0.6512163,
+ "trim": 1.2980049,
+ "##v": 0.6815831,
+ "jan": 0.09177167,
+ "jerry": 0.3247996,
+ "algorithm": 0.43849382,
+ "gene": 0.3629322,
+ "tex": 0.07038954,
+ "index": 0.7676616,
+ "+": 1.0700101,
+ "analysis": 0.118291005,
+ "script": 0.2194282,
+ "tags": 0.51016206,
+ "as": 0.36674976,
+ "cue": 0.21576941,
+ "left": 1.0502944,
+ "unicode": 0.17135693,
+ "math": 0.67110896,
+ "sub": 0.5310177,
+ "##ran": 0.032757837,
+ "rt": 0.6337625,
+ "functional": 0.31028894,
+ "longest": 0.35954717,
+ "##ler": 0.14863843,
+ "##rim": 1.4160658,
+ "pattern": 0.271293,
+ "##bre": 1.2606657,
+ "##ring": 0.7219147,
+ "long": 0.1460076,
+ "##bra": 0.2083738,
+ "file": 0.20821205,
+ "strings": 0.22040619,
+ "julia": 0.029379481,
+ "supports": 0.09597972,
+ "vector": 0.016945455,
+ "[": 0.5241038,
+ "fred": 0.2629764,
+ "_": 0.7860909,
+ "include": 0.8419163,
+ "editor": 0.71803296,
+ "expression": 0.112974726,
+ "contain": 0.056422442,
+ "display": 0.1583808,
+ "column": 0.35668215,
+ "##id": 0.73402303,
+ "sharp": 0.12899472,
+ "cod": 0.49344927,
+ "php": 0.1168323,
+ "}": 0.07641643,
+ "supported": 0.12581685,
+ "esq": 2.0003188,
+ "con": 0.3965541,
+ "dj": 0.30995622,
+ "##cat": 1.3956447,
+ "lt": 1.3113463,
+ "replace": 0.8857134,
+ "anne": 0.8135583,
+ "language": 0.108662374,
+ "ata": 0.18094428,
+ "##ab": 1.0379733,
+ "protocol": 0.07109981,
+ "split": 1.2311274,
+ "apache": 0.51981384,
+ "function": 1.2353188,
+ "html": 0.2789927,
+ "tag": 1.0564526,
+ "buffer": 0.24078225,
+ "ed": 0.50174403,
+ "par": 0.42097446,
+ "including": 0.3729172,
+ "format": 0.49489364,
+ "##ido": 1.3358675,
+ "archive": 0.2684293,
+ "sort": 0.120220095,
+ "list": 0.8438918,
+ "plus": 0.26613522,
+ "jamie": 0.3531865,
+ "core": 0.22731584,
+ "sequence": 0.16831179,
+ "lists": 0.5991808,
+ "##ida": 0.44810933,
+ "decimal": 0.0073899482,
+ "support": 0.48958868,
+ "replacement": 0.17418954,
+ "useful": 0.08260371,
+ "code": 0.13210097,
+ "string": 1.8941888,
+ "cad": 0.15560196,
+ "title": 0.8314733,
+ "interface": 0.31801042,
+ "sid": 0.6730175,
+ "##st": 0.44877583,
+ "para": 0.24208038,
+ "array": 0.12704921,
+ "##ci": 1.2319835,
+ "end": 0.16237801,
+ "david": 0.14260149,
+ "##lib": 0.045295615,
+ "lang": 0.2896192,
+ "class": 0.6065543,
+ "included": 0.020615006,
+ "##com": 0.019100312,
+ "cipher": 0.31469926,
+ "keyboard": 0.5531524,
+ "length": 1.16444,
+ "serial": 0.6708911,
+ "syntax": 0.69466037,
+ "pub": 0.39228016
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-string-functions]]\n==== {esql} string functions\n\n++++\nString functions\n++++\n\n{esql} supports these string functions:\n\n// tag::string_list[]\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n// end::string_list[]\n\ninclude::concat.asciidoc[]\ninclude::left.asciidoc[]\ninclude::length.asciidoc[]\ninclude::ltrim.asciidoc[]\ninclude::replace.asciidoc[]\ninclude::right.asciidoc[]\ninclude::rtrim.asciidoc[]\ninclude::split.asciidoc[]\ninclude::substring.asciidoc[]\ninclude::trim.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "42ba95a0-5633-4134-8179-3f150267e6db",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/substring.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.17342319,
+ "##d": 0.8789373,
+ "bad": 0.35939437,
+ "fin": 0.3261913,
+ "styled": 1.3164726,
+ "alphabet": 0.43729037,
+ "##l": 1.3675281,
+ "character": 0.50110894,
+ "##r": 0.2126278,
+ "java": 0.9498133,
+ "##s": 0.20361298,
+ "styling": 0.77752805,
+ "##v": 1.2199103,
+ "notation": 0.20494595,
+ "jan": 0.18719332,
+ "xml": 0.023660228,
+ "merge": 1.585611,
+ "record": 1.2277803E-4,
+ "rank": 0.15418968,
+ "%": 0.35620722,
+ "'": 0.07057429,
+ "(": 0.015453597,
+ "optional": 1.358905,
+ "inspired": 0.33280867,
+ "-": 0.35280475,
+ "remaining": 0.019010605,
+ "tags": 0.476884,
+ "interpretation": 0.6281663,
+ "domain": 0.0641157,
+ "returns": 0.29865387,
+ "styles": 0.24027099,
+ "interpreted": 0.5774373,
+ "starting": 0.3293997,
+ "=": 0.04878376,
+ "relative": 0.9744069,
+ "sub": 1.4697987,
+ "minus": 0.5936034,
+ "document": 0.5104866,
+ "matrix": 0.08351253,
+ "virus": 0.40865022,
+ "long": 0.26222804,
+ "example": 1.199518,
+ "##der": 0.9185984,
+ "result": 0.9498502,
+ "characters": 1.1902659,
+ "coding": 0.10515712,
+ "##or": 0.5135676,
+ "encryption": 0.05131043,
+ "ian": 0.086891085,
+ "vector": 0.038074236,
+ "[": 1.0532784,
+ "fred": 0.35545656,
+ "]": 0.39291662,
+ "sep": 0.6676245,
+ "_": 0.4425933,
+ "cc": 0.27321935,
+ "ss": 0.11850566,
+ "st": 0.09724916,
+ "contain": 0.19388308,
+ "middle": 0.08040724,
+ "c": 0.00705892,
+ "d": 0.4317583,
+ "column": 0.29695836,
+ "abbreviation": 1.2755313E-5,
+ "cs": 1.5264055,
+ "v": 0.23049238,
+ "digits": 0.023312414,
+ "returned": 0.632457,
+ "|": 0.2812372,
+ "da": 0.23011194,
+ "}": 0.1308056,
+ "operation": 0.037351817,
+ "font": 0.17030321,
+ "dd": 0.36915776,
+ "ass": 0.24964492,
+ "standard": 0.18535851,
+ "calculation": 0.027764281,
+ "dh": 0.5703244,
+ "documents": 0.118454196,
+ "anne": 0.47119325,
+ "source": 1.2651176,
+ "specifications": 0.5006807,
+ "operator": 0.25354487,
+ "ds": 1.141496,
+ "apache": 0.2800261,
+ "results": 0.50198,
+ "ed": 0.7850403,
+ "which": 0.0063836235,
+ "par": 0.003582015,
+ "eh": 0.08903881,
+ "last": 1.3140022,
+ "batch": 0.2017993,
+ "list": 0.0035498242,
+ "sha": 0.33135512,
+ "discrete": 1.9476974,
+ "name": 0.6274827,
+ "final": 0.07652908,
+ "formats": 0.41743538,
+ "string": 1.3155627,
+ "sources": 0.2778959,
+ "wave": 0.062781304,
+ "sid": 0.60835916,
+ "mono": 1.0233586,
+ "##st": 1.4671987,
+ "random": 0.029411545,
+ "negative": 1.4722267,
+ "end": 0.49708664,
+ "every": 0.68853056,
+ "class": 0.5086574,
+ "cipher": 0.36523572,
+ "citation": 0.1854715,
+ "spelling": 0.13923602,
+ "length": 1.2468615,
+ "start": 0.9988599,
+ "specification": 0.7259906,
+ "interpret": 0.7649695,
+ "syntax": 0.6487843,
+ "pub": 0.15207557,
+ "mark": 0.09579992,
+ "fancy": 0.13390447,
+ "gage": 0.093848385,
+ "during": 0.08566861,
+ "type": 0.06962238,
+ "three": 0.8401304,
+ "peg": 0.6227231,
+ "##ain": 0.19321205,
+ "##space": 1.2432882,
+ "jerry": 0.5189766,
+ "text": 0.29380077,
+ "algorithm": 0.70691,
+ "method": 0.116822645,
+ "gene": 0.5133731,
+ "specify": 0.6325368,
+ "index": 0.7912489,
+ "script": 0.36423808,
+ "determined": 0.1690394,
+ "doc": 1.16504,
+ "style": 1.0359442,
+ "math": 0.5534166,
+ "jude": 0.1931638,
+ "hash": 0.1172112,
+ "longest": 0.27234563,
+ "pattern": 0.49500242,
+ "##ring": 1.5134537,
+ "sequences": 0.12013383,
+ "specified": 0.30293688,
+ "##arat": 0.7109383,
+ "file": 0.6325805,
+ "composed": 0.44723895,
+ "strings": 0.22662127,
+ "surname": 0.5561805,
+ "eddy": 0.2694174,
+ "include": 1.1378058,
+ "editor": 0.34775862,
+ "heading": 0.20244639,
+ "display": 0.03922056,
+ "excel": 0.48368266,
+ "names": 0.6069822,
+ "organized": 0.37540624,
+ "cod": 0.446927,
+ "return": 0.94432306,
+ "first": 0.45894742,
+ "discreet": 0.18572865,
+ "esq": 1.9798023,
+ "instance": 0.42609054,
+ "data": 0.4682033,
+ "##end": 0.3510937,
+ "dice": 0.18133873,
+ "integer": 0.020685302,
+ "spec": 1.7896369,
+ "space": 0.53744036,
+ "decorated": 0.051630415,
+ "continuous": 0.9301554,
+ "function": 0.44183645,
+ "html": 0.48541978,
+ "lap": 0.29193205,
+ "tag": 0.95947164,
+ "including": 0.59429467,
+ "read": 0.12779172,
+ "initials": 0.5944768,
+ "format": 1.1727996,
+ "archive": 0.51250917,
+ "includes": 0.10621046,
+ "sort": 0.30216357,
+ "sequence": 0.5026668,
+ "core": 0.4081549,
+ "jamie": 0.25590262,
+ "header": 0.9867581,
+ "retrieve": 0.09143414,
+ "files": 0.051949505,
+ "position": 0.9671842,
+ "##ada": 0.114398554,
+ "code": 0.35537836,
+ "differentiation": 0.06988143,
+ "##rem": 1.0896405,
+ "student": 0.054443136,
+ "gil": 0.4052769,
+ "sql": 0.4143834,
+ "##red": 0.3227884,
+ "database": 0.28161222,
+ "array": 0.1355461,
+ "lang": 0.23907527,
+ "said": 0.01353257,
+ "included": 0.41256648,
+ "direction": 0.047673013,
+ "command": 0.03449618,
+ "lengths": 0.32569575,
+ "serial": 0.7338688,
+ "compilation": 0.11170581,
+ "remainder": 0.4674984
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-substring]]\n=== `SUBSTRING`\nReturns a substring of a string, specified by a start position and an optional\nlength. This example returns the first three characters of every last name:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=substring]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=substring-result]\n|===\n\nA negative start position is interpreted as being relative to the end of the\nstring. This example returns the last three characters of of every last name:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=substringEnd]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=substringEnd-result]\n|===\n\nIf length is omitted, substring returns the remainder of the string. This\nexample returns all characters except for the first:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=substringRemainder]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=substringRemainder-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "224f6650-c72a-4da3-aa45-1f2c2ad734b5",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/sum.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.39391997,
+ "##d": 0.5073199,
+ "##g": 1.3007802,
+ "pun": 0.13541982,
+ "gage": 0.07155093,
+ "arithmetic": 0.39132997,
+ "fin": 0.012782308,
+ "styled": 1.0438167,
+ "##frame": 0.17265573,
+ "during": 0.060781013,
+ "alphabet": 0.058700725,
+ "##l": 1.4027092,
+ "score": 0.16818152,
+ "java": 0.5430119,
+ "peg": 0.43185747,
+ "##s": 0.08502456,
+ "styling": 0.5627258,
+ "len": 0.18675202,
+ "dev": 0.07931534,
+ "stats": 1.1862919,
+ "##v": 1.0582908,
+ "notation": 0.55956036,
+ "meaning": 0.41778642,
+ "xml": 0.14283714,
+ "merge": 1.6321921,
+ "rank": 0.2747258,
+ "##space": 1.195332,
+ "nan": 0.27750018,
+ "text": 0.24158204,
+ "algorithm": 0.24305807,
+ "merging": 0.14913929,
+ "%": 0.91579384,
+ "gene": 0.12714201,
+ "ag": 1.6744655,
+ "'": 0.15538564,
+ "league": 0.022468872,
+ "pool": 0.16463277,
+ "(": 0.08458748,
+ "index": 0.60548383,
+ "analysis": 0.5023777,
+ "-": 0.33476606,
+ "script": 0.21244861,
+ "tags": 0.5887968,
+ "/": 0.11458652,
+ "as": 0.22760451,
+ "cue": 0.021165457,
+ "field": 1.2439138,
+ "integration": 0.27699408,
+ "style": 0.7832948,
+ "math": 0.73389804,
+ "=": 0.20555654,
+ "statistical": 0.72721,
+ "aim": 0.023486162,
+ "pattern": 0.025556687,
+ "mid": 0.16003305,
+ "sum": 1.9946113,
+ "global": 0.1223093,
+ "matrix": 0.22702605,
+ "result": 1.008691,
+ "##arat": 0.8235364,
+ "sd": 0.10181818,
+ "file": 0.45600867,
+ "##or": 0.109271936,
+ "composed": 0.26985708,
+ "si": 0.27982968,
+ "popularity": 0.013110153,
+ "term": 0.57591635,
+ "[": 1.279517,
+ "fred": 0.4303873,
+ "]": 0.8667414,
+ "graphic": 0.28099784,
+ "table": 0.39538723,
+ "_": 0.5666041,
+ "sep": 0.519186,
+ "ss": 0.12744471,
+ "include": 1.2244309,
+ "editor": 0.16804126,
+ "stat": 0.72654635,
+ "contain": 0.39844796,
+ "expression": 0.005038066,
+ "d": 0.30508372,
+ "quan": 0.15111612,
+ "heading": 0.433125,
+ "acronym": 0.093901455,
+ "display": 0.13978618,
+ "column": 0.483479,
+ "abbreviation": 0.4202219,
+ "consolidation": 0.12993982,
+ "sample": 0.25549337,
+ "cs": 1.2902975,
+ "excel": 0.6852248,
+ "v": 0.1303455,
+ "##meric": 1.0814602,
+ "##uation": 0.21147689,
+ "report": 0.44460234,
+ "organized": 0.11662259,
+ "cod": 0.34822866,
+ "describe": 0.08569946,
+ "|": 0.27259997,
+ "da": 0.4651353,
+ "}": 0.43276554,
+ "chart": 0.22466388,
+ "statistics": 1.0220667,
+ "font": 0.19371063,
+ "ratio": 0.011917228,
+ "ass": 0.35648713,
+ "calculation": 0.34025937,
+ "dd": 0.15168612,
+ "symbol": 0.35374588,
+ "esq": 1.8543434,
+ "constant": 0.11543148,
+ "data": 0.6454996,
+ "dh": 0.3709667,
+ "dice": 0.37880936,
+ "anne": 0.25204402,
+ "accounting": 0.3948261,
+ "source": 0.37444112,
+ "integer": 0.064982265,
+ "specifications": 0.43597355,
+ "spec": 1.5475453,
+ "space": 0.4841083,
+ "ds": 1.1538374,
+ "tab": 0.015784087,
+ "##ag": 0.037809916,
+ "continuous": 0.98697966,
+ "function": 0.16132928,
+ "html": 0.571019,
+ "lap": 0.24940938,
+ "tag": 0.9933342,
+ "results": 0.49345794,
+ "ed": 0.643896,
+ "combine": 0.5030695,
+ "combination": 0.19947878,
+ "par": 0.12290079,
+ "including": 0.811243,
+ "chess": 0.18729465,
+ "format": 1.0694121,
+ "batch": 0.18782097,
+ "includes": 0.4268444,
+ "sort": 0.20506044,
+ "sha": 0.28620195,
+ "plus": 0.1410236,
+ "discrete": 2.0080576,
+ "core": 0.5351111,
+ "sequence": 0.37325352,
+ "synth": 0.057265982,
+ "jamie": 0.043295626,
+ "unit": 0.31474358,
+ "measure": 0.25712004,
+ "header": 1.1578958,
+ "fields": 1.0979254,
+ "sums": 0.82379043,
+ "formats": 0.2430361,
+ "code": 0.22898346,
+ "nu": 0.66805935,
+ "cad": 0.17969695,
+ "link": 0.053846546,
+ "ensemble": 0.20710073,
+ "gil": 0.26483092,
+ "percent": 0.4193743,
+ "sid": 0.65661246,
+ "sql": 0.3939596,
+ "mono": 1.060613,
+ "numerical": 0.23603201,
+ "database": 0.38480487,
+ "total": 0.12238166,
+ "synonym": 0.10373576,
+ "array": 0.04525859,
+ "of": 0.0145857725,
+ "define": 0.05948439,
+ "sin": 0.36535916,
+ "definition": 0.43978247,
+ "sheet": 0.06920321,
+ "included": 0.58635753,
+ "class": 0.2842591,
+ "value": 0.25317085,
+ "summary": 0.6382685,
+ "equation": 0.1878176,
+ "specification": 0.49774125,
+ "harold": 0.03319383,
+ "serial": 0.36796382,
+ "mean": 0.19323239,
+ "syntax": 0.6270766,
+ "formula": 0.10918045,
+ "pub": 0.3036776,
+ "tally": 0.23661564,
+ "demographics": 0.3016138
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-agg-sum]]\n=== `SUM`\nThe sum of a numeric field.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/stats.csv-spec[tag=sum]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/stats.csv-spec[tag=sum-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "36f02260-3e06-4537-b6cf-8178a2e2ace6",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/tan.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "plane": 0.18997468,
+ "cluster": 0.06362431,
+ "##c": 0.27934945,
+ "functions": 0.86406,
+ "##d": 0.642212,
+ "##e": 0.40777892,
+ "##g": 0.71048623,
+ "fin": 0.25156212,
+ "styled": 0.6885776,
+ "alphabet": 0.30876285,
+ "##l": 1.4379371,
+ "##n": 0.23743926,
+ "elmer": 0.31224096,
+ "java": 0.40270025,
+ "styling": 0.09947913,
+ "##v": 1.101842,
+ "notation": 0.45761183,
+ "jan": 0.10495804,
+ "merge": 1.1231793,
+ "##ome": 0.1613868,
+ "%": 0.22790885,
+ "analysis": 0.28331408,
+ "tags": 0.24767101,
+ "as": 0.33493033,
+ "science": 0.059687562,
+ ";": 0.06261302,
+ "mid": 0.056783933,
+ "algebra": 0.32958868,
+ "matrix": 0.005603084,
+ "result": 0.5924238,
+ "sd": 0.073835015,
+ "tangent": 1.7589839,
+ "arc": 0.36971825,
+ "si": 0.18453148,
+ "integral": 0.08798578,
+ "comet": 0.00243522,
+ "vector": 0.47444972,
+ "wikipedia": 0.6819147,
+ "[": 0.4579335,
+ "fred": 0.15388566,
+ "scott": 0.038031314,
+ "embedded": 1.1683918,
+ "graphic": 0.76457727,
+ "sep": 0.28757444,
+ "_": 0.2757653,
+ "ss": 0.18350594,
+ "website": 0.045073427,
+ "sv": 1.0763179,
+ "co": 0.8616024,
+ "abbreviation": 0.30434,
+ "sample": 0.009383858,
+ "cs": 1.1191462,
+ "diagram": 0.0512478,
+ "p": 0.03393147,
+ "##int": 0.21014003,
+ "v": 0.107370734,
+ "##uation": 3.233625E-4,
+ "|": 0.206957,
+ "chart": 0.4875296,
+ "}": 0.1290449,
+ "da": 0.03241675,
+ "supported": 0.93645763,
+ "font": 0.38928416,
+ "ratio": 0.22819099,
+ "calculation": 0.12179229,
+ "ass": 0.092533216,
+ "symbol": 0.39144427,
+ "dh": 0.39108992,
+ "anne": 0.6792274,
+ "source": 0.3434176,
+ "specifications": 0.44043007,
+ "ds": 1.0863343,
+ "ata": 0.0025002668,
+ "ed": 0.60304314,
+ "image": 0.876335,
+ "pat": 0.15839627,
+ "sha": 0.07076389,
+ "graph": 0.4464235,
+ "discrete": 1.7672522,
+ "opt": 1.1211928,
+ "geometric": 0.61356914,
+ "decimal": 0.06850873,
+ "fields": 0.009062349,
+ "support": 0.49500135,
+ "##tan": 0.21814728,
+ "coin": 0.102391675,
+ "##ometric": 1.1994847,
+ "formats": 0.36178958,
+ "blank": 0.028838746,
+ "provided": 0.072577275,
+ "derivative": 0.0931807,
+ "sid": 0.4380563,
+ "mono": 0.8507756,
+ "stark": 0.12964018,
+ "plot": 0.319299,
+ "##ci": 1.2539264,
+ "sin": 1.4932797,
+ "gb": 0.17930822,
+ "class": 0.37361073,
+ "digital": 0.23248187,
+ "types": 1.0104469,
+ "center": 0.1587042,
+ "specification": 0.48588336,
+ "formula": 0.1588766,
+ "pub": 0.31374624,
+ "fancy": 0.32328507,
+ "software": 0.42754623,
+ "gage": 0.6684063,
+ "pun": 0.024126505,
+ "type": 0.73528033,
+ "signatures": 0.47644764,
+ "compatible": 0.1378406,
+ "peg": 0.43637192,
+ "##metric": 0.24325222,
+ "##space": 0.8742235,
+ "nan": 0.19636913,
+ "text": 0.96436185,
+ "algorithm": 0.54851526,
+ "images": 0.3376734,
+ "shape": 0.30012077,
+ "gene": 0.5085463,
+ "tanner": 0.85494614,
+ "index": 0.4489326,
+ "signed": 0.18058062,
+ "script": 0.28230667,
+ "integration": 0.35018584,
+ "style": 0.5303911,
+ "math": 1.0206518,
+ "bristol": 0.009449517,
+ "template": 0.093728885,
+ "flag": 0.008682713,
+ "signature": 1.5655227,
+ "jp": 0.382041,
+ "pattern": 0.49462217,
+ "distribution": 0.23374258,
+ "##arat": 0.7041076,
+ "file": 0.63900566,
+ "composed": 1.9846378E-4,
+ "physics": 0.14516644,
+ "angle": 0.1411208,
+ "map": 0.19383377,
+ "include": 0.703528,
+ "editor": 0.17891227,
+ "mat": 0.1653105,
+ "display": 0.26448792,
+ "##id": 0.66514057,
+ "excel": 0.18603353,
+ "mathematical": 0.11387222,
+ "esq": 1.9784105,
+ "data": 0.33070377,
+ "##sin": 1.2059507,
+ "sign": 0.267439,
+ "float": 1.1480039,
+ "lab": 0.17721815,
+ "spec": 1.3629891,
+ "space": 0.24086808,
+ "function": 1.1512904,
+ "continuous": 0.7931721,
+ "html": 0.50899595,
+ "tag": 0.6639603,
+ "tan": 2.4094138,
+ "plum": 0.056450386,
+ "taylor": 0.34671146,
+ "floats": 0.8679292,
+ "including": 0.19688375,
+ "format": 0.87937677,
+ "##ido": 1.4980028,
+ "tri": 1.1307867,
+ "archive": 0.26757476,
+ "core": 0.5375972,
+ "sequence": 0.17467386,
+ "##ida": 0.29460704,
+ "header": 0.7691423,
+ "code": 0.1870468,
+ "differentiation": 0.1461513,
+ "ns": 0.06756366,
+ "cad": 0.84667885,
+ "scale": 0.047990303,
+ "gil": 0.22209005,
+ "numerical": 0.042457808,
+ "database": 0.29979542,
+ "para": 0.22396652,
+ "array": 0.11386754,
+ "floating": 0.9921058,
+ "and": 0.030073673,
+ "##gon": 1.3455579,
+ "##lib": 0.23258097,
+ "ann": 0.32585788,
+ "keyboard": 0.047763597,
+ "equation": 0.6146085,
+ "inline": 1.1326929,
+ "serial": 0.072646014,
+ "online": 0.14669201,
+ "capita": 0.18235776
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-tan]]\n=== `TAN`\n[.text-center]\nimage::esql/functions/signature/tan.svg[Embedded,opts=inline]\n\nhttps://en.wikipedia.org/wiki/Sine_and_cosine[Tangent] trigonometric function.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/floats.csv-spec[tag=tan]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/floats.csv-spec[tag=tan-result]\n|===\n\nSupported types:\n\ninclude::types/tan.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "3b48ad35-65a7-4ce2-aca8-26ef3e16b9e0",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/tanh.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.3179637,
+ "##c": 0.15958355,
+ "functions": 0.9796597,
+ "##d": 0.654019,
+ "software": 0.41003957,
+ "##mal": 0.02412569,
+ "##g": 0.81181926,
+ "##h": 1.9000483,
+ "gage": 0.48090553,
+ "pun": 0.07830878,
+ "fin": 0.29040182,
+ "styled": 0.6369104,
+ "alphabet": 0.3139149,
+ "##frame": 0.03216721,
+ "during": 0.014120313,
+ "##l": 1.3699846,
+ "type": 0.7968524,
+ "lee": 0.3017992,
+ "signatures": 0.556428,
+ "elmer": 0.30369738,
+ "compatible": 0.122612104,
+ "java": 0.55670667,
+ "peg": 0.48776108,
+ "styling": 0.0359958,
+ "##v": 1.1612538,
+ "notation": 0.29450795,
+ "jan": 0.0087780785,
+ "merge": 1.2760862,
+ "##space": 0.8248175,
+ "nan": 0.3610128,
+ "text": 0.95469075,
+ "jerry": 0.01543681,
+ "algorithm": 0.754889,
+ "images": 0.36284685,
+ "shape": 0.17932914,
+ "gene": 0.6295855,
+ "%": 0.45827234,
+ "signed": 0.46063942,
+ "index": 0.45548555,
+ "analysis": 0.30115205,
+ "slope": 0.1140021,
+ "script": 0.24512741,
+ "tags": 0.19021875,
+ "as": 0.3202369,
+ "style": 0.4628846,
+ ":": 0.058990933,
+ "math": 0.90675926,
+ ";": 0.10125761,
+ "bristol": 0.024029681,
+ "template": 0.1117476,
+ "racing": 0.44859293,
+ "signature": 1.5404007,
+ "jp": 0.30238244,
+ "pattern": 0.2513848,
+ "monte": 0.11353728,
+ "mid": 0.034743413,
+ "algebra": 0.10607367,
+ "matrix": 0.34138152,
+ "distribution": 0.22149223,
+ "sequences": 0.02151425,
+ "##arat": 0.6631062,
+ "result": 0.6435509,
+ "tangent": 2.0586824,
+ "file": 0.58452517,
+ "arc": 0.40961134,
+ "composed": 0.064153045,
+ "integral": 0.16483356,
+ "si": 0.04322199,
+ "physics": 0.052407984,
+ "comet": 0.03342017,
+ "vector": 0.6669085,
+ "[": 0.8489046,
+ "wikipedia": 0.623172,
+ "fred": 0.2278463,
+ "embedded": 1.2273644,
+ "graphic": 0.7196695,
+ "]": 0.06636405,
+ "map": 0.0020747106,
+ "mas": 0.09364509,
+ "_": 0.4268654,
+ "sep": 0.18552706,
+ "include": 0.84126675,
+ "editor": 0.19470957,
+ "mat": 0.09923574,
+ "sv": 1.0844836,
+ "display": 0.040422935,
+ "h": 0.018501915,
+ "column": 0.0046694763,
+ "##id": 0.69422805,
+ "abbreviation": 0.12520048,
+ "cs": 1.1125721,
+ "excel": 0.24645726,
+ "diagram": 0.08815988,
+ "p": 0.023139803,
+ "##hi": 0.15870075,
+ "radar": 0.14628519,
+ "##bolic": 1.7451248,
+ "polynomial": 0.20259106,
+ "v": 0.2001457,
+ "z": 0.009600186,
+ "##hs": 0.006188042,
+ "|": 0.15322642,
+ "}": 0.3502768,
+ "chart": 0.1832119,
+ "supported": 0.8805115,
+ "font": 0.3187632,
+ "mathematical": 0.061621893,
+ "ass": 0.22150733,
+ "calculation": 0.050737802,
+ "symbol": 0.29320088,
+ "esq": 1.9294878,
+ "dh": 0.3116191,
+ "data": 0.19012915,
+ "sign": 0.3345546,
+ "anne": 0.6378049,
+ "source": 0.17637068,
+ "float": 1.1182623,
+ "specifications": 0.5246576,
+ "spec": 1.3785309,
+ "space": 0.30049872,
+ "ds": 0.82894546,
+ "ata": 0.033088308,
+ "function": 1.2779621,
+ "continuous": 0.8092913,
+ "segment": 0.13569953,
+ "##ah": 0.016116228,
+ "html": 0.5870815,
+ "lap": 0.039082088,
+ "tag": 0.6521988,
+ "signal": 0.044267893,
+ "hyper": 1.6406076,
+ "ed": 0.5430287,
+ "tan": 2.2535267,
+ "which": 0.004607537,
+ "image": 0.8848269,
+ "##bol": 0.39512905,
+ "taylor": 0.31456786,
+ "floats": 0.88890284,
+ "including": 0.33982506,
+ "chess": 0.25131422,
+ "format": 0.80746984,
+ "##ido": 1.5160223,
+ "archive": 0.34226254,
+ "engineering": 0.014312235,
+ "sha": 0.15378375,
+ "graph": 0.42502147,
+ "discrete": 1.8514019,
+ "core": 0.39527115,
+ "sequence": 0.23430426,
+ "opt": 1.1746043,
+ "geometric": 0.5268303,
+ "##ida": 0.21983925,
+ "header": 0.8350601,
+ "ni": 0.3040176,
+ "support": 0.42578447,
+ "##ada": 0.16381736,
+ "formats": 0.28893417,
+ "differentiation": 0.10015967,
+ "code": 0.061907668,
+ "cad": 0.75159055,
+ "provided": 0.027461618,
+ "derivative": 0.5933266,
+ "interface": 0.024899818,
+ "wave": 0.101016045,
+ "sid": 0.39148086,
+ "mono": 0.7694832,
+ "database": 0.25993842,
+ "para": 0.343238,
+ "##ch": 0.5298458,
+ "plot": 0.34067088,
+ "array": 0.16221677,
+ "##ci": 1.3478595,
+ "floating": 0.94778514,
+ "and": 0.07402179,
+ "sin": 0.2907588,
+ "alias": 0.07361941,
+ "class": 0.36681908,
+ "cipher": 0.27448186,
+ "ann": 0.24742837,
+ "__": 0.0051541785,
+ "types": 1.1083719,
+ "equation": 0.5573186,
+ "center": 0.14112185,
+ "specification": 0.5957971,
+ "inline": 1.13965,
+ "chord": 0.07782067,
+ "pub": 0.009948669
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-tanh]]\n=== `TANH`\n[.text-center]\nimage::esql/functions/signature/tanh.svg[Embedded,opts=inline]\n\nhttps://en.wikipedia.org/wiki/Hyperbolic_functions[Tangent] hyperbolic function.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/floats.csv-spec[tag=tanh]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/floats.csv-spec[tag=tanh-result]\n|===\n\nSupported types:\n\ninclude::types/tanh.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "b7ffef39-38ff-4e61-a76e-235ebaee57ed",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/tau.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.20074627,
+ "functions": 0.85294974,
+ "##d": 0.47352418,
+ "##g": 0.78006023,
+ "fin": 0.20832975,
+ "styled": 0.83060074,
+ "alphabet": 0.27493346,
+ "##frame": 8.0529205E-4,
+ "##l": 1.3572602,
+ "elmer": 0.30511516,
+ "score": 0.07755441,
+ "java": 0.5266435,
+ "styling": 0.3575818,
+ "##v": 1.1131293,
+ "notation": 0.45334193,
+ "##rcle": 0.15885179,
+ "jan": 0.12219284,
+ "xml": 0.11714132,
+ "merge": 1.142501,
+ "cube": 0.046414353,
+ "%": 0.30037504,
+ "tex": 0.19582504,
+ "league": 0.08490444,
+ "circular": 1.0958962,
+ "analysis": 0.3143982,
+ "-": 0.32138035,
+ "tags": 0.35002685,
+ "/": 0.22708124,
+ "as": 0.20613544,
+ "cue": 0.18981053,
+ "globe": 0.031742662,
+ "size": 0.6940942,
+ "circle": 1.7479256,
+ "##hort": 0.06356983,
+ "@": 0.06609115,
+ "functional": 0.232572,
+ "document": 0.19157813,
+ "association": 0.099359445,
+ "matrix": 0.40236014,
+ "bp": 0.033455797,
+ "result": 0.7425191,
+ "sd": 0.22073846,
+ "outline": 0.055647764,
+ "arc": 0.3906092,
+ "si": 0.31080225,
+ "comet": 0.2138798,
+ "vector": 0.44796783,
+ "[": 0.7466358,
+ "fred": 0.16863543,
+ "embedded": 1.300065,
+ "graphic": 0.78953004,
+ "]": 0.17445621,
+ "morris": 0.169807,
+ "sep": 0.30985793,
+ "_": 0.19764096,
+ "latest": 0.023883965,
+ "ss": 0.20045345,
+ "website": 0.31050894,
+ "sv": 1.010668,
+ "d": 0.03497447,
+ "ci": 0.877863,
+ "spiral": 0.036881097,
+ "abbreviation": 0.6403774,
+ "cs": 1.1269871,
+ "diagram": 0.48827434,
+ "p": 0.13735306,
+ "v": 0.10417583,
+ "##uation": 0.11192422,
+ "geometry": 0.27895883,
+ "|": 0.1607197,
+ "chart": 0.44629183,
+ "}": 0.30476612,
+ "da": 0.20765054,
+ "ratio": 1.387512,
+ "font": 0.5340721,
+ "calculation": 0.40945873,
+ "ass": 0.061777342,
+ "##rc": 1.0917635,
+ "symbol": 0.49109888,
+ "principle": 0.1480264,
+ "dh": 0.4399286,
+ "source": 0.40408012,
+ "specifications": 0.6318827,
+ "ds": 1.16594,
+ "ata": 0.0791507,
+ "apache": 0.15747544,
+ "diameter": 0.8389182,
+ "radius": 1.42337,
+ "results": 0.12880388,
+ "ed": 0.50339526,
+ "area": 0.2817803,
+ "image": 0.96445316,
+ "pat": 0.07326506,
+ "its": 0.35261592,
+ "engineering": 0.10690454,
+ "sha": 0.30715692,
+ "graph": 0.14286731,
+ "discrete": 1.8372846,
+ "opt": 1.130336,
+ "measure": 0.412685,
+ "geometric": 0.8166511,
+ "coefficient": 0.20346321,
+ "http": 0.4600247,
+ "neighborhood": 0.038737647,
+ "coin": 0.10393798,
+ "##day": 1.5183432,
+ "distance": 0.5899458,
+ "provided": 0.049656793,
+ "video": 0.010557161,
+ "sid": 0.42417568,
+ "mono": 0.9341583,
+ "plot": 0.32765937,
+ "gb": 0.13479923,
+ "class": 0.3388996,
+ "digital": 0.032057427,
+ "citation": 0.014484967,
+ "center": 0.25629553,
+ "length": 0.8352744,
+ "##um": 0.5078169,
+ "specification": 0.5890005,
+ "message": 0.48086792,
+ "premature": 0.021785593,
+ "formula": 0.37541747,
+ "pub": 0.48486477,
+ "fancy": 0.30740196,
+ "software": 0.01398784,
+ "gage": 0.4636349,
+ "pun": 0.21039692,
+ "circles": 0.9833272,
+ "signatures": 0.6636959,
+ "peg": 0.38458812,
+ "rim": 0.19140656,
+ "##space": 0.98619264,
+ "model": 0.041568063,
+ "text": 1.0036339,
+ "https": 0.8738797,
+ "latin": 0.14571726,
+ "jerry": 0.120480835,
+ "guide": 0.13417637,
+ "flow": 0.03125081,
+ "algorithm": 0.5706298,
+ "surrounding": 0.16190493,
+ "images": 0.42894545,
+ "shape": 0.6194461,
+ "gene": 0.17553169,
+ "signed": 0.3983737,
+ "index": 0.2438992,
+ "philosophy": 0.010631707,
+ "script": 0.16688265,
+ "style": 0.6020853,
+ "interval": 0.010140212,
+ "math": 1.3327459,
+ "circled": 0.09566874,
+ "template": 0.23402771,
+ "surrounded": 0.32566553,
+ "proportion": 0.32534254,
+ "signature": 1.6184605,
+ "jp": 0.37533712,
+ "pattern": 0.16072538,
+ "irregular": 0.020016812,
+ "distribution": 0.100344285,
+ "triangle": 0.21332473,
+ "##arat": 0.7493881,
+ "file": 0.5676744,
+ "sphere": 0.4580518,
+ "web": 0.048539065,
+ "physics": 0.20282787,
+ "map": 0.34108552,
+ "include": 0.455398,
+ "editor": 0.277654,
+ "continuum": 0.1824853,
+ "heading": 0.16068102,
+ "acronym": 0.1338612,
+ "display": 0.23038352,
+ "prototype": 0.14915541,
+ "radar": 0.07726722,
+ "report": 0.01666541,
+ "manifesto": 1.9652816,
+ "li": 0.00996118,
+ "mathematical": 0.89450914,
+ "dimensions": 0.23234883,
+ "esq": 1.9774799,
+ "constant": 0.17624485,
+ "data": 0.23416656,
+ "precision": 0.11706816,
+ "sign": 0.28884113,
+ "lab": 0.18515694,
+ "spec": 1.4596423,
+ "space": 0.3412929,
+ "function": 0.99274594,
+ "continuous": 0.6566369,
+ "logo": 0.15828851,
+ "html": 0.62999535,
+ "dax": 0.36936104,
+ "lap": 0.059908435,
+ "tag": 0.75788397,
+ "day": 0.8004281,
+ "taylor": 0.46521878,
+ "format": 0.86349595,
+ "tau": 2.5422392,
+ "archive": 0.18741117,
+ "core": 0.5443568,
+ "square": 0.15978405,
+ "sequence": 0.11106093,
+ "unit": 0.109011136,
+ "compass": 0.04204858,
+ "perimeter": 0.7170089,
+ "daily": 0.078388475,
+ "header": 0.81099546,
+ "carly": 0.24924903,
+ "legacy": 0.24779402,
+ "code": 0.21556659,
+ "hammer": 0.26832768,
+ "ns": 0.14948377,
+ "mathematics": 0.12647298,
+ "cad": 0.64371186,
+ "ideology": 0.14182833,
+ "link": 0.053517327,
+ "scale": 0.15637496,
+ "around": 0.4738626,
+ "percent": 0.37331566,
+ "##ference": 1.1119958,
+ "times": 0.11250155,
+ "database": 0.01671172,
+ "para": 0.20362474,
+ "today": 0.76643693,
+ "leadership": 0.10301765,
+ "predict": 0.32936865,
+ "##lib": 0.29233447,
+ "ratios": 0.62606823,
+ "brief": 0.6171822,
+ "manifest": 0.8029812,
+ "wheel": 0.33914837,
+ "equation": 0.61623496,
+ "diamond": 0.12296763,
+ "inline": 1.2804058
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-tau]]\n=== `TAU`\n[.text-center]\nimage::esql/functions/signature/tau.svg[Embedded,opts=inline]\n\nThe https://tauday.com/tau-manifesto[ratio] of a circle's circumference to its radius.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/math.csv-spec[tag=tau]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/math.csv-spec[tag=tau-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "793ff930-a1d6-49be-af12-5094d1386093",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/to_boolean.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.053230952,
+ "fancy": 0.40458208,
+ "##d": 0.54204243,
+ "functions": 0.05339596,
+ "arithmetic": 0.07889933,
+ "fin": 0.15453313,
+ "convert": 1.4652807,
+ "styled": 1.2979183,
+ "program": 0.25892287,
+ "##l": 1.5390024,
+ "type": 0.9219172,
+ "multi": 0.584042,
+ "java": 1.1110514,
+ "peg": 0.44604376,
+ "styling": 0.7030594,
+ "##v": 1.3010188,
+ "else": 0.7014591,
+ "notation": 0.18361051,
+ "merge": 1.4527339,
+ "##space": 1.2210642,
+ "nan": 0.20066366,
+ "jerry": 0.28937957,
+ "text": 0.20081873,
+ "case": 0.6102954,
+ "##lean": 1.7541018,
+ "algorithm": 0.6971351,
+ "##cript": 0.3901837,
+ "method": 0.037994936,
+ "%": 0.7785123,
+ "gene": 0.2769891,
+ "tex": 0.1064318,
+ "'": 0.1223939,
+ "index": 0.4002656,
+ "*": 0.92891085,
+ "sensitive": 0.28153342,
+ "inspired": 0.21303298,
+ "analysis": 0.26387483,
+ "-": 0.19423074,
+ "script": 0.42069507,
+ "tags": 0.41150883,
+ "0": 0.23599549,
+ "input": 1.3226072,
+ "field": 1.0045233,
+ "binary": 0.20228057,
+ "style": 0.92257637,
+ "must": 0.26269805,
+ "math": 0.7721071,
+ "=": 0.34929356,
+ "jude": 0.2668709,
+ "ba": 0.05293262,
+ "conversions": 0.0041825203,
+ "##ler": 0.13743868,
+ "pattern": 0.05212672,
+ "matrix": 0.10327313,
+ "virus": 0.176796,
+ "example": 0.43387395,
+ "result": 0.70882016,
+ "##arat": 0.6642222,
+ "valid": 0.004579888,
+ "into": 0.3010692,
+ "search": 0.016937837,
+ "file": 0.23240487,
+ "composed": 0.17641725,
+ "julia": 0.49318427,
+ "si": 0.25594044,
+ "vector": 0.19519092,
+ "[": 1.0029345,
+ "fred": 0.4862357,
+ "eddy": 0.14313751,
+ "##itive": 1.3114069,
+ "]": 0.4478118,
+ "_": 0.9785368,
+ "sep": 0.31049076,
+ "include": 0.53954524,
+ "editor": 0.48076496,
+ "mat": 0.015883472,
+ "expression": 0.9473196,
+ "c": 0.176895,
+ "d": 0.39502126,
+ "display": 0.23245089,
+ "g": 0.065057114,
+ "converts": 1.0143303,
+ "transformation": 0.38126847,
+ "consolidation": 0.03514321,
+ "cs": 1.360862,
+ "single": 0.7077497,
+ "excel": 0.7000636,
+ "##ens": 1.3587213,
+ "t": 0.34544003,
+ "v": 0.21839875,
+ "##meric": 0.7441483,
+ "##uation": 0.21310137,
+ "cod": 0.16494314,
+ "to": 1.2332301,
+ "logic": 0.20871249,
+ "returned": 0.5874631,
+ "|": 0.32627726,
+ "da": 0.5155501,
+ "operation": 0.1940395,
+ "}": 0.10837939,
+ "return": 0.7926479,
+ "discreet": 0.0393832,
+ "calculation": 0.30384326,
+ "ass": 0.2322101,
+ "dd": 0.045320224,
+ "esq": 1.9967196,
+ "panda": 0.21196856,
+ "data": 0.4538363,
+ "dh": 0.42976928,
+ "converting": 0.8385016,
+ "inputs": 0.64860517,
+ "dice": 0.33731672,
+ "anne": 0.51177067,
+ "language": 0.05729345,
+ "source": 0.6556452,
+ "integer": 0.26618883,
+ "specifications": 0.5209626,
+ "spec": 1.6348538,
+ "translate": 0.79358786,
+ "space": 0.4374344,
+ "operator": 0.2138358,
+ "empty": 1.3831502,
+ "ds": 0.99271715,
+ "mode": 0.15548973,
+ "apache": 0.03879361,
+ "function": 1.2589724,
+ "continuous": 0.7846342,
+ "lap": 0.42091015,
+ "html": 0.2306181,
+ "ren": 0.19963306,
+ "tag": 0.857185,
+ "results": 0.052906502,
+ "ed": 0.706594,
+ "combination": 0.11084147,
+ "combine": 0.001489126,
+ "which": 0.0029478688,
+ "format": 1.046062,
+ "eric": 0.11856538,
+ "archive": 0.023427589,
+ "sort": 0.2679591,
+ "sha": 0.2621489,
+ "discrete": 1.9880576,
+ "core": 0.37245703,
+ "jamie": 0.0700037,
+ "unit": 0.19940183,
+ "converted": 1.1235334,
+ "true": 1.1036035,
+ "header": 0.9282096,
+ "fields": 0.9286922,
+ "##ile": 0.41409916,
+ "dash": 0.10880427,
+ "decimal": 0.080144085,
+ "boo": 1.6388869,
+ "blank": 0.75611645,
+ "formats": 0.24976157,
+ "code": 0.23849852,
+ "string": 1.1575929,
+ "import": 0.13993637,
+ "blend": 0.1503809,
+ "nu": 0.4235938,
+ "values": 0.30806822,
+ "gil": 0.3287577,
+ "interface": 0.14145347,
+ "error": 0.12675689,
+ "##ense": 0.42667666,
+ "percent": 0.21140924,
+ "sql": 0.609953,
+ "sid": 0.48683444,
+ "mono": 1.0479555,
+ "numerical": 0.36705464,
+ "database": 0.1584626,
+ "transform": 0.15519264,
+ "array": 0.13560158,
+ "alias": 1.2803806,
+ "predict": 0.032576345,
+ "##lib": 0.1470226,
+ "value": 0.95597005,
+ "class": 0.44534963,
+ "conversion": 1.047466,
+ "cipher": 0.19661771,
+ "digital": 0.011289879,
+ "types": 0.5977976,
+ "equation": 0.07846188,
+ "false": 1.3043644,
+ "multiple": 0.22663258,
+ "specification": 0.46379057,
+ "ins": 0.44408742,
+ "truth": 0.14393155,
+ "serial": 0.48886982,
+ "valued": 0.99601626,
+ "translation": 0.12235022,
+ "syntax": 0.73642236
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-to_boolean]]\n=== `TO_BOOLEAN`\nConverts an input value to a boolean value.\n\nThe input can be a single- or multi-valued field or an expression. The input\ntype must be of a string or numeric type.\n\nA string value of *\"true\"* will be case-insensitive converted to the Boolean\n*true*. For anything else, including the empty string, the function will\nreturn *false*. For example:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/boolean.csv-spec[tag=to_boolean]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/boolean.csv-spec[tag=to_boolean-result]\n|===\n\nThe numerical value of *0* will be converted to *false*, anything else will be\nconverted to *true*.\n\nAlias: TO_BOOL\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "6b2c210a-bd19-49bd-876e-490d86b10c5c",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/to_datetime.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "exception": 0.046890616,
+ "00": 0.038365673,
+ "02": 0.43368143,
+ "##d": 0.7506035,
+ "05": 0.045965187,
+ "year": 0.044490375,
+ "06": 0.31233266,
+ "##h": 0.4596575,
+ "laps": 0.24609338,
+ "styled": 0.75493807,
+ "##l": 1.5227392,
+ "evaluation": 0.6384098,
+ "##r": 0.6349559,
+ "java": 1.2472421,
+ "##s": 1.0400063,
+ "styling": 0.20444293,
+ "##v": 0.9346149,
+ "xml": 0.15249704,
+ "jan": 0.12657173,
+ "notation": 0.016494108,
+ "merge": 1.3902726,
+ "record": 0.78476626,
+ "##y": 0.97960347,
+ "successfully": 0.8967043,
+ "%": 0.1432656,
+ "tex": 0.23650047,
+ "*": 0.15228239,
+ "-": 0.17600286,
+ "tags": 0.28155723,
+ "mill": 0.25410533,
+ "input": 1.1236721,
+ "illicit": 0.109970935,
+ "interpretation": 0.2539446,
+ "must": 0.4526798,
+ "<": 0.328641,
+ "interpreted": 0.0056041507,
+ "=": 0.11845663,
+ "20": 1.1623037,
+ "example": 0.43117735,
+ "result": 0.4189644,
+ "into": 0.14099067,
+ "comet": 0.015935095,
+ "smug": 0.059743937,
+ "[": 0.9035145,
+ "fred": 0.36595196,
+ "]": 0.035734497,
+ "##ending": 0.86132,
+ "_": 0.9031733,
+ "sep": 0.07964234,
+ "ss": 1.1417401,
+ "st": 0.4210164,
+ "chip": 0.08154574,
+ "failures": 1.0661203,
+ "expression": 0.9302223,
+ "d": 0.14704844,
+ "h": 0.36900052,
+ "j": 0.38397673,
+ "violating": 0.33450955,
+ "cs": 1.1072094,
+ "single": 0.7284661,
+ "t": 0.08361462,
+ "bug": 0.40724912,
+ "##uation": 0.0017043125,
+ "y": 1.2136672,
+ "timeline": 0.6456231,
+ "z": 0.8061255,
+ "to": 1.1264547,
+ "respected": 0.6393117,
+ "|": 0.040741388,
+ "operation": 0.21540332,
+ "da": 0.15648945,
+ "dd": 1.1607326,
+ "calculation": 0.22713794,
+ "##ar": 0.4371974,
+ "dh": 0.2722786,
+ "converting": 0.6690629,
+ "inputs": 0.1629879,
+ "anne": 0.35623387,
+ "source": 1.0733787,
+ "specifications": 0.24336728,
+ "operator": 0.047416795,
+ "ds": 0.9013134,
+ "apache": 0.5061596,
+ "warning": 1.3285799,
+ "ren": 0.13113385,
+ "ed": 0.5985627,
+ "par": 0.7235981,
+ "##se": 1.2768575,
+ "eh": 0.22053614,
+ "last": 0.6358658,
+ "batch": 0.054195985,
+ "sha": 0.2247454,
+ "respect": 0.2862795,
+ "discrete": 1.8722732,
+ "converted": 0.97604597,
+ "shell": 0.16877903,
+ "failure": 1.2421634,
+ "success": 0.6375355,
+ "fields": 0.8765929,
+ "decimal": 0.37400874,
+ "parameters": 0.6401043,
+ "formats": 1.071455,
+ "memory": 0.04089943,
+ "string": 1.2589124,
+ "respecting": 0.8007951,
+ "recording": 0.63316053,
+ "interface": 0.17772157,
+ "sid": 0.7041079,
+ "mono": 0.81656134,
+ "not": 0.25439784,
+ "alert": 0.5698614,
+ "linux": 0.69417614,
+ "captured": 0.18649514,
+ "dating": 0.017232217,
+ "##con": 0.70337814,
+ "class": 0.30417636,
+ "conversion": 1.237611,
+ "successful": 0.8918773,
+ "cipher": 0.14771989,
+ "digital": 0.055802457,
+ "mistake": 0.032311264,
+ "types": 0.4909246,
+ "recorder": 0.17638317,
+ "##ception": 0.8323638,
+ "multiple": 0.41620356,
+ "specification": 0.18460096,
+ "##ente": 1.1139504,
+ "recorded": 0.8842433,
+ "message": 0.11896616,
+ "##time": 1.3458384,
+ "1965": 0.71229017,
+ "1964": 1.145568,
+ "1963": 0.5932956,
+ "1962": 0.05800487,
+ "interpret": 0.46570286,
+ "translation": 0.3143372,
+ "syntax": 0.57345766,
+ "time": 1.0535964,
+ "software": 0.010691505,
+ "convert": 1.4606314,
+ "during": 0.02530938,
+ "type": 0.9800056,
+ "attempt": 0.239916,
+ "years": 0.31575188,
+ "multi": 0.80968404,
+ "peg": 0.54280645,
+ "problem": 0.22309825,
+ "##space": 1.058076,
+ "nan": 0.14152342,
+ "jerry": 0.45226952,
+ "text": 0.03258673,
+ "algorithm": 0.5577847,
+ "##gum": 1.1302606,
+ "period": 0.008941845,
+ "index": 0.36456758,
+ "dates": 1.51845,
+ "script": 0.22558674,
+ "fail": 0.5216441,
+ "field": 1.0289615,
+ "binary": 0.1349613,
+ "style": 0.5360409,
+ "math": 0.5822053,
+ "jude": 0.36919627,
+ "server": 0.09341645,
+ "log": 0.40428662,
+ "pattern": 3.688847E-4,
+ "epoch": 1.109592,
+ "##arat": 0.39595625,
+ "valid": 0.23015578,
+ "computer": 0.08715411,
+ "file": 0.46783787,
+ "julia": 0.30879873,
+ "violate": 0.09556875,
+ "eddy": 0.009774797,
+ "twenty": 0.3212344,
+ "include": 0.45299408,
+ "editor": 0.23012197,
+ "heading": 0.17832418,
+ "display": 0.4083845,
+ "converts": 0.7281791,
+ "transformation": 0.08934662,
+ "excel": 0.32220745,
+ "##meric": 0.98309934,
+ "cod": 0.29773307,
+ "first": 0.08228547,
+ "date": 1.660016,
+ "checkpoint": 0.2930737,
+ "esq": 1.917439,
+ "data": 0.4971843,
+ "dice": 0.12376573,
+ "integer": 0.21460634,
+ "spec": 1.3880041,
+ "translate": 0.6100305,
+ "space": 0.10571026,
+ "protocol": 0.3328299,
+ "continuous": 0.72027576,
+ "html": 0.29277986,
+ "tag": 0.8054124,
+ "buffer": 0.26624227,
+ "criminal": 0.047757346,
+ "day": 0.28588617,
+ "mm": 1.1165472,
+ "format": 1.3565742,
+ "archive": 0.23092815,
+ "failed": 0.7715394,
+ "clock": 0.28317192,
+ "interrupted": 0.13073845,
+ "illegal": 1.1289203,
+ "julian": 0.013262742,
+ "sequence": 0.27028406,
+ "jamie": 0.19345032,
+ "core": 0.005356958,
+ "unit": 0.26267055,
+ "null": 1.2450032,
+ "violation": 0.06663676,
+ "header": 1.1442245,
+ "files": 0.020492965,
+ "unix": 1.3737148,
+ "problems": 0.40378252,
+ "##ada": 0.1371445,
+ "code": 0.23137015,
+ "penalty": 0.28313679,
+ "line": 0.085836224,
+ "nu": 0.32106668,
+ "values": 0.10624745,
+ "cad": 0.041391365,
+ "link": 0.09515207,
+ "gil": 0.32483086,
+ "error": 0.8669198,
+ "sql": 0.41393024,
+ "nonsense": 0.09240595,
+ "times": 0.28343835,
+ "database": 0.18698184,
+ "##zone": 0.06469949,
+ "parameter": 0.76488376,
+ "dated": 0.26818404,
+ "lang": 0.79929376,
+ "value": 0.900836,
+ "##ise": 0.6919822,
+ "warnings": 0.23872764,
+ "command": 0.20920455,
+ "int": 0.18477847,
+ "marking": 0.016080098,
+ "serial": 0.7875682,
+ "valued": 1.0309929,
+ "response": 0.8829598,
+ "respond": 0.44833973
+ },
+ "is_truncated": true,
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-to_datetime]]\n=== `TO_DATETIME`\nConverts an input value to a date value.\n\nThe input can be a single- or multi-valued field or an expression. The input\ntype must be of a string or numeric type.\n\nA string will only be successfully converted if it's respecting the format\n`yyyy-MM-dd'T'HH:mm:ss.SSS'Z'` (to convert dates in other formats, use <>). For example:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/date.csv-spec[tag=to_datetime-str]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/date.csv-spec[tag=to_datetime-str-result]\n|===\n\nNote that in this example, the last value in the source multi-valued\nfield has not been converted. The reason being that if the date format is not\nrespected, the conversion will result in a *null* value. When this happens a\n_Warning_ header is added to the response. The header will provide information\non the source of the failure:\n\n`\"Line 1:112: evaluation of [TO_DATETIME(string)] failed, treating result as null. Only first 20 failures recorded.\"`\n\nA following header will contain the failure reason and the offending value:\n\n`\"java.lang.IllegalArgumentException: failed to parse date field [1964-06-02 00:00:00] with format [yyyy-MM-dd'T'HH:mm:ss.SSS'Z']\"`\n\n\nIf the input parameter is of a numeric type, its value will be interpreted as\nmilliseconds since the https://en.wikipedia.org/wiki/Unix_time[Unix epoch].\nFor example:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/date.csv-spec[tag=to_datetime-int]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/date.csv-spec[tag=to_datetime-int-result]\n|===\n\nAlias: TO_DT\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "81fc24f8-f3ae-4d9e-9550-1adabd0f7fb4",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/to_degrees.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.18999025,
+ "##d": 0.71443796,
+ "software": 0.08225956,
+ "##dian": 1.2237493,
+ "gage": 0.3537966,
+ "pun": 0.17273758,
+ "arithmetic": 0.3341037,
+ "fin": 0.30449274,
+ "convert": 1.3636489,
+ "styled": 1.0195788,
+ "alphabet": 0.12933917,
+ "##l": 1.52288,
+ "type": 0.821909,
+ "degrees": 1.6507252,
+ "multi": 0.6989757,
+ "number": 0.82302165,
+ "java": 0.74530715,
+ "peg": 0.31247273,
+ "##s": 0.28003663,
+ "styling": 0.37939587,
+ "##v": 1.1171814,
+ "notation": 0.44445774,
+ "merge": 1.3046503,
+ "##space": 1.2195513,
+ "https": 0.7216377,
+ "jerry": 0.27619645,
+ "text": 0.09231541,
+ "algorithm": 0.5238514,
+ "gene": 0.11382627,
+ "%": 0.08665325,
+ "double": 1.3333455,
+ "tex": 0.14409196,
+ "'": 0.21044222,
+ "index": 0.45890734,
+ "-": 0.30952978,
+ "script": 0.390773,
+ "ra": 1.2211164,
+ "tags": 0.38540107,
+ "/": 0.13299733,
+ "input": 0.9818365,
+ "as": 0.11741411,
+ "field": 1.1298785,
+ "triple": 0.18210262,
+ "doubles": 0.61798316,
+ "science": 0.10193499,
+ "binary": 0.03363021,
+ "style": 0.7053165,
+ "math": 0.91901416,
+ "=": 0.1733018,
+ "bristol": 0.054487955,
+ "translator": 0.053134646,
+ "algebra": 0.04066413,
+ "two": 0.36705175,
+ "example": 0.6725702,
+ "##arat": 0.9407738,
+ "result": 0.8953433,
+ "into": 0.18927577,
+ "sd": 0.010356141,
+ "computer": 0.021672795,
+ "file": 0.13112351,
+ "julia": 0.12997918,
+ "si": 0.29845825,
+ "angle": 1.3437027,
+ "course": 0.041963656,
+ "vector": 0.47672868,
+ "[": 1.0893868,
+ "wikipedia": 0.9477652,
+ "fred": 0.31056064,
+ "eddy": 0.047620274,
+ "]": 0.62932855,
+ "graphic": 0.26066974,
+ "_": 1.0506698,
+ "sep": 0.5334442,
+ "include": 0.94284004,
+ "editor": 0.40260684,
+ "mat": 0.21212623,
+ "expression": 0.8500752,
+ "c": 0.10389296,
+ "d": 0.31270322,
+ "display": 0.42691442,
+ "converts": 0.91210175,
+ "transformation": 0.0424401,
+ "cs": 1.3299229,
+ "single": 0.66719943,
+ "excel": 0.20697494,
+ "t": 0.5578596,
+ "v": 0.22776571,
+ "##meric": 0.9065184,
+ "##uation": 0.17286626,
+ "w": 0.02219515,
+ "cod": 0.30170524,
+ "to": 1.4810694,
+ "|": 0.3561062,
+ "chart": 0.24811022,
+ "da": 0.19638422,
+ "mathematical": 0.12146031,
+ "calculation": 0.3829596,
+ "dd": 0.19934411,
+ "ass": 0.028151115,
+ "symbol": 0.18540743,
+ "esq": 1.8586196,
+ "dh": 0.50224596,
+ "data": 0.28641108,
+ "converting": 0.6456036,
+ "inputs": 0.43900526,
+ "precision": 0.1517871,
+ "numbers": 0.55013615,
+ "dice": 0.23359121,
+ "anne": 0.26343232,
+ "source": 0.33963275,
+ "integer": 0.23412968,
+ "float": 1.2067926,
+ "specifications": 0.49870518,
+ "spec": 1.6646717,
+ "translate": 0.92626405,
+ "space": 0.54040045,
+ "ds": 1.1234949,
+ "continuous": 0.8728662,
+ "html": 0.2861362,
+ "ren": 0.28544182,
+ "lap": 0.12814173,
+ "tag": 0.8048236,
+ "expressed": 0.07598684,
+ "results": 0.4601326,
+ "weighted": 0.11379594,
+ "ed": 0.70491576,
+ "combine": 0.009491555,
+ "##se": 0.075146906,
+ "floats": 0.8520956,
+ "including": 0.39232776,
+ "degree": 1.7512289,
+ "format": 1.1008626,
+ "eric": 0.036223464,
+ "en": 0.23435274,
+ "sort": 0.058969133,
+ "engineering": 0.0015866084,
+ "sha": 0.24222372,
+ "##ki": 0.23249085,
+ "discrete": 1.9535966,
+ "core": 0.3137419,
+ "sequence": 0.24224627,
+ "jamie": 0.15133604,
+ "unit": 0.2995978,
+ "measure": 0.18771693,
+ "converted": 0.7298466,
+ "geometric": 0.40596431,
+ "translates": 0.028431669,
+ "header": 0.7611266,
+ "http": 0.47878143,
+ "fields": 0.9949259,
+ "decimal": 0.43231156,
+ "translating": 0.011919937,
+ "formats": 0.28608572,
+ "code": 0.16633862,
+ "angles": 0.348314,
+ "student": 0.091298684,
+ "nu": 0.53352803,
+ "cad": 0.5177665,
+ "values": 0.2582666,
+ "gil": 0.32436764,
+ "interface": 0.16966607,
+ "sid": 0.5030271,
+ "mono": 1.2373244,
+ "numerical": 0.08730608,
+ "wi": 0.58918405,
+ "transform": 0.008551172,
+ "database": 0.007063181,
+ "floating": 1.0112268,
+ "##lib": 0.009109601,
+ "value": 0.60388315,
+ "class": 0.35816422,
+ "conversion": 0.8402998,
+ "direction": 0.44568923,
+ "digital": 0.16573915,
+ "types": 0.47859627,
+ "equation": 0.479103,
+ "multiple": 0.19761983,
+ "specification": 0.5493197,
+ "command": 0.21202622,
+ "serial": 0.032722417,
+ "valued": 1.0894511,
+ "translation": 0.55000806,
+ "syntax": 0.40852696
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-to_degrees]]\n=== `TO_DEGREES`\nConverts a number in https://en.wikipedia.org/wiki/Radian[radians]\nto https://en.wikipedia.org/wiki/Degree_(angle)[degrees].\n\nThe input can be a single- or multi-valued field or an expression. The input\ntype must be of a numeric type and result is always `double`.\n\nExample:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/floats.csv-spec[tag=to_degrees]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/floats.csv-spec[tag=to_degrees-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "887efdd7-296e-47d6-b397-b213576c692f",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/to_double.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.034851983,
+ "##d": 0.54490864,
+ "styled": 1.2261338,
+ "##l": 1.5252992,
+ "evaluation": 0.61805034,
+ "##r": 1.2258278,
+ "java": 1.2719723,
+ "##s": 0.12583557,
+ "styling": 0.48532718,
+ "115": 0.05205113,
+ "##v": 1.3056004,
+ "notation": 0.18370336,
+ "xml": 0.013672276,
+ "merge": 1.6072334,
+ "record": 0.2503456,
+ "##lean": 1.1417319,
+ "%": 0.5496309,
+ "tex": 0.08611014,
+ "'": 0.066839606,
+ "*": 0.46667716,
+ "-": 0.1931185,
+ "mill": 0.90712315,
+ "tags": 0.22126678,
+ "/": 0.056843624,
+ "0": 0.38100603,
+ "input": 1.3953304,
+ "triple": 0.5940838,
+ "interpretation": 0.75830793,
+ "must": 0.49224398,
+ "interpreted": 0.69669974,
+ "=": 0.28893498,
+ "20": 0.89690894,
+ "two": 0.66872007,
+ "virus": 0.31154963,
+ "example": 0.7929591,
+ "result": 0.93081903,
+ "into": 0.2778204,
+ "dual": 0.14856549,
+ "##or": 0.1366479,
+ "si": 0.080473125,
+ "vector": 0.16421123,
+ "[": 0.8976226,
+ "fred": 0.49190742,
+ "multiplication": 0.15142877,
+ "]": 0.3030238,
+ "##ending": 0.9373233,
+ "_": 1.0122102,
+ "sep": 0.43976364,
+ "st": 0.8676874,
+ "expression": 1.1038253,
+ "failures": 0.684512,
+ "d": 0.13121353,
+ "column": 0.1067207,
+ "j": 0.30643398,
+ "possible": 0.0639766,
+ "cs": 1.4713895,
+ "single": 0.8321051,
+ "t": 0.36266008,
+ "bug": 0.2828154,
+ "v": 0.41702414,
+ "##uation": 0.05063797,
+ "timeline": 0.111294955,
+ "to": 1.3741616,
+ "|": 0.5358478,
+ "da": 0.21271491,
+ "}": 0.1565657,
+ "operation": 0.13495183,
+ "db": 0.99072766,
+ "calculation": 0.27143422,
+ "dd": 0.05488095,
+ "dh": 0.4610925,
+ "converting": 0.7796016,
+ "inputs": 0.348333,
+ "anne": 0.44738293,
+ "source": 0.9967945,
+ "specifications": 0.45011932,
+ "operator": 0.15915816,
+ "ds": 1.1687613,
+ "apache": 0.37570742,
+ "warning": 1.0940477,
+ "ren": 0.196318,
+ "results": 0.15534145,
+ "ed": 0.5783321,
+ "par": 0.07191043,
+ "which": 0.05430235,
+ "##se": 0.16298395,
+ "chess": 0.05135958,
+ "last": 0.69480854,
+ "batch": 0.27926606,
+ "eric": 0.073445074,
+ "sha": 0.181852,
+ "discrete": 1.8968617,
+ "##rs": 0.29475674,
+ "converted": 1.0617204,
+ "shell": 0.12899041,
+ "failure": 1.1558956,
+ "fields": 0.8510369,
+ "decimal": 0.42559242,
+ "parameters": 0.53627056,
+ "string": 1.2775253,
+ "import": 0.15512517,
+ "foo": 1.0504593,
+ "recording": 0.10676912,
+ "interface": 0.030375198,
+ "sid": 0.66781646,
+ "mono": 1.1732537,
+ "rate": 0.3662355,
+ "alert": 0.021461748,
+ "linux": 0.55008364,
+ "##con": 0.7401227,
+ "class": 0.4510884,
+ "conversion": 1.2553933,
+ "cipher": 0.27154982,
+ "mistake": 0.033054058,
+ "types": 0.72329164,
+ "##ception": 0.7600111,
+ "false": 0.89296514,
+ "multiple": 0.44663846,
+ "length": 0.2706848,
+ "specification": 0.449495,
+ "recorded": 0.3859805,
+ "##form": 1.0053302,
+ "interpret": 0.88137156,
+ "translation": 0.5244622,
+ "syntax": 0.60966045,
+ "time": 0.84808993,
+ "pub": 0.2577851,
+ "merger": 0.099057935,
+ "fancy": 0.21070692,
+ "gage": 0.10024648,
+ "arithmetic": 0.06957357,
+ "convert": 1.4302326,
+ "type": 1.2285821,
+ "multi": 0.8652248,
+ "number": 0.4994775,
+ "seconds": 0.14837158,
+ "peg": 0.4296942,
+ "problem": 0.20373453,
+ "##space": 1.0634596,
+ "nan": 0.11211361,
+ "jerry": 0.5276819,
+ "enter": 0.1285627,
+ "flow": 0.057405002,
+ "algorithm": 0.6052038,
+ "gene": 0.2619992,
+ "double": 1.8629955,
+ "index": 0.31077465,
+ "swiss": 0.038948752,
+ "dates": 0.67357826,
+ "script": 0.313296,
+ "fail": 0.28049564,
+ "analog": 0.0020197486,
+ "field": 0.9765385,
+ "doubles": 0.91985875,
+ "binary": 0.41211668,
+ "integration": 0.007155624,
+ "style": 0.8031707,
+ "math": 0.73533213,
+ "jude": 0.4144468,
+ "conversions": 0.17361641,
+ "epoch": 1.3207772,
+ "##arat": 0.7730987,
+ "valid": 0.028024891,
+ "file": 0.5099199,
+ "era": 0.33836967,
+ "julia": 0.3282937,
+ "twenty": 0.1929983,
+ "include": 0.7743072,
+ "editor": 0.09060001,
+ "display": 0.282318,
+ "converts": 0.92025465,
+ "transformation": 0.302641,
+ "excel": 0.27124265,
+ "century": 0.3073954,
+ "##meric": 0.8871906,
+ "cod": 0.22556743,
+ "date": 1.0810071,
+ "checkpoint": 0.2660889,
+ "esq": 1.9493146,
+ "data": 0.3856007,
+ "integer": 0.46437418,
+ "float": 1.1390394,
+ "spec": 1.6426188,
+ "translate": 0.7205594,
+ "space": 0.33931413,
+ "continuous": 0.6441029,
+ "html": 0.29598927,
+ "dax": 0.06731382,
+ "tag": 0.7767069,
+ "buffer": 0.108451374,
+ "expressed": 0.09201819,
+ "floats": 0.7479182,
+ "including": 0.20818979,
+ "read": 0.100389466,
+ "format": 0.96780145,
+ "archive": 0.14843427,
+ "failed": 0.62996197,
+ "interrupted": 0.07150409,
+ "jamie": 0.39234015,
+ "sequence": 0.34989452,
+ "core": 0.26680326,
+ "unit": 0.29408315,
+ "twice": 0.24564683,
+ "null": 1.0589571,
+ "true": 0.5759694,
+ "header": 1.1169823,
+ "unix": 1.3951052,
+ "problems": 0.05880448,
+ "boo": 1.0762244,
+ "code": 0.26692823,
+ "penalty": 0.24124567,
+ "values": 0.26338515,
+ "nu": 0.18512118,
+ "cad": 0.1625064,
+ "gil": 0.18434809,
+ "error": 0.8725504,
+ "##ate": 0.16819754,
+ "percent": 0.14273761,
+ "sql": 0.40034142,
+ "database": 0.17931439,
+ "times": 0.07326595,
+ "array": 0.15567563,
+ "floating": 0.9324738,
+ "parameter": 0.7426714,
+ "alias": 1.3124362,
+ "dated": 0.027272088,
+ "lang": 0.7471905,
+ "value": 0.9735191,
+ "included": 0.120719954,
+ "##ise": 1.0075105,
+ "equation": 0.010957192,
+ "command": 0.13483444,
+ "serial": 0.6699924,
+ "valued": 0.96082425,
+ "response": 0.89253134,
+ "respond": 0.45532724
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-to_double]]\n=== `TO_DOUBLE`\nConverts an input value to a double value.\n\nThe input can be a single- or multi-valued field or an expression. The input\ntype must be of a boolean, date, string or numeric type.\n\nExample:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/floats.csv-spec[tag=to_double-str]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/floats.csv-spec[tag=to_double-str-result]\n|===\n\nNote that in this example, the last conversion of the string isn't\npossible. When this happens, the result is a *null* value. In this case a\n_Warning_ header is added to the response. The header will provide information\non the source of the failure:\n\n`\"Line 1:115: evaluation of [TO_DOUBLE(str2)] failed, treating result as null. Only first 20 failures recorded.\"`\n\nA following header will contain the failure reason and the offending value:\n\n`\"java.lang.NumberFormatException: For input string: \\\"foo\\\"\"`\n\n\nIf the input parameter is of a date type, its value will be interpreted as\nmilliseconds since the https://en.wikipedia.org/wiki/Unix_time[Unix epoch],\nconverted to double.\n\nBoolean *true* will be converted to double *1.0*, *false* to *0.0*.\n\nAlias: TO_DBL\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "edec2b50-3432-4c94-9892-6bf787f84160",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/to_integer.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "exception": 0.014163214,
+ "##d": 0.41973156,
+ "##rch": 0.8287161,
+ "styled": 1.4105103,
+ "##l": 1.4990531,
+ "evaluation": 0.7461407,
+ "##sea": 0.9477751,
+ "java": 0.90283024,
+ "##s": 0.36061895,
+ "styling": 0.591323,
+ "##v": 1.319796,
+ "xml": 0.35438225,
+ "jan": 0.05715464,
+ "notation": 0.018506479,
+ "merge": 1.5479492,
+ "record": 0.26353344,
+ "##lean": 1.221836,
+ "merging": 0.14385754,
+ "%": 0.22799759,
+ "tex": 0.09077627,
+ "'": 0.1799486,
+ "*": 0.54440624,
+ "analysis": 0.016088428,
+ "-": 0.15926602,
+ "mill": 0.85569364,
+ "tags": 0.39922774,
+ "/": 0.112878256,
+ "0": 0.291861,
+ "input": 1.4472882,
+ "node": 0.3852328,
+ "interpretation": 0.73445666,
+ "must": 0.6337636,
+ "interpreted": 0.668753,
+ "=": 0.38779885,
+ "20": 0.7842088,
+ "virus": 0.44366327,
+ "long": 1.1655289,
+ "example": 0.77704835,
+ "result": 0.90017515,
+ "into": 0.31554097,
+ "search": 0.15067029,
+ "si": 0.2171288,
+ "[": 0.89671904,
+ "fred": 0.42668927,
+ "]": 0.35183725,
+ "##ending": 0.7775461,
+ "_": 0.9243818,
+ "sep": 0.5214478,
+ "expression": 1.1391362,
+ "failures": 0.700426,
+ "d": 0.042247903,
+ "column": 0.061643187,
+ "cs": 1.5089315,
+ "single": 0.88140535,
+ "##00": 0.75209236,
+ "q": 0.6366455,
+ "t": 0.11598735,
+ "bug": 0.34378284,
+ "v": 0.36471584,
+ "elastic": 1.6691881,
+ "timeline": 0.118735515,
+ "to": 1.1314112,
+ "|": 0.48556378,
+ "}": 0.22775081,
+ "operation": 0.18791384,
+ "da": 0.06274704,
+ "calculation": 0.3071292,
+ "ass": 0.10532076,
+ "standard": 0.053889923,
+ "dd": 0.04381434,
+ "##ar": 0.5038812,
+ "dh": 0.48583144,
+ "converting": 0.7723472,
+ "inputs": 0.4076099,
+ "anne": 0.4795611,
+ "source": 0.15906441,
+ "specifications": 0.38431585,
+ "operator": 0.24796724,
+ "ds": 1.054339,
+ "apache": 0.588696,
+ "warning": 1.1321602,
+ "ren": 0.3439617,
+ "reply": 0.066809274,
+ "results": 0.11607726,
+ "ed": 0.6423071,
+ "par": 0.05817382,
+ "which": 0.046472505,
+ "##se": 0.20955196,
+ "last": 0.8370047,
+ "batch": 0.31014785,
+ "eric": 0.094548166,
+ "sha": 0.30601463,
+ "##200": 0.46975923,
+ "discrete": 1.8646152,
+ "converted": 1.0899274,
+ "shell": 0.123290256,
+ "failure": 1.0655042,
+ "http": 0.10625302,
+ "fields": 1.133325,
+ "decimal": 0.4106641,
+ "parameters": 0.7125259,
+ "string": 0.57915425,
+ "import": 0.07995394,
+ "recording": 0.12019155,
+ "interface": 0.21078455,
+ "sid": 0.6898939,
+ "mono": 1.1732849,
+ "##37": 0.3041878,
+ "alert": 0.14338708,
+ "linux": 0.5812807,
+ "##con": 0.42572576,
+ "class": 0.48467976,
+ "conversion": 1.0236081,
+ "cipher": 0.14177866,
+ "types": 0.8008518,
+ "hours": 0.044842184,
+ "org": 0.9608312,
+ "##ception": 0.8918211,
+ "false": 0.7100054,
+ "multiple": 0.5658569,
+ "length": 0.5459469,
+ "specification": 0.47822115,
+ "##ente": 0.9124896,
+ "recorded": 0.35374495,
+ "501": 1.2863748,
+ "interpret": 0.84016246,
+ "xp": 0.8654234,
+ "translation": 0.20438045,
+ "syntax": 0.50137323,
+ "time": 0.63662076,
+ "pub": 0.13961606,
+ "merger": 0.17512503,
+ "fancy": 0.28617617,
+ "gage": 0.19203994,
+ "arithmetic": 0.0869996,
+ "convert": 1.4426041,
+ "type": 1.2739072,
+ "multi": 1.2479012,
+ "integers": 0.7049667,
+ "seconds": 0.3190838,
+ "twitter": 0.15384416,
+ "peg": 0.3907496,
+ "problem": 0.11558739,
+ "##space": 1.1981217,
+ "nan": 0.066678025,
+ "jerry": 0.56235343,
+ "enter": 0.25448212,
+ "https": 0.074621074,
+ "flow": 0.067290865,
+ "algorithm": 0.6064715,
+ "##gum": 1.0267704,
+ "gene": 0.2962289,
+ "index": 0.58043015,
+ "swiss": 0.0060968134,
+ "dates": 0.73771614,
+ "script": 0.28733236,
+ "fail": 0.23960018,
+ "field": 1.3144271,
+ "binary": 0.19855554,
+ "style": 0.8062533,
+ "math": 0.682523,
+ "jude": 0.5093238,
+ "evaluate": 0.030150479,
+ "server": 0.10019979,
+ "conversions": 0.023173932,
+ "range": 0.7467165,
+ "epoch": 1.3821094,
+ "##arat": 0.85840446,
+ "computer": 0.08795914,
+ "file": 0.4738557,
+ "julia": 0.30736926,
+ "era": 0.26541224,
+ "web": 0.022832941,
+ "include": 0.9373913,
+ "heading": 0.32858324,
+ "display": 0.14607528,
+ "converts": 0.9564159,
+ "transformation": 0.3239066,
+ "consolidation": 0.014433033,
+ "computation": 0.12445583,
+ "excel": 0.24738798,
+ "century": 0.3269989,
+ "##meric": 0.9345575,
+ "report": 0.019617233,
+ "cod": 0.29259428,
+ "cannot": 0.055491813,
+ "##lle": 1.3773671,
+ "date": 1.1236532,
+ "checkpoint": 0.2773345,
+ "esq": 1.9250414,
+ "data": 0.63394934,
+ "integer": 1.7748228,
+ "##gal": 1.1413568,
+ "spec": 1.57391,
+ "translate": 0.737976,
+ "space": 0.31435198,
+ "continuous": 0.541313,
+ "inappropriate": 0.0022768069,
+ "html": 0.35924166,
+ "dax": 0.054249395,
+ "tag": 0.96191293,
+ "expressed": 0.13683712,
+ "buffer": 0.041127697,
+ "including": 0.36535856,
+ "read": 0.15093274,
+ "format": 0.9693097,
+ "archive": 0.27256677,
+ "failed": 0.7136947,
+ "sort": 0.21701884,
+ "interrupted": 0.032364585,
+ "amazon": 0.7817284,
+ "jamie": 0.49208206,
+ "core": 0.23573014,
+ "sequence": 0.18639284,
+ "unit": 0.23476438,
+ "null": 0.959154,
+ "true": 0.27455452,
+ "header": 1.2400584,
+ "unix": 1.3367857,
+ "problems": 0.07139965,
+ "boo": 1.1163832,
+ "code": 0.25707886,
+ "penalty": 0.2064232,
+ "line": 0.11194448,
+ "values": 0.29511178,
+ "nu": 0.16560955,
+ "link": 0.2503444,
+ "gil": 0.34293476,
+ "error": 0.88142705,
+ "##li": 1.0737467,
+ "sql": 0.39869243,
+ "database": 0.23254044,
+ "transform": 0.11719826,
+ "times": 0.09005947,
+ "##ack": 1.3693001,
+ "parameter": 0.8702915,
+ "anya": 0.049022153,
+ "alias": 1.2697275,
+ "dated": 0.002729502,
+ "##lib": 8.821448E-6,
+ "value": 0.9570211,
+ "included": 0.25887778,
+ "##ise": 0.95390683,
+ "int": 1.5403401,
+ "command": 0.2468106,
+ "serial": 0.5787331,
+ "valued": 1.1630658,
+ "response": 0.9621267,
+ "respond": 0.5222584
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-to_integer]]\n=== `TO_INTEGER`\nConverts an input value to an integer value.\n\nThe input can be a single- or multi-valued field or an expression. The input\ntype must be of a boolean, date, string or numeric type.\n\nExample:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/ints.csv-spec[tag=to_int-long]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/ints.csv-spec[tag=to_int-long-result]\n|===\n\nNote that in this example, the last value of the multi-valued field cannot\nbe converted as an integer. When this happens, the result is a *null* value.\nIn this case a _Warning_ header is added to the response. The header will\nprovide information on the source of the failure:\n\n`\"Line 1:61: evaluation of [TO_INTEGER(long)] failed, treating result as null. Only first 20 failures recorded.\"`\n\nA following header will contain the failure reason and the offending value:\n\n`\"org.elasticsearch.xpack.ql.QlIllegalArgumentException: [501379200000] out of [integer] range\"`\n\n\nIf the input parameter is of a date type, its value will be interpreted as\nmilliseconds since the https://en.wikipedia.org/wiki/Unix_time[Unix epoch],\nconverted to integer.\n\nBoolean *true* will be converted to integer *1*, *false* to *0*.\n\nAlias: TO_INT\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "3940eca8-c716-4e91-98d2-626d6ccfcdd9",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/to_ip.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "exception": 0.035191663,
+ "cluster": 0.06969455,
+ "##d": 0.42194083,
+ "styled": 1.3113711,
+ "##l": 1.4729016,
+ "evaluation": 0.82859856,
+ "##r": 0.93549466,
+ "java": 1.260368,
+ "##s": 0.1961876,
+ "styling": 0.65979207,
+ "##v": 1.2607203,
+ "xml": 0.28198877,
+ "notation": 0.18614972,
+ "merge": 1.5225787,
+ "record": 9.628666E-4,
+ "api": 0.0033062815,
+ "%": 0.62776524,
+ "tex": 0.2182437,
+ "'": 0.15451434,
+ "*": 0.26214752,
+ "analysis": 0.018141182,
+ "-": 0.15463455,
+ "tags": 0.5141987,
+ "/": 0.1024416,
+ "input": 1.2286375,
+ "domain": 0.30245027,
+ "=": 0.47848138,
+ "20": 0.66892284,
+ "virus": 0.22387113,
+ "literal": 1.0563363,
+ "example": 0.89298195,
+ "result": 1.0122615,
+ "into": 0.27400187,
+ "sd": 0.16273549,
+ "ian": 0.20175634,
+ "vector": 0.10498992,
+ "[": 0.8779403,
+ "fred": 0.4410922,
+ "]": 0.5412853,
+ "##ending": 0.7891883,
+ "email": 0.007849679,
+ "_": 1.0167879,
+ "sep": 0.48625726,
+ "ss": 0.057725742,
+ "st": 0.5389034,
+ "expression": 1.0778574,
+ "failures": 0.76640517,
+ "address": 0.20722787,
+ "contain": 0.06596762,
+ "reaction": 0.03459764,
+ "d": 0.2982439,
+ "g": 0.112207815,
+ "j": 0.36716473,
+ "cs": 1.2971648,
+ "single": 0.8203762,
+ "t": 0.4231835,
+ "answer": 0.078132175,
+ "bug": 0.27041522,
+ "v": 0.13189737,
+ "##uation": 0.069472596,
+ "x": 0.2264575,
+ "to": 1.4217633,
+ "|": 0.38725877,
+ "da": 0.4745698,
+ "operation": 0.22249207,
+ "}": 0.12646984,
+ "dd": 0.05649117,
+ "calculation": 0.03772015,
+ "##ar": 0.38932455,
+ "dh": 0.5631064,
+ "converting": 0.80069,
+ "inputs": 0.51985127,
+ "anne": 0.52841663,
+ "source": 0.99668133,
+ "specifications": 0.5548888,
+ "operator": 0.24696623,
+ "ds": 1.2102339,
+ "apache": 0.4208112,
+ "segment": 0.0068513947,
+ "warning": 1.4265795,
+ "ren": 0.27031115,
+ "reply": 0.1424212,
+ "results": 0.39450604,
+ "ur": 0.24948926,
+ "ed": 0.5718708,
+ "par": 0.22770467,
+ "which": 0.042948067,
+ "last": 0.68211347,
+ "eric": 0.004454571,
+ "sha": 0.30128074,
+ "discrete": 1.9140661,
+ "##rs": 0.025243707,
+ "converted": 0.9277381,
+ "failure": 1.0422837,
+ "fields": 0.795576,
+ "68": 0.69151837,
+ "formats": 0.32959965,
+ "blank": 0.061598465,
+ "string": 1.3569583,
+ "foo": 1.2911426,
+ "recording": 0.09933203,
+ "video": 0.02847118,
+ "interface": 0.54940766,
+ "sid": 0.7554657,
+ "mono": 1.0575773,
+ "not": 0.08772188,
+ "alert": 0.36975837,
+ "scope": 0.020496236,
+ "class": 0.4468754,
+ "conversion": 1.2727219,
+ "cipher": 0.12678608,
+ "digital": 0.08027116,
+ "##ception": 0.75656533,
+ "multiple": 0.4959931,
+ "specification": 0.641148,
+ "##ente": 1.0041474,
+ "recorded": 0.37436807,
+ "message": 0.009445148,
+ "translation": 0.5475376,
+ "syntax": 0.5855024,
+ "pub": 0.1713934,
+ "fancy": 0.12592953,
+ "gage": 0.041910954,
+ "pun": 0.011396429,
+ "convert": 1.4590144,
+ "multi": 0.7878836,
+ "peg": 0.37497365,
+ "problem": 0.016684754,
+ "##space": 1.1545038,
+ "jerry": 0.29500225,
+ "text": 0.08008775,
+ "algorithm": 0.54801583,
+ "##gum": 0.97112626,
+ "method": 0.019531546,
+ "gene": 0.19238785,
+ "ip": 2.1329582,
+ "index": 0.46684968,
+ "script": 0.37128657,
+ "fail": 0.038001705,
+ "field": 0.84328777,
+ "integration": 0.059905518,
+ "style": 0.81063676,
+ "math": 0.49554595,
+ "jude": 0.10622451,
+ "evaluate": 0.05495757,
+ "server": 0.03412205,
+ "conversions": 0.17237173,
+ "log": 0.044141635,
+ "unknown": 0.026252141,
+ "##arat": 0.80835664,
+ "valid": 0.015063932,
+ "file": 0.42676607,
+ "composed": 0.30357164,
+ "julia": 0.044513065,
+ "eddy": 0.09385707,
+ "include": 0.8711254,
+ "editor": 0.10535552,
+ "mat": 0.037302893,
+ "question": 0.09241443,
+ "heading": 0.45236236,
+ "display": 0.023433063,
+ "converts": 0.97094446,
+ "transformation": 0.28221804,
+ "organized": 0.18976536,
+ "cod": 0.18374136,
+ "checkpoint": 0.20410804,
+ "esq": 1.9316872,
+ "data": 0.38664228,
+ "dice": 0.22773115,
+ "integer": 0.044495393,
+ "spec": 1.6177357,
+ "translate": 0.82606393,
+ "space": 0.40512618,
+ "protocol": 0.5503679,
+ "continuous": 0.640342,
+ "html": 0.36954436,
+ "lap": 0.2324524,
+ "tag": 0.99497885,
+ "buffer": 0.1007907,
+ "expressed": 0.0074834256,
+ "including": 0.4087712,
+ "mp": 0.09812845,
+ "format": 1.1569431,
+ "archive": 0.18149404,
+ "failed": 0.7314915,
+ "interrupted": 0.058248386,
+ "illegal": 1.0886366,
+ "core": 0.2860301,
+ "jamie": 0.100766994,
+ "sequence": 0.0067950366,
+ "unit": 0.4973686,
+ "null": 1.4623535,
+ "header": 1.4886895,
+ "survey": 0.19229305,
+ "dash": 0.06378224,
+ "problems": 0.20284608,
+ "dave": 0.019713432,
+ "code": 0.25452483,
+ "boo": 0.09401149,
+ "line": 0.41748893,
+ "bot": 0.025579695,
+ "values": 0.13462326,
+ "link": 0.049864244,
+ "error": 0.73844916,
+ "percent": 0.20761567,
+ "sql": 0.21023946,
+ "network": 0.027725555,
+ "database": 0.18720716,
+ "lang": 0.7263367,
+ "value": 0.9129337,
+ "included": 0.25896522,
+ "warnings": 0.044041142,
+ "command": 0.2095565,
+ "serial": 0.58969283,
+ "response": 1.1234151,
+ "valued": 1.0064726,
+ "respond": 0.7942035
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-to_ip]]\n=== `TO_IP`\nConverts an input string to an IP value.\n\nThe input can be a single- or multi-valued field or an expression.\n\nExample:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/ip.csv-spec[tag=to_ip]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/ip.csv-spec[tag=to_ip-result]\n|===\n\nNote that in the example above the last conversion of the string isn't\npossible. When this happens, the result is a *null* value. In this case a\n_Warning_ header is added to the response. The header will provide information\non the source of the failure:\n\n`\"Line 1:68: evaluation of [TO_IP(str2)] failed, treating result as null. Only first 20 failures recorded.\"`\n\nA following header will contain the failure reason and the offending value:\n\n`\"java.lang.IllegalArgumentException: 'foo' is not an IP string literal.\"`\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "103f4f33-c7a9-438e-86f3-a15b9befd4d8",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/to_long.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##d": 0.45952258,
+ "styled": 1.259337,
+ "##l": 1.5222389,
+ "evaluation": 0.43375134,
+ "##r": 1.2267419,
+ "java": 1.3062447,
+ "##s": 0.3287362,
+ "styling": 0.60375935,
+ "##v": 1.3016878,
+ "notation": 0.14266382,
+ "jan": 0.109882936,
+ "xml": 0.108047634,
+ "merge": 1.6435356,
+ "record": 0.28806585,
+ "##lean": 1.1339344,
+ "merging": 0.09319829,
+ "%": 0.5299507,
+ "tex": 0.12873712,
+ "'": 0.17665754,
+ "*": 0.36310175,
+ "analysis": 0.008123454,
+ "-": 0.20896083,
+ "mill": 0.90066326,
+ "tags": 0.35385126,
+ "/": 0.06302433,
+ "0": 0.4157128,
+ "input": 1.5066597,
+ "interpretation": 0.73877585,
+ "must": 0.52104986,
+ "interpreted": 0.71004343,
+ "=": 0.2996516,
+ "20": 0.93013734,
+ "virus": 0.3365072,
+ "long": 1.7678373,
+ "example": 0.8339758,
+ "result": 0.8938348,
+ "into": 0.40368047,
+ "##or": 0.05869803,
+ "si": 0.07477374,
+ "vector": 0.06390973,
+ "[": 1.029293,
+ "fred": 0.49877512,
+ "so": 0.39772052,
+ "]": 0.4185868,
+ "##ending": 0.95111394,
+ "_": 1.025314,
+ "sep": 0.6285862,
+ "st": 0.7423079,
+ "expression": 1.1003083,
+ "failures": 0.70808476,
+ "c": 0.03399289,
+ "d": 0.42380387,
+ "column": 0.004464896,
+ "j": 0.36116806,
+ "possible": 0.018263275,
+ "cs": 1.429788,
+ "single": 0.82032245,
+ "t": 0.2924828,
+ "bug": 0.27672663,
+ "v": 0.4244251,
+ "##uation": 0.025388297,
+ "timeline": 0.25895324,
+ "to": 1.3587857,
+ "|": 0.50546753,
+ "}": 0.31236127,
+ "operation": 0.1574287,
+ "da": 0.11525791,
+ "calculation": 0.26511893,
+ "dd": 0.24352203,
+ "standard": 0.06684183,
+ "dh": 0.65029776,
+ "converting": 0.7880715,
+ "inputs": 0.34896305,
+ "numbers": 0.15468572,
+ "anne": 0.5066107,
+ "source": 0.9862406,
+ "specifications": 0.47924557,
+ "operator": 0.2089677,
+ "ds": 1.2935112,
+ "apache": 0.3894863,
+ "warning": 1.1604927,
+ "ren": 0.28800812,
+ "tall": 0.25432312,
+ "results": 0.20840845,
+ "ed": 0.67264026,
+ "par": 0.07960788,
+ "which": 0.040623497,
+ "##se": 0.25575244,
+ "last": 0.63068604,
+ "batch": 0.27381876,
+ "eric": 0.07475648,
+ "sha": 0.28253973,
+ "discrete": 1.8824546,
+ "##rs": 0.40573257,
+ "longer": 0.10949099,
+ "converted": 1.1103377,
+ "shell": 0.13740243,
+ "failure": 1.1241976,
+ "fields": 0.87696654,
+ "decimal": 0.2594899,
+ "parameters": 0.6391851,
+ "formats": 0.09034257,
+ "memory": 0.083588414,
+ "string": 1.2965146,
+ "import": 0.14863238,
+ "foo": 1.1098453,
+ "recording": 0.14655323,
+ "interface": 0.11979993,
+ "sid": 0.7162862,
+ "mono": 1.1098696,
+ "rate": 0.2691451,
+ "alert": 0.23303746,
+ "linux": 0.57763046,
+ "##con": 0.5173883,
+ "class": 0.4475909,
+ "conversion": 1.2391593,
+ "cipher": 0.21590814,
+ "types": 0.77029115,
+ "hours": 0.010886679,
+ "##ception": 0.8339024,
+ "length": 0.9960681,
+ "false": 0.86313826,
+ "multiple": 0.42693177,
+ "specification": 0.47247952,
+ "recorded": 0.40561277,
+ "##form": 1.0959294,
+ "interpret": 0.90185213,
+ "translation": 0.4793121,
+ "syntax": 0.5945792,
+ "time": 0.84405684,
+ "pub": 0.2856127,
+ "merger": 0.16289037,
+ "fancy": 0.23993053,
+ "##long": 0.34749287,
+ "gage": 0.11370583,
+ "arithmetic": 0.023924936,
+ "convert": 1.4376051,
+ "type": 1.2592292,
+ "multi": 0.8212934,
+ "number": 0.65844166,
+ "seconds": 0.20846361,
+ "peg": 0.4639461,
+ "problem": 0.18315314,
+ "##space": 1.0514753,
+ "nan": 0.14040731,
+ "jerry": 0.51100177,
+ "enter": 0.17515914,
+ "flow": 0.021690292,
+ "algorithm": 0.6363772,
+ "gene": 0.1984016,
+ "index": 0.40584666,
+ "dates": 0.7837398,
+ "script": 0.24462117,
+ "fail": 0.28064385,
+ "field": 0.9459392,
+ "binary": 0.09234943,
+ "style": 0.8362934,
+ "math": 0.71420306,
+ "jude": 0.45877323,
+ "conversions": 0.12545067,
+ "longest": 0.49159437,
+ "epoch": 1.3151441,
+ "##arat": 0.895256,
+ "valid": 0.02673497,
+ "file": 0.57386,
+ "julia": 0.3179571,
+ "era": 0.2999431,
+ "twenty": 0.22285645,
+ "include": 0.87806296,
+ "editor": 0.11019763,
+ "heading": 0.06657475,
+ "display": 0.23969746,
+ "converts": 0.93665016,
+ "transformation": 0.4316672,
+ "consolidation": 0.0010064542,
+ "computation": 0.05617409,
+ "excel": 0.25356624,
+ "century": 0.2593757,
+ "##meric": 0.9267971,
+ "cod": 0.29334223,
+ "date": 1.1443539,
+ "checkpoint": 0.27668524,
+ "esq": 1.9270552,
+ "panda": 0.035019938,
+ "data": 0.5358229,
+ "integer": 0.41823903,
+ "spec": 1.512745,
+ "translate": 0.72142994,
+ "space": 0.42674217,
+ "continuous": 0.61125654,
+ "html": 0.29486707,
+ "dax": 0.09009422,
+ "tag": 0.8860283,
+ "buffer": 0.13284318,
+ "expressed": 0.03961502,
+ "including": 0.3185971,
+ "read": 0.1453353,
+ "format": 1.0309399,
+ "archive": 0.32931736,
+ "failed": 0.69096315,
+ "interrupted": 0.0939823,
+ "jamie": 0.45480064,
+ "sequence": 0.28312495,
+ "core": 0.26678354,
+ "unit": 0.3279975,
+ "null": 1.0180689,
+ "true": 0.6114811,
+ "header": 1.1102942,
+ "unix": 1.371685,
+ "problems": 0.03138864,
+ "boo": 1.0251107,
+ "code": 0.26774788,
+ "penalty": 0.11526025,
+ "values": 0.25900948,
+ "nu": 0.21301168,
+ "cad": 0.048639335,
+ "gil": 0.24722628,
+ "error": 0.8463249,
+ "##ate": 0.051837005,
+ "percent": 0.053853888,
+ "sql": 0.38307598,
+ "database": 0.1874099,
+ "transform": 0.076899484,
+ "times": 0.02770132,
+ "array": 0.06734358,
+ "parameter": 0.82262254,
+ "dated": 0.19916518,
+ "lang": 0.95172936,
+ "value": 0.9380025,
+ "included": 0.14595146,
+ "##ise": 0.8750594,
+ "int": 1.144585,
+ "command": 0.06419039,
+ "serial": 0.6610722,
+ "valued": 0.9049038,
+ "response": 0.882211,
+ "respond": 0.4765346
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-to_long]]\n=== `TO_LONG`\nConverts an input value to a long value.\n\nThe input can be a single- or multi-valued field or an expression. The input\ntype must be of a boolean, date, string or numeric type.\n\nExample:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/ints.csv-spec[tag=to_long-str]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/ints.csv-spec[tag=to_long-str-result]\n|===\n\nNote that in this example, the last conversion of the string isn't\npossible. When this happens, the result is a *null* value. In this case a\n_Warning_ header is added to the response. The header will provide information\non the source of the failure:\n\n`\"Line 1:113: evaluation of [TO_LONG(str3)] failed, treating result as null. Only first 20 failures recorded.\"`\n\nA following header will contain the failure reason and the offending value:\n\n`\"java.lang.NumberFormatException: For input string: \\\"foo\\\"\"`\n\n\nIf the input parameter is of a date type, its value will be interpreted as\nmilliseconds since the https://en.wikipedia.org/wiki/Unix_time[Unix epoch],\nconverted to long.\n\nBoolean *true* will be converted to long *1*, *false* to *0*.\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "4702f5a2-7824-46bc-ac3d-0529899ab97c",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/to_radians.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.22838141,
+ "##d": 0.75616455,
+ "software": 0.039621208,
+ "##dian": 1.507227,
+ "gage": 0.3768161,
+ "pun": 0.016725786,
+ "arithmetic": 0.27647024,
+ "fin": 0.47197923,
+ "convert": 1.39545,
+ "styled": 1.0852283,
+ "alphabet": 0.16875526,
+ "during": 0.062008064,
+ "##l": 1.4969811,
+ "type": 0.85132754,
+ "degrees": 1.2912992,
+ "multi": 0.75318193,
+ "number": 0.8459012,
+ "java": 0.71601766,
+ "##s": 0.5293126,
+ "peg": 0.1758173,
+ "styling": 0.49628076,
+ "##v": 1.1598785,
+ "notation": 0.5342313,
+ "jan": 0.0037918827,
+ "merge": 1.3316749,
+ "##space": 1.1951975,
+ "https": 0.67282563,
+ "jerry": 0.22309472,
+ "text": 0.15784465,
+ "calculate": 0.02961016,
+ "algorithm": 0.48474562,
+ "%": 0.38514328,
+ "gene": 0.096678,
+ "double": 1.2740166,
+ "index": 0.32937902,
+ "circular": 0.05256442,
+ "analysis": 0.0216308,
+ "-": 0.2709835,
+ "script": 0.33463803,
+ "ra": 1.5970131,
+ "tags": 0.3778404,
+ "input": 1.0276345,
+ "analog": 0.17491959,
+ "ar": 0.09614941,
+ "as": 0.11388254,
+ "field": 1.127971,
+ "triple": 0.034288168,
+ "doubles": 0.55602515,
+ "science": 0.06013465,
+ "binary": 0.0066357735,
+ "style": 0.67384255,
+ "math": 0.89396447,
+ "circle": 0.14659719,
+ "jude": 0.1263153,
+ "bristol": 0.13170072,
+ "two": 0.2976997,
+ "bp": 0.100880265,
+ "example": 0.57384133,
+ "result": 0.8345312,
+ "##arat": 0.77815086,
+ "into": 0.53625363,
+ "computer": 0.108136766,
+ "file": 0.047156185,
+ "composed": 0.06381468,
+ "julia": 0.13630448,
+ "si": 0.42052191,
+ "physics": 0.025338786,
+ "angle": 1.3666756,
+ "vector": 0.43293425,
+ "currency": 0.021798657,
+ "[": 1.1854116,
+ "wikipedia": 0.76197314,
+ "fred": 0.22678158,
+ "eddy": 0.07448376,
+ "]": 0.53924024,
+ "graphic": 0.294934,
+ "_": 0.827031,
+ "sep": 0.46478057,
+ "include": 0.6565819,
+ "editor": 0.32145762,
+ "mat": 0.18530393,
+ "expression": 0.9229738,
+ "d": 0.3230149,
+ "display": 0.4777609,
+ "converts": 0.9027931,
+ "transformation": 0.15839057,
+ "consolidation": 0.0043695928,
+ "fraction": 0.11325088,
+ "cs": 1.3111532,
+ "single": 0.6833701,
+ "excel": 0.29761764,
+ "r": 0.13308041,
+ "t": 0.15568073,
+ "v": 0.07708845,
+ "##meric": 0.87687117,
+ "##uation": 0.07980536,
+ "cod": 0.09736413,
+ "to": 1.063856,
+ "|": 0.22224088,
+ "}": 0.4196065,
+ "chart": 0.29988587,
+ "da": 0.121342376,
+ "mathematical": 0.1586798,
+ "calculation": 0.41979173,
+ "dd": 0.21777792,
+ "symbol": 0.11158416,
+ "esq": 1.8697724,
+ "dh": 0.52329195,
+ "data": 0.2475369,
+ "converting": 0.6510005,
+ "inputs": 0.5106129,
+ "precision": 0.22617307,
+ "numbers": 0.41162938,
+ "dice": 0.10844752,
+ "din": 0.057980236,
+ "anne": 0.17774333,
+ "integer": 0.27136797,
+ "source": 0.14209518,
+ "float": 1.1873679,
+ "specifications": 0.44678694,
+ "spec": 1.7015816,
+ "translate": 0.95756024,
+ "space": 0.353794,
+ "ds": 1.1760625,
+ "continuous": 0.8885814,
+ "html": 0.2894771,
+ "lap": 0.1333421,
+ "ren": 0.059610184,
+ "tag": 0.80223924,
+ "expressed": 0.13800801,
+ "results": 0.36003387,
+ "weighted": 0.026185371,
+ "ed": 0.71828616,
+ "##se": 0.006278315,
+ "floats": 0.89506185,
+ "including": 0.13557951,
+ "degree": 1.6073575,
+ "format": 1.0523224,
+ "eric": 0.09505875,
+ "en": 0.21439068,
+ "sha": 0.30857864,
+ "discrete": 1.9444594,
+ "core": 0.22007048,
+ "sequence": 0.10479628,
+ "unit": 0.3435869,
+ "measure": 0.2838468,
+ "converted": 0.816733,
+ "geometric": 0.36858913,
+ "header": 0.8888202,
+ "http": 0.42978293,
+ "fields": 0.9700468,
+ "decimal": 0.49019024,
+ "coin": 0.019629156,
+ "formats": 0.2581585,
+ "code": 0.115110874,
+ "angles": 0.33609128,
+ "cad": 0.6420117,
+ "nu": 0.49769205,
+ "values": 0.2589182,
+ "gil": 0.40866068,
+ "units": 0.042136934,
+ "interface": 0.15896456,
+ "point": 0.0122377025,
+ "sid": 0.50507337,
+ "mono": 1.1660203,
+ "numerical": 0.08164759,
+ "wi": 0.26241255,
+ "transform": 0.14347425,
+ "floating": 0.9698151,
+ "definition": 0.002886536,
+ "value": 0.5877939,
+ "class": 0.21069832,
+ "conversion": 0.86899287,
+ "direction": 0.36638755,
+ "digital": 0.2586468,
+ "__": 0.0035510121,
+ "types": 0.4794857,
+ "equation": 0.49981803,
+ "multiple": 0.19801705,
+ "specification": 0.46583194,
+ "command": 0.026212312,
+ "valued": 0.94772947,
+ "translation": 0.6107228,
+ "syntax": 0.2948869
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-to_radians]]\n=== `TO_RADIANS`\nConverts a number in https://en.wikipedia.org/wiki/Degree_(angle)[degrees] to\nhttps://en.wikipedia.org/wiki/Radian[radians].\n\nThe input can be a single- or multi-valued field or an expression. The input\ntype must be of a numeric type and result is always `double`.\n\nExample:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/floats.csv-spec[tag=to_radians]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/floats.csv-spec[tag=to_radians-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "67e1f31a-109d-4ffd-978c-4f397d70f33b",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/to_string.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 0.2484758,
+ "functions": 0.862195,
+ "##d": 0.7346856,
+ "##g": 1.2685894,
+ "styled": 1.1325738,
+ "alphabet": 0.03706043,
+ "##l": 1.5191627,
+ "elmer": 0.26559973,
+ "##r": 0.82760745,
+ "java": 0.8274934,
+ "##s": 0.058022533,
+ "styling": 0.66051364,
+ "dev": 0.13331936,
+ "##v": 1.1710261,
+ "xml": 0.43313783,
+ "jan": 0.21279354,
+ "notation": 0.173385,
+ "merge": 1.5340956,
+ "api": 0.0072672307,
+ "%": 0.40825453,
+ "tex": 0.27023593,
+ "'": 0.031749014,
+ "inspired": 0.17021301,
+ "analysis": 0.10721289,
+ "-": 0.115281284,
+ "tags": 0.40712368,
+ "/": 0.043108046,
+ "as": 0.07698459,
+ "cue": 0.040758554,
+ "styles": 0.023172067,
+ "compression": 0.19201525,
+ "functional": 0.16649254,
+ "miscellaneous": 0.12845367,
+ "document": 0.14304742,
+ "matrix": 0.30112815,
+ "virus": 0.22024152,
+ "example": 0.2362664,
+ "result": 0.8567459,
+ "into": 0.2881681,
+ "encryption": 0.061571453,
+ "vector": 0.5628503,
+ "[": 0.6097377,
+ "fred": 0.46821293,
+ "embedded": 1.504088,
+ "graphic": 0.6148339,
+ "_": 0.9195204,
+ "sep": 0.39533716,
+ "sami": 0.3100119,
+ "st": 0.7312999,
+ "sv": 1.2950417,
+ "contain": 0.023887806,
+ "d": 0.24193354,
+ "sw": 0.0753446,
+ "cs": 1.2721517,
+ "simon": 0.0059731076,
+ "t": 0.4385455,
+ "v": 0.06620853,
+ "##uation": 0.11806995,
+ "to": 1.3338659,
+ "|": 0.05967813,
+ "da": 0.2795201,
+ "supported": 0.57212347,
+ "font": 0.44268674,
+ "dd": 0.17836377,
+ "ass": 0.16159241,
+ "standard": 0.10264388,
+ "dh": 0.44294,
+ "converting": 0.7138022,
+ "anne": 0.6963388,
+ "language": 0.09361176,
+ "source": 1.1319953,
+ "specifications": 0.5241848,
+ "ds": 1.0687653,
+ "apache": 0.22614864,
+ "ren": 0.124378785,
+ "results": 0.30865377,
+ "ed": 0.61078376,
+ "par": 0.17643604,
+ "image": 0.7439856,
+ "eh": 0.12431993,
+ "patterns": 0.053469416,
+ "eric": 0.06980839,
+ "sha": 0.31953573,
+ "discrete": 1.8644884,
+ "opt": 1.4654793,
+ "converted": 0.6936718,
+ "fields": 1.2089429,
+ "useful": 0.4159147,
+ "support": 0.17040324,
+ "opted": 0.3779078,
+ "formats": 0.4298363,
+ "string": 1.9290513,
+ "import": 0.21915726,
+ "sources": 0.036488544,
+ "interface": 0.44568938,
+ "wave": 0.03314378,
+ "sid": 0.62823033,
+ "mono": 0.9521613,
+ "##ci": 1.140508,
+ "class": 0.29879537,
+ "conversion": 0.7087774,
+ "##ue": 0.65560925,
+ "digital": 0.17145938,
+ "cipher": 0.16922551,
+ "types": 1.0279976,
+ "center": 0.8441069,
+ "multiple": 0.46769077,
+ "length": 0.3346285,
+ "specification": 0.64012897,
+ "editing": 0.087510996,
+ "translation": 0.3230772,
+ "syntax": 0.7037633,
+ "pub": 0.3500093,
+ "software": 0.36505187,
+ "pun": 0.07663166,
+ "convert": 1.2897865,
+ "during": 0.17122787,
+ "type": 0.660983,
+ "signatures": 0.64858943,
+ "multi": 1.0414869,
+ "compatible": 0.2088701,
+ "peg": 0.62220454,
+ "##space": 1.0596368,
+ "text": 1.0508012,
+ "jerry": 0.315642,
+ "algorithm": 0.5750247,
+ "images": 0.23959605,
+ "method": 0.08750499,
+ "gene": 0.15349925,
+ "signed": 0.6189449,
+ "index": 0.5016548,
+ "script": 0.34172118,
+ "field": 1.3905399,
+ "binary": 0.054255717,
+ "style": 0.83956623,
+ "math": 0.46149707,
+ "jude": 0.3029398,
+ "##val": 1.0814698,
+ "template": 0.18747443,
+ "signature": 1.4469534,
+ "translator": 0.095570475,
+ "pattern": 0.38535503,
+ "stamp": 0.09779793,
+ "##arat": 0.7251951,
+ "file": 0.648646,
+ "strings": 0.24762401,
+ "composed": 0.1915626,
+ "julia": 0.13939583,
+ "eddy": 0.058566272,
+ "copy": 0.029279577,
+ "editor": 0.8371565,
+ "include": 0.7210595,
+ "mat": 0.16983074,
+ "heading": 0.21429822,
+ "display": 0.2731066,
+ "##id": 0.7582614,
+ "converts": 0.7308517,
+ "transformation": 0.04795167,
+ "excel": 0.4067354,
+ "framework": 0.0464172,
+ "organized": 0.11939979,
+ "cod": 0.13846968,
+ "shaw": 0.1271756,
+ "esq": 2.0682793,
+ "data": 0.488987,
+ "sign": 0.38071883,
+ "dice": 0.026188621,
+ "spec": 1.5458738,
+ "translate": 0.83869845,
+ "space": 0.4616206,
+ "protocol": 0.17772177,
+ "split": 0.08843403,
+ "plain": 0.059425753,
+ "function": 0.9146841,
+ "continuous": 0.7651553,
+ "html": 0.6220581,
+ "lap": 0.07712785,
+ "tag": 0.84917486,
+ "buffer": 0.15866199,
+ "combine": 0.017330755,
+ "including": 0.24727106,
+ "mp": 0.024228903,
+ "format": 1.0916158,
+ "##ido": 1.6070347,
+ "archive": 0.2621168,
+ "sort": 0.2689254,
+ "tool": 0.14292043,
+ "jamie": 0.34003136,
+ "core": 0.3020328,
+ "sequence": 0.16933261,
+ "unit": 0.04423265,
+ "##ida": 0.48404646,
+ "header": 1.0773377,
+ "files": 0.0120962635,
+ "differentiation": 0.06830779,
+ "code": 0.01507908,
+ "cad": 0.565506,
+ "roc": 0.092542455,
+ "link": 0.0805004,
+ "gil": 0.2621634,
+ "sql": 0.16294092,
+ "database": 0.27964115,
+ "transform": 0.16444154,
+ "para": 0.20426899,
+ "array": 0.12706947,
+ "alias": 1.1414928,
+ "command": 0.25919613,
+ "inline": 1.2290363,
+ "serial": 0.73581463
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-to_string]]\n=== `TO_STRING`\n[.text-center]\nimage::esql/functions/signature/to_string.svg[Embedded,opts=inline]\n\nConverts a field into a string. For example:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=to_string]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=to_string-result]\n|===\n\nIt also works fine on multivalued fields:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=to_string_multivalue]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=to_string_multivalue-result]\n|===\n\nAlias: TO_STR\n\nSupported types:\n\ninclude::types/to_string.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "d9d6b268-0282-462d-aedb-0ddd48dc4b2c",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/to_unsigned_long.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "exception": 0.020920213,
+ "##d": 0.40497574,
+ "laps": 0.1209155,
+ "styled": 1.1854608,
+ "alphabet": 0.018978322,
+ "##l": 1.490883,
+ "evaluation": 0.32439116,
+ "##r": 1.4063692,
+ "character": 0.31882715,
+ "java": 1.4397782,
+ "##s": 0.09809387,
+ "styling": 0.48889297,
+ "len": 0.03286835,
+ "##v": 1.2616359,
+ "notation": 1.1902237,
+ "xml": 0.17512493,
+ "merge": 1.5842328,
+ "record": 0.07342481,
+ "percussion": 0.024066923,
+ "##lean": 1.110237,
+ "%": 0.2019202,
+ "tex": 0.030920073,
+ "league": 0.4000968,
+ "*": 0.3671459,
+ "remaining": 0.014717815,
+ "mill": 0.89887947,
+ "tags": 0.31958216,
+ "0": 0.22850284,
+ "input": 1.3041483,
+ "1": 0.04778883,
+ "interpretation": 0.7078274,
+ "must": 0.30021155,
+ "interpreted": 0.7131587,
+ "20": 0.6901193,
+ "virus": 0.22310998,
+ "long": 1.5912832,
+ "example": 0.80596983,
+ "result": 0.81726897,
+ "characters": 0.48632807,
+ "into": 0.071313076,
+ "si": 0.1367762,
+ "vector": 0.09554675,
+ "[": 0.8506401,
+ "fred": 0.4844088,
+ "]": 0.20032291,
+ "##ending": 0.84214073,
+ "_": 0.88427716,
+ "sep": 0.3296362,
+ "st": 0.89951473,
+ "expression": 1.0762209,
+ "failures": 0.9614839,
+ "c": 0.10988902,
+ "d": 0.32441735,
+ "e": 0.89871335,
+ "f": 0.97715926,
+ "j": 0.4785685,
+ "cs": 1.419342,
+ "single": 0.77033377,
+ "t": 0.11429967,
+ "bug": 0.24480997,
+ "v": 0.31213105,
+ "isa": 0.075259134,
+ "##uation": 0.06979516,
+ "timeline": 1.965568E-4,
+ "digits": 0.6623828,
+ "to": 0.9374287,
+ "|": 0.3026992,
+ "operation": 0.15094966,
+ "}": 0.0953089,
+ "da": 0.017813342,
+ "calculation": 0.24596745,
+ "dd": 0.1540922,
+ "standard": 0.058511406,
+ "dh": 0.50902605,
+ "converting": 0.6782071,
+ "inputs": 0.07234089,
+ "dl": 0.057594646,
+ "anne": 0.26070768,
+ "source": 0.4620091,
+ "specifications": 0.37212938,
+ "operator": 0.1434758,
+ "ds": 1.1167454,
+ "ata": 0.0370641,
+ "apache": 0.4078666,
+ "ul": 1.8432684,
+ "warning": 1.0473728,
+ "ren": 0.24262439,
+ "ed": 0.6628727,
+ "digit": 0.62078613,
+ "par": 0.13045713,
+ "##se": 0.060831044,
+ "chess": 0.042818103,
+ "last": 0.90785134,
+ "batch": 0.32892013,
+ "eric": 0.21110429,
+ "sha": 0.36510175,
+ "discrete": 1.8060874,
+ "##rs": 0.37851918,
+ "converted": 0.9321448,
+ "failure": 1.1259493,
+ "final": 0.10138558,
+ "decimal": 1.0431676,
+ "fields": 0.8661631,
+ "parameters": 0.71616644,
+ "formats": 0.111756556,
+ "string": 1.3509212,
+ "interface": 0.15182367,
+ "sid": 0.79385585,
+ "mono": 1.1124655,
+ "alert": 0.11335402,
+ "rate": 0.034602128,
+ "linux": 0.45315874,
+ "##con": 0.4682752,
+ "class": 0.4323693,
+ "conversion": 1.2002629,
+ "cipher": 0.270014,
+ "digital": 0.0807616,
+ "types": 0.63435096,
+ "##ception": 0.9744857,
+ "length": 0.8311236,
+ "false": 0.67556125,
+ "multiple": 0.36958712,
+ "specification": 0.51853496,
+ "recorded": 0.25134343,
+ "##form": 1.1236199,
+ "interpret": 0.83702105,
+ "translation": 0.4427286,
+ "syntax": 0.5196711,
+ "time": 0.7381153,
+ "pub": 0.36562797,
+ "mark": 0.96655416,
+ "merger": 0.0436741,
+ "fancy": 0.15387012,
+ "gage": 0.25267005,
+ "pun": 0.031849712,
+ "arithmetic": 0.22653118,
+ "convert": 1.3724897,
+ "type": 1.2196214,
+ "multi": 0.7934862,
+ "number": 0.5252664,
+ "seconds": 0.260218,
+ "peg": 0.4613403,
+ "problem": 0.13135289,
+ "##space": 1.0788,
+ "nan": 0.23853317,
+ "jerry": 0.44874668,
+ "enter": 0.022501625,
+ "algorithm": 0.6007579,
+ "attempts": 0.036424983,
+ "gene": 0.15299259,
+ "signed": 1.2013334,
+ "index": 0.3573845,
+ "dates": 0.71446854,
+ "script": 0.22340244,
+ "fail": 0.3067227,
+ "field": 0.99919975,
+ "binary": 0.444871,
+ "style": 0.7216455,
+ "math": 0.7050134,
+ "jude": 0.23853007,
+ "longest": 0.1412295,
+ "log": 0.012955423,
+ "epoch": 1.4258703,
+ "##arat": 0.6922126,
+ "valid": 0.0037568484,
+ "computer": 0.035904143,
+ "file": 0.4762375,
+ "composed": 0.12784249,
+ "era": 0.26607656,
+ "julia": 0.045037076,
+ "eddy": 0.110238634,
+ "include": 0.69946885,
+ "editor": 0.17868936,
+ "display": 0.24351989,
+ "converts": 0.83128107,
+ "transformation": 0.25516823,
+ "excel": 0.11894648,
+ "century": 0.19440761,
+ "##meric": 0.82119125,
+ "cod": 0.51832086,
+ "li": 0.57958156,
+ "exponential": 1.4796907,
+ "date": 1.0585632,
+ "checkpoint": 0.32458627,
+ "esq": 1.8319718,
+ "data": 0.3286967,
+ "integer": 0.5823447,
+ "spec": 1.5019205,
+ "translate": 0.7037663,
+ "space": 0.21772547,
+ "continuous": 0.46852487,
+ "html": 0.14544405,
+ "tag": 0.92100585,
+ "buffer": 0.068907835,
+ "combine": 0.05820025,
+ "marked": 0.012005807,
+ "read": 0.11977254,
+ "including": 0.031641264,
+ "format": 1.0425175,
+ "archive": 0.11575995,
+ "failed": 0.7820269,
+ "illegal": 0.05641895,
+ "core": 0.31579342,
+ "sequence": 0.29216927,
+ "jamie": 0.14655672,
+ "unit": 0.35155612,
+ "null": 0.8363805,
+ "true": 0.49135607,
+ "header": 1.02997,
+ "unix": 1.2357091,
+ "problems": 0.31515378,
+ "boo": 1.0588232,
+ "code": 0.29705334,
+ "penalty": 0.22304188,
+ "line": 0.20272617,
+ "nu": 0.2863298,
+ "values": 0.10458446,
+ "cad": 0.06443374,
+ "gil": 0.38969317,
+ "error": 0.82873887,
+ "##ate": 0.1757621,
+ "sql": 0.22944348,
+ "nonsense": 0.0566125,
+ "times": 0.018510457,
+ "##3": 0.6209073,
+ "array": 0.06271032,
+ "parameter": 0.9428402,
+ "alias": 1.2832395,
+ "dated": 0.09801681,
+ "lang": 0.9965833,
+ "value": 0.89942837,
+ "expo": 0.3580663,
+ "##ise": 0.7701886,
+ "equation": 0.46857443,
+ "int": 1.1029867,
+ "command": 0.074472144,
+ "marking": 0.2902604,
+ "serial": 0.7193897,
+ "##ong": 1.4172986,
+ "valued": 0.9693374,
+ "response": 0.80384654,
+ "unsigned": 1.6525033,
+ "respond": 0.36428067
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-to_unsigned_long]]\n=== `TO_UNSIGNED_LONG`\nConverts an input value to an unsigned long value.\n\nThe input can be a single- or multi-valued field or an expression. The input\ntype must be of a boolean, date, string or numeric type.\n\nExample:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/ints.csv-spec[tag=to_unsigned_long-str]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/ints.csv-spec[tag=to_unsigned_long-str-result]\n|===\n\nNote that in this example, the last conversion of the string isn't\npossible. When this happens, the result is a *null* value. In this case a\n_Warning_ header is added to the response. The header will provide information\non the source of the failure:\n\n`\"Line 1:133: evaluation of [TO_UL(str3)] failed, treating result as null. Only first 20 failures recorded.\"`\n\nA following header will contain the failure reason and the offending value:\n\n`\"java.lang.NumberFormatException: Character f is neither a decimal digit number, decimal point, nor \\\"e\\\" notation exponential mark.\"`\n\n\nIf the input parameter is of a date type, its value will be interpreted as\nmilliseconds since the https://en.wikipedia.org/wiki/Unix_time[Unix epoch],\nconverted to unsigned long.\n\nBoolean *true* will be converted to unsigned long *1*, *false* to *0*.\n\nAlias: TO_ULONG, TO_UL\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "849b75f7-f803-44bb-84e7-b5527df6d1e1",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/to_version.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 0.2829145,
+ "functions": 0.76869076,
+ "##d": 0.68133193,
+ "##g": 1.2040232,
+ "styled": 1.0356141,
+ "##frame": 0.09586556,
+ "##l": 1.4565599,
+ "elmer": 0.3004724,
+ "##r": 1.006625,
+ "java": 0.73922145,
+ "##s": 0.24824388,
+ "styling": 0.57817096,
+ "dev": 0.0997065,
+ "##v": 1.260845,
+ "xml": 0.35400614,
+ "notation": 0.26051542,
+ "jan": 0.0770442,
+ "merge": 1.4895533,
+ "merging": 0.1634385,
+ "%": 0.6504786,
+ "tex": 0.15712883,
+ "analysis": 0.28122148,
+ "version": 1.9032944,
+ "-": 0.054853868,
+ "tags": 0.35149926,
+ "/": 0.26761168,
+ "input": 1.1530336,
+ "as": 0.18750882,
+ "miscellaneous": 0.013803499,
+ "document": 0.08943132,
+ "matrix": 0.21677911,
+ "virus": 0.27548462,
+ "example": 0.44447607,
+ "result": 0.6897175,
+ "si": 0.10540938,
+ "vector": 0.5069509,
+ "[": 0.75091255,
+ "fred": 0.40683603,
+ "embedded": 1.5115266,
+ "graphic": 0.6637976,
+ "_": 1.0492952,
+ "sep": 0.31934702,
+ "sami": 0.22561204,
+ "sv": 1.2773285,
+ "expression": 0.8041171,
+ "contain": 0.22731793,
+ "c": 0.02504097,
+ "d": 0.11960247,
+ "sw": 0.03912886,
+ "sample": 0.07984587,
+ "cs": 1.296342,
+ "single": 0.6575959,
+ "t": 0.22680077,
+ "v": 0.6388355,
+ "collaboration": 0.11679242,
+ "##uation": 0.02046914,
+ "to": 1.3837793,
+ "|": 0.416845,
+ "da": 0.21501352,
+ "}": 0.09544966,
+ "chart": 0.04696637,
+ "supported": 0.72351485,
+ "font": 0.3031164,
+ "ass": 0.15318754,
+ "dd": 0.024211217,
+ "standard": 0.006538308,
+ "dh": 0.3915397,
+ "converting": 0.53533536,
+ "inputs": 0.36751983,
+ "anne": 0.6717728,
+ "source": 0.88343215,
+ "specifications": 0.6817933,
+ "ds": 1.0571598,
+ "apache": 0.1556594,
+ "ren": 0.15277325,
+ "results": 0.03162186,
+ "ed": 0.5875125,
+ "par": 0.02669516,
+ "image": 0.9026426,
+ "batch": 0.34069413,
+ "sha": 0.4123181,
+ "ve": 1.6241591,
+ "discrete": 1.8851519,
+ "opt": 1.4436008,
+ "converted": 0.7106977,
+ "fields": 0.7188606,
+ "support": 0.39805445,
+ "opted": 0.2819223,
+ "formats": 0.35817754,
+ "string": 0.8913528,
+ "import": 0.12156788,
+ "video": 0.0902623,
+ "interface": 0.25489333,
+ "sid": 0.6892191,
+ "mono": 0.9448132,
+ "##ci": 1.0703499,
+ "class": 0.25677016,
+ "conversion": 0.7088173,
+ "digital": 0.14485008,
+ "types": 1.0667754,
+ "center": 0.72359914,
+ "multiple": 0.20416646,
+ "specification": 0.68834805,
+ "translation": 0.36016253,
+ "syntax": 0.6455898,
+ "pub": 0.43407154,
+ "merger": 0.26534662,
+ "fancy": 0.050240014,
+ "mod": 0.18405876,
+ "software": 0.38576216,
+ "gage": 0.15646927,
+ "convert": 1.2171537,
+ "during": 2.2671037E-4,
+ "type": 0.7004182,
+ "signatures": 0.4682631,
+ "multi": 0.45511323,
+ "peg": 0.51171875,
+ "##space": 0.98524845,
+ "text": 1.0322949,
+ "jerry": 0.28918436,
+ "flow": 0.018638588,
+ "algorithm": 0.41621605,
+ "phase": 0.18156831,
+ "images": 0.32927054,
+ "gene": 0.36118624,
+ "signed": 0.54397,
+ "index": 0.37580502,
+ "script": 0.40429306,
+ "field": 0.7341361,
+ "versions": 1.086769,
+ "style": 0.8154208,
+ "math": 0.4746386,
+ "jude": 0.10792104,
+ "template": 0.2076578,
+ "signature": 1.3154806,
+ "log": 0.038837988,
+ "jp": 0.15194482,
+ "translator": 0.07263193,
+ "pattern": 0.19762139,
+ "##arat": 0.5289099,
+ "file": 0.78399104,
+ "julia": 0.21046259,
+ "copy": 0.23753986,
+ "include": 1.1672701,
+ "editor": 0.6243547,
+ "heading": 0.047859173,
+ "display": 0.19826306,
+ "miranda": 0.011629526,
+ "converts": 0.6841842,
+ "##id": 0.45514864,
+ "consolidation": 0.1075202,
+ "transformation": 0.03152264,
+ "excel": 0.2697597,
+ "report": 0.05021893,
+ "cod": 0.21572551,
+ "checkpoint": 0.122022025,
+ "esq": 2.057156,
+ "data": 0.34817025,
+ "sign": 0.3846425,
+ "dice": 0.031884585,
+ "spec": 1.6623635,
+ "translate": 0.7835577,
+ "space": 0.2664508,
+ "function": 0.8819916,
+ "continuous": 0.8337067,
+ "html": 0.50463825,
+ "lap": 0.22139767,
+ "tag": 0.84013796,
+ "buffer": 0.06771629,
+ "combine": 0.07550125,
+ "including": 0.71734464,
+ "read": 0.02924855,
+ "like": 0.09586697,
+ "format": 1.04627,
+ "##ido": 1.38028,
+ "archive": 0.38505253,
+ "includes": 0.12865034,
+ "sort": 0.036391187,
+ "revision": 0.75112563,
+ "core": 0.26201653,
+ "jamie": 0.23534009,
+ "sequence": 0.061374042,
+ "unit": 0.09259559,
+ "##ida": 0.19942488,
+ "header": 1.0250381,
+ "files": 0.077057324,
+ "differentiation": 0.20808475,
+ "code": 0.09383319,
+ "blend": 0.056145012,
+ "cad": 0.5664118,
+ "values": 0.15250902,
+ "gil": 0.18618298,
+ "percent": 0.20841445,
+ "sql": 0.10292785,
+ "database": 0.29129058,
+ "transform": 0.05608945,
+ "alias": 1.3933263,
+ "value": 0.88963157,
+ "included": 0.4463493,
+ "command": 0.047241583,
+ "inline": 1.1892232,
+ "serial": 0.6839347,
+ "valued": 0.9468211
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-to_version]]\n=== `TO_VERSION`\n[.text-center]\nimage::esql/functions/signature/to_version.svg[Embedded,opts=inline]\n\nConverts an input string to a version value. For example:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/version.csv-spec[tag=to_version]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/version.csv-spec[tag=to_version-result]\n|===\n\nThe input can be a single- or multi-valued field or an expression.\n\nAlias: TO_VER\n\nSupported types:\n\ninclude::types/to_version.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "caa85685-a599-49ee-9ac6-d3dcdba99174",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/trim.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.04511126,
+ "vladimir": 0.03086263,
+ "##c": 0.4366758,
+ "functions": 0.8479886,
+ "##d": 0.58715385,
+ "leading": 1.517869,
+ "allowed": 0.09834856,
+ "##g": 0.9913031,
+ "del": 0.3210115,
+ "styled": 1.0884782,
+ "alphabet": 0.01797833,
+ "##frame": 0.001489126,
+ "##l": 1.4741745,
+ "elmer": 0.34441635,
+ "character": 0.0103133125,
+ "trailing": 1.3999546,
+ "java": 0.6367439,
+ "##s": 0.1831176,
+ "trim": 2.2812502,
+ "styling": 0.7823599,
+ "dev": 0.022782603,
+ "##v": 1.1837925,
+ "xml": 0.43619406,
+ "notation": 0.21538043,
+ "jan": 0.1872468,
+ "merge": 1.6608511,
+ "jam": 0.18138716,
+ "playback": 0.016875481,
+ "merging": 0.24822481,
+ "%": 0.7626094,
+ "tex": 0.050704718,
+ "analysis": 0.07285872,
+ "-": 0.18716781,
+ "remaining": 0.0737224,
+ "tags": 0.46223634,
+ "/": 0.051450394,
+ "as": 0.40203443,
+ "stop": 0.022172647,
+ "compression": 0.3937029,
+ "functional": 0.18036723,
+ "miscellaneous": 0.22764467,
+ "mid": 0.29569796,
+ "eliminate": 0.6459544,
+ "matrix": 0.029481806,
+ "virus": 0.20028028,
+ "result": 0.87176704,
+ "characters": 0.39904243,
+ "coding": 0.02525196,
+ "encryption": 0.06282183,
+ "blocking": 0.09125679,
+ "vector": 0.4833116,
+ "[": 0.532691,
+ "fred": 0.46856934,
+ "embedded": 1.4405124,
+ "graphic": 0.7978194,
+ "_": 0.38729155,
+ "sep": 0.32730684,
+ "sami": 0.28358138,
+ "chip": 0.10023192,
+ "sv": 1.2480938,
+ "suppress": 0.6370207,
+ "sample": 0.1767015,
+ "cs": 1.26531,
+ "bug": 0.18462217,
+ "v": 0.127691,
+ "##uation": 0.26537257,
+ "|": 0.2338141,
+ "da": 0.46028972,
+ "}": 0.39330596,
+ "supported": 0.8366293,
+ "font": 0.6425387,
+ "standard": 0.060101647,
+ "ass": 0.054438394,
+ "dh": 0.29149243,
+ "anne": 0.80528486,
+ "source": 0.02069441,
+ "specifications": 0.5724205,
+ "ds": 1.0015324,
+ "apache": 0.2517275,
+ "white": 0.29323226,
+ "exclude": 0.26775116,
+ "results": 0.18026471,
+ "ed": 0.47375038,
+ "par": 0.11570409,
+ "image": 0.79189324,
+ "patterns": 0.018705865,
+ "eric": 0.055744395,
+ "sha": 0.3535121,
+ "discrete": 1.8626121,
+ "opt": 1.4384525,
+ "extract": 0.3251978,
+ "spaces": 0.5569193,
+ "trimmed": 0.8307751,
+ "fields": 5.134218E-4,
+ "support": 0.59649336,
+ "opted": 0.3856028,
+ "formats": 0.4350971,
+ "string": 1.2545178,
+ "video": 0.006908341,
+ "interface": 0.30075854,
+ "##son": 0.15287289,
+ "remove": 1.2460215,
+ "sid": 0.70175356,
+ "mono": 1.0965577,
+ "button": 0.18119423,
+ "prevent": 0.17445381,
+ "##ci": 1.2233224,
+ "class": 0.22889404,
+ "mask": 0.41638446,
+ "cipher": 0.3913132,
+ "digital": 0.22921601,
+ "types": 1.1798368,
+ "##entation": 0.20322888,
+ "spelling": 0.20165062,
+ "center": 1.011541,
+ "length": 0.41592008,
+ "specification": 0.69564706,
+ "editing": 0.17427456,
+ "scribe": 0.063939705,
+ "layout": 0.0657128,
+ "removal": 0.9306803,
+ "syntax": 0.519167,
+ "pub": 0.12017104,
+ "mark": 0.15790196,
+ "merger": 0.02658245,
+ "copyright": 0.1429409,
+ "fancy": 0.12784334,
+ "software": 0.5752328,
+ "pun": 0.12136645,
+ "gage": 0.055069383,
+ "type": 0.9004629,
+ "rid": 0.39248314,
+ "signatures": 0.69626015,
+ "peg": 0.67064744,
+ "##space": 1.0959024,
+ "text": 1.0445534,
+ "jerry": 0.37744424,
+ "flow": 0.039397296,
+ "algorithm": 0.49579358,
+ "reduce": 0.46894434,
+ "images": 0.21657303,
+ "gene": 0.1791124,
+ "liga": 0.14005223,
+ "signed": 0.511068,
+ "index": 0.40373507,
+ "##cing": 0.17020357,
+ "script": 0.49414495,
+ "removing": 0.4632993,
+ "style": 0.83593357,
+ "math": 0.099066466,
+ "jude": 0.05418797,
+ "template": 0.38327548,
+ "flag": 0.104068406,
+ "signature": 1.576468,
+ "jp": 0.29441905,
+ "pattern": 0.5051817,
+ "stamp": 0.060515337,
+ "protection": 0.0111813145,
+ "sequences": 0.26761872,
+ "layer": 0.120822325,
+ "##arat": 0.7279639,
+ "file": 0.6970539,
+ "strings": 1.0471718,
+ "composed": 0.26037163,
+ "eddy": 0.15912573,
+ "elimination": 0.009121769,
+ "editor": 0.83531535,
+ "include": 0.76272243,
+ "erase": 0.19794253,
+ "heading": 0.2885889,
+ "display": 0.2606333,
+ "##id": 0.6964139,
+ "lead": 0.24734776,
+ "excel": 0.14916095,
+ "removed": 0.32430783,
+ "cod": 0.11775803,
+ "removes": 0.5320474,
+ "discreet": 0.09523575,
+ "checkpoint": 0.43546945,
+ "esq": 2.0602453,
+ "data": 0.20646209,
+ "sign": 0.47447982,
+ "dice": 0.15767513,
+ "spec": 1.4585413,
+ "space": 0.9720054,
+ "whites": 1.1699716,
+ "protocol": 0.04622918,
+ "strip": 0.09502655,
+ "tab": 0.32789546,
+ "function": 0.99952966,
+ "continuous": 0.71489733,
+ "html": 0.48043823,
+ "lap": 0.15085402,
+ "tag": 0.8851538,
+ "buffer": 0.41128936,
+ "combine": 0.2078545,
+ "including": 0.23265816,
+ "##pace": 1.2778729,
+ "format": 1.0225658,
+ "##ido": 1.5368887,
+ "archive": 0.36649904,
+ "sort": 0.11098273,
+ "tool": 0.25575548,
+ "core": 0.4541924,
+ "sequence": 0.31147194,
+ "jamie": 0.23712559,
+ "##ida": 0.25607803,
+ "header": 1.1915282,
+ "files": 0.09384491,
+ "carly": 0.13118081,
+ "differentiation": 0.13607259,
+ "bot": 0.12047545,
+ "cad": 0.5448066,
+ "link": 0.0021246735,
+ "technique": 0.073411845,
+ "gil": 0.0058856513,
+ "percent": 0.2486413,
+ "para": 0.21479505,
+ "##lib": 0.16818233,
+ "camouflage": 0.014627009,
+ "included": 0.044575546,
+ "cleaning": 0.09935685,
+ "keyboard": 0.3637065,
+ "banner": 0.047592994,
+ "control": 0.15853575,
+ "command": 0.260819,
+ "inline": 1.3186547,
+ "serial": 0.5044866,
+ "slash": 0.493928,
+ "maintenance": 0.062545605
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-trim]]\n=== `TRIM`\n[.text-center]\nimage::esql/functions/signature/trim.svg[Embedded,opts=inline]\n\nRemoves leading and trailing whitespaces from strings.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/string.csv-spec[tag=trim]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/string.csv-spec[tag=trim-result]\n|===\n\nSupported types:\n\ninclude::types/trim.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "ecc61f58-b027-4ded-a0e2-974d31b73faf",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/type_conversion_functions.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##c": 0.5225525,
+ "functions": 0.8952168,
+ "software": 0.082737714,
+ "##dian": 1.0933845,
+ "gage": 0.37044743,
+ "arithmetic": 0.32413724,
+ "##i": 0.030088825,
+ "convert": 1.3223503,
+ "alphabet": 0.39253226,
+ "program": 0.027818542,
+ "type": 1.8873866,
+ "##l": 1.4753577,
+ "degrees": 0.9843736,
+ "compatible": 0.022984637,
+ "java": 1.1705905,
+ "peg": 0.4805899,
+ "##v": 0.57879585,
+ "jan": 0.17007565,
+ "notation": 0.06257114,
+ "jerry": 0.41569558,
+ "##lean": 0.77276355,
+ "algorithm": 0.46238035,
+ "gene": 0.3209917,
+ "double": 0.9285859,
+ "tex": 0.015108202,
+ "ip": 1.1269363,
+ "index": 0.68910116,
+ "signed": 0.59819824,
+ "dates": 0.08917752,
+ "+": 1.0535872,
+ "version": 0.7586742,
+ "script": 0.120512746,
+ "ra": 0.9235093,
+ "tags": 0.37255836,
+ "as": 0.3198007,
+ "miller": 0.0560296,
+ "doubles": 0.12866229,
+ "versions": 0.0076175923,
+ "binary": 0.28397316,
+ "unicode": 0.25671834,
+ "math": 0.92150724,
+ "circle": 0.043597415,
+ "jude": 0.2224684,
+ "conversions": 0.12753403,
+ "functional": 0.07354344,
+ "longest": 0.16404139,
+ "aim": 0.034213636,
+ "##ler": 0.029621733,
+ "pattern": 0.025138274,
+ "monte": 0.036898445,
+ "##bre": 1.2389597,
+ "long": 0.7546804,
+ "##bra": 0.3470338,
+ "julia": 0.12751451,
+ "vector": 0.25046644,
+ "fred": 0.42055652,
+ "[": 0.14913549,
+ "_": 0.7977942,
+ "include": 0.74379885,
+ "editor": 0.62054193,
+ "expression": 0.17387542,
+ "c": 0.07778836,
+ "display": 0.47389734,
+ "column": 0.4278248,
+ "##id": 0.72669345,
+ "transformation": 0.33438736,
+ "transition": 0.004706021,
+ "excel": 0.21768971,
+ "rachel": 0.11686762,
+ "cod": 0.43865412,
+ "to": 0.6074004,
+ "}": 0.064403445,
+ "font": 0.011631646,
+ "date": 0.6568134,
+ "calculation": 0.2596764,
+ "ass": 0.065912485,
+ "symbol": 0.08567408,
+ "esq": 1.9466524,
+ "converting": 0.61166126,
+ "dj": 0.13916154,
+ "precision": 0.21509399,
+ "anne": 0.7890697,
+ "language": 0.1106052,
+ "integer": 0.905074,
+ "ata": 0.23316133,
+ "##ab": 1.0217605,
+ "apache": 0.42940032,
+ "function": 1.1576086,
+ "html": 0.31340188,
+ "tag": 0.9122751,
+ "buffer": 0.20025529,
+ "ed": 0.53835183,
+ "combination": 0.110113926,
+ "which": 0.14610803,
+ "par": 0.103441805,
+ "taylor": 0.02493249,
+ "including": 0.25332096,
+ "chess": 0.15723976,
+ "read": 0.11433752,
+ "degree": 1.0009722,
+ "format": 0.43116727,
+ "##ido": 1.309117,
+ "thai": 0.06586695,
+ "list": 0.6803624,
+ "plus": 0.26266313,
+ "jamie": 0.59335726,
+ "core": 0.2809168,
+ "sequence": 0.13722233,
+ "unit": 0.30562183,
+ "converted": 0.59830815,
+ "lists": 0.55262065,
+ "typing": 0.59908986,
+ "##ida": 0.4484119,
+ "decimal": 0.57973176,
+ "support": 0.24069183,
+ "useful": 0.2268042,
+ "coin": 0.039241653,
+ "boo": 0.79571146,
+ "code": 0.25404882,
+ "string": 1.1317097,
+ "cad": 0.5159853,
+ "gil": 0.09161972,
+ "title": 0.5610419,
+ "interface": 0.30466485,
+ "##li": 0.07365496,
+ "percent": 0.04570625,
+ "sid": 0.66650844,
+ "database": 0.0896527,
+ "para": 0.1312517,
+ "array": 0.17362833,
+ "##ci": 1.2173653,
+ "##lib": 0.025476389,
+ "david": 0.023804348,
+ "compiler": 0.11307864,
+ "class": 0.5698413,
+ "conversion": 1.4178969,
+ "keyboard": 0.42417365,
+ "types": 1.158331,
+ "length": 0.37773705,
+ "alberta": 0.046071406,
+ "##time": 0.98317784,
+ "serial": 0.46406785,
+ "translation": 0.5756077,
+ "unsigned": 0.9522918,
+ "syntax": 0.54151416,
+ "time": 0.53088874,
+ "pub": 0.510984
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-type-conversion-functions]]\n==== {esql} type conversion functions\n\n++++\nType conversion functions\n++++\n\n{esql} supports these type conversion functions:\n\n// tag::type_list[]\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n// end::type_list[]\n\ninclude::to_boolean.asciidoc[]\ninclude::to_datetime.asciidoc[]\ninclude::to_degrees.asciidoc[]\ninclude::to_double.asciidoc[]\ninclude::to_integer.asciidoc[]\ninclude::to_ip.asciidoc[]\ninclude::to_long.asciidoc[]\ninclude::to_radians.asciidoc[]\ninclude::to_string.asciidoc[]\ninclude::to_unsigned_long.asciidoc[]\ninclude::to_version.asciidoc[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "df82abd4-0d3e-4e7c-b8ad-dd7360472af8",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/abs.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.004469643,
+ "fancy": 0.20416091,
+ "##d": 0.086138904,
+ "pun": 0.05629523,
+ "styled": 1.5199277,
+ "alphabet": 0.3162563,
+ "java": 0.76356673,
+ "styling": 0.9138594,
+ "##v": 1.389176,
+ "notation": 0.1998083,
+ "##space": 1.4274045,
+ "nan": 0.004330306,
+ "text": 0.2158676,
+ "%": 1.3390976,
+ "gene": 0.2802676,
+ "double": 1.1079024,
+ "index": 0.6681298,
+ "signed": 0.5993064,
+ "script": 0.49281073,
+ "/": 0.22762786,
+ "exit": 0.011267366,
+ "size": 0.008202201,
+ "doubles": 0.10953159,
+ "style": 1.1416808,
+ "math": 0.6098183,
+ "template": 0.028320314,
+ "longest": 0.20518143,
+ "document": 0.14218825,
+ "pattern": 0.29655835,
+ "long": 1.2193007,
+ "result": 1.2086532,
+ "##arat": 0.99376225,
+ "characters": 0.045868635,
+ "file": 0.8687193,
+ "##or": 0.05592646,
+ "composed": 0.27254188,
+ "vector": 0.095286146,
+ "theme": 0.038032234,
+ "[": 0.91042256,
+ "]": 0.14997947,
+ "graphic": 0.099711135,
+ "table": 0.09302387,
+ "sep": 0.8768943,
+ "_": 0.78557956,
+ "editor": 0.14690086,
+ "d": 0.5852027,
+ "heading": 0.6059827,
+ "display": 0.3787813,
+ "column": 0.38048744,
+ "abbreviation": 0.18651779,
+ "n": 1.2244426,
+ "excel": 0.3638269,
+ "v": 0.59799135,
+ "organized": 0.18520954,
+ "report": 0.01747989,
+ "cod": 0.22603986,
+ "|": 0.91093314,
+ "font": 0.5195875,
+ "dd": 0.32837364,
+ "calculation": 0.20235516,
+ "constant": 0.06526351,
+ "dh": 0.6373045,
+ "data": 0.4198934,
+ "integer": 1.1590555,
+ "space": 0.8177621,
+ "ds": 1.5090455,
+ "split": 0.054472487,
+ "separation": 0.13188139,
+ "html": 0.305799,
+ "pipe": 0.20619537,
+ "buffer": 0.07828233,
+ "results": 0.33617824,
+ "combination": 0.13877365,
+ "which": 0.11885111,
+ "format": 1.4873099,
+ "archive": 0.27272177,
+ "sort": 0.32950595,
+ "volume": 0.18953392,
+ "sequence": 0.63249034,
+ "disk": 0.119554244,
+ "header": 1.7636755,
+ "files": 0.30537897,
+ "virginia": 0.29468057,
+ "decimal": 0.47163704,
+ "fields": 0.044774134,
+ "formats": 0.5523515,
+ "code": 0.27899155,
+ "string": 0.071761765,
+ "video": 0.24883856,
+ "error": 0.16781572,
+ "percent": 0.8084651,
+ "sid": 0.86457694,
+ "mono": 1.53328,
+ "array": 0.09866929,
+ "value": 0.27191928,
+ "direction": 0.31712836,
+ "cipher": 0.033359297,
+ "equation": 0.13867176,
+ "length": 0.6312528,
+ "serial": 0.7890276,
+ "colon": 0.36180168,
+ "unsigned": 1.0766593,
+ "syntax": 0.2275614
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nn | result\ndouble | double\ninteger | integer\nlong | long\nunsigned_long | unsigned_long\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "fc36840f-6d4b-42be-bd72-dd28826c659c",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/acos.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.25089774,
+ "##d": 0.046300203,
+ "pun": 0.11761178,
+ "styled": 1.5142275,
+ "alphabet": 0.25002128,
+ "java": 0.7463123,
+ "styling": 0.9375413,
+ "##v": 1.3431478,
+ "notation": 0.15449688,
+ "##space": 1.3888974,
+ "text": 0.19283268,
+ "%": 1.331049,
+ "gene": 0.20652531,
+ "double": 1.3505749,
+ "index": 0.63616633,
+ "signed": 0.4380863,
+ "script": 0.49088883,
+ "/": 0.21241921,
+ "exit": 0.013228038,
+ "doubles": 0.354848,
+ "style": 1.1500632,
+ "styles": 0.06614772,
+ "math": 0.6176355,
+ "longest": 0.057817895,
+ "document": 0.19199705,
+ "pattern": 0.3112345,
+ "long": 1.2568266,
+ "result": 1.2327625,
+ "##arat": 0.9981543,
+ "file": 0.841849,
+ "##or": 0.004623556,
+ "composed": 0.2187697,
+ "theme": 0.08917228,
+ "vector": 0.00466212,
+ "[": 0.8581835,
+ "]": 0.14146319,
+ "graphic": 0.13121834,
+ "table": 0.13023132,
+ "sep": 0.80975,
+ "_": 0.77832973,
+ "editor": 0.15324657,
+ "d": 0.56061214,
+ "heading": 0.6115525,
+ "display": 0.34168348,
+ "column": 0.38204998,
+ "abbreviation": 0.17948805,
+ "n": 1.249684,
+ "excel": 0.37423417,
+ "v": 0.574327,
+ "organized": 0.19180006,
+ "report": 0.08792093,
+ "cod": 0.23716837,
+ "|": 0.8759816,
+ "font": 0.5299331,
+ "dd": 0.33176962,
+ "calculation": 0.091898255,
+ "dh": 0.6029812,
+ "data": 0.36559448,
+ "integer": 1.0967511,
+ "space": 0.7719727,
+ "ds": 1.4925518,
+ "split": 0.060853254,
+ "separation": 0.0992868,
+ "html": 0.34815544,
+ "pipe": 0.2575662,
+ "results": 0.35662258,
+ "combination": 0.23126298,
+ "which": 0.12669136,
+ "format": 1.4587401,
+ "archive": 0.20722292,
+ "sort": 0.2630893,
+ "volume": 0.16865587,
+ "sequence": 0.6529036,
+ "disk": 0.038280543,
+ "header": 1.7828301,
+ "files": 0.25720623,
+ "virginia": 0.296477,
+ "decimal": 0.4640827,
+ "formats": 0.5387573,
+ "code": 0.25313875,
+ "string": 0.047462154,
+ "video": 0.17926985,
+ "error": 0.1676126,
+ "percent": 0.79516315,
+ "sid": 0.8046576,
+ "mono": 1.50435,
+ "array": 0.0702182,
+ "value": 0.24169064,
+ "direction": 0.25978598,
+ "cipher": 0.05467262,
+ "keyboard": 0.018322734,
+ "equation": 0.13025843,
+ "length": 0.68032795,
+ "serial": 0.7631122,
+ "colon": 0.3066077,
+ "unsigned": 0.96431655,
+ "syntax": 0.22675839
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nn | result\ndouble | double\ninteger | double\nlong | double\nunsigned_long | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "f00e9523-fdd4-4d3c-ba8b-bb5a0b8575d7",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/asin.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.25089774,
+ "##d": 0.046300203,
+ "pun": 0.11761178,
+ "styled": 1.5142275,
+ "alphabet": 0.25002128,
+ "java": 0.7463123,
+ "styling": 0.9375413,
+ "##v": 1.3431478,
+ "notation": 0.15449688,
+ "##space": 1.3888974,
+ "text": 0.19283268,
+ "%": 1.331049,
+ "gene": 0.20652531,
+ "double": 1.3505749,
+ "index": 0.63616633,
+ "signed": 0.4380863,
+ "script": 0.49088883,
+ "/": 0.21241921,
+ "exit": 0.013228038,
+ "doubles": 0.354848,
+ "style": 1.1500632,
+ "styles": 0.06614772,
+ "math": 0.6176355,
+ "longest": 0.057817895,
+ "document": 0.19199705,
+ "pattern": 0.3112345,
+ "long": 1.2568266,
+ "result": 1.2327625,
+ "##arat": 0.9981543,
+ "file": 0.841849,
+ "##or": 0.004623556,
+ "composed": 0.2187697,
+ "theme": 0.08917228,
+ "vector": 0.00466212,
+ "[": 0.8581835,
+ "]": 0.14146319,
+ "graphic": 0.13121834,
+ "table": 0.13023132,
+ "sep": 0.80975,
+ "_": 0.77832973,
+ "editor": 0.15324657,
+ "d": 0.56061214,
+ "heading": 0.6115525,
+ "display": 0.34168348,
+ "column": 0.38204998,
+ "abbreviation": 0.17948805,
+ "n": 1.249684,
+ "excel": 0.37423417,
+ "v": 0.574327,
+ "organized": 0.19180006,
+ "report": 0.08792093,
+ "cod": 0.23716837,
+ "|": 0.8759816,
+ "font": 0.5299331,
+ "dd": 0.33176962,
+ "calculation": 0.091898255,
+ "dh": 0.6029812,
+ "data": 0.36559448,
+ "integer": 1.0967511,
+ "space": 0.7719727,
+ "ds": 1.4925518,
+ "split": 0.060853254,
+ "separation": 0.0992868,
+ "html": 0.34815544,
+ "pipe": 0.2575662,
+ "results": 0.35662258,
+ "combination": 0.23126298,
+ "which": 0.12669136,
+ "format": 1.4587401,
+ "archive": 0.20722292,
+ "sort": 0.2630893,
+ "volume": 0.16865587,
+ "sequence": 0.6529036,
+ "disk": 0.038280543,
+ "header": 1.7828301,
+ "files": 0.25720623,
+ "virginia": 0.296477,
+ "decimal": 0.4640827,
+ "formats": 0.5387573,
+ "code": 0.25313875,
+ "string": 0.047462154,
+ "video": 0.17926985,
+ "error": 0.1676126,
+ "percent": 0.79516315,
+ "sid": 0.8046576,
+ "mono": 1.50435,
+ "array": 0.0702182,
+ "value": 0.24169064,
+ "direction": 0.25978598,
+ "cipher": 0.05467262,
+ "keyboard": 0.018322734,
+ "equation": 0.13025843,
+ "length": 0.68032795,
+ "serial": 0.7631122,
+ "colon": 0.3066077,
+ "unsigned": 0.96431655,
+ "syntax": 0.22675839
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nn | result\ndouble | double\ninteger | double\nlong | double\nunsigned_long | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "e838c5e4-251e-4e88-8d4e-506f7452653b",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/atan.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.25089774,
+ "##d": 0.046300203,
+ "pun": 0.11761178,
+ "styled": 1.5142275,
+ "alphabet": 0.25002128,
+ "java": 0.7463123,
+ "styling": 0.9375413,
+ "##v": 1.3431478,
+ "notation": 0.15449688,
+ "##space": 1.3888974,
+ "text": 0.19283268,
+ "%": 1.331049,
+ "gene": 0.20652531,
+ "double": 1.3505749,
+ "index": 0.63616633,
+ "signed": 0.4380863,
+ "script": 0.49088883,
+ "/": 0.21241921,
+ "exit": 0.013228038,
+ "doubles": 0.354848,
+ "style": 1.1500632,
+ "styles": 0.06614772,
+ "math": 0.6176355,
+ "longest": 0.057817895,
+ "document": 0.19199705,
+ "pattern": 0.3112345,
+ "long": 1.2568266,
+ "result": 1.2327625,
+ "##arat": 0.9981543,
+ "file": 0.841849,
+ "##or": 0.004623556,
+ "composed": 0.2187697,
+ "theme": 0.08917228,
+ "vector": 0.00466212,
+ "[": 0.8581835,
+ "]": 0.14146319,
+ "graphic": 0.13121834,
+ "table": 0.13023132,
+ "sep": 0.80975,
+ "_": 0.77832973,
+ "editor": 0.15324657,
+ "d": 0.56061214,
+ "heading": 0.6115525,
+ "display": 0.34168348,
+ "column": 0.38204998,
+ "abbreviation": 0.17948805,
+ "n": 1.249684,
+ "excel": 0.37423417,
+ "v": 0.574327,
+ "organized": 0.19180006,
+ "report": 0.08792093,
+ "cod": 0.23716837,
+ "|": 0.8759816,
+ "font": 0.5299331,
+ "dd": 0.33176962,
+ "calculation": 0.091898255,
+ "dh": 0.6029812,
+ "data": 0.36559448,
+ "integer": 1.0967511,
+ "space": 0.7719727,
+ "ds": 1.4925518,
+ "split": 0.060853254,
+ "separation": 0.0992868,
+ "html": 0.34815544,
+ "pipe": 0.2575662,
+ "results": 0.35662258,
+ "combination": 0.23126298,
+ "which": 0.12669136,
+ "format": 1.4587401,
+ "archive": 0.20722292,
+ "sort": 0.2630893,
+ "volume": 0.16865587,
+ "sequence": 0.6529036,
+ "disk": 0.038280543,
+ "header": 1.7828301,
+ "files": 0.25720623,
+ "virginia": 0.296477,
+ "decimal": 0.4640827,
+ "formats": 0.5387573,
+ "code": 0.25313875,
+ "string": 0.047462154,
+ "video": 0.17926985,
+ "error": 0.1676126,
+ "percent": 0.79516315,
+ "sid": 0.8046576,
+ "mono": 1.50435,
+ "array": 0.0702182,
+ "value": 0.24169064,
+ "direction": 0.25978598,
+ "cipher": 0.05467262,
+ "keyboard": 0.018322734,
+ "equation": 0.13025843,
+ "length": 0.68032795,
+ "serial": 0.7631122,
+ "colon": 0.3066077,
+ "unsigned": 0.96431655,
+ "syntax": 0.22675839
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nn | result\ndouble | double\ninteger | double\nlong | double\nunsigned_long | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "1e6c59fe-4bc9-44b1-ac5b-dc5277ab2d05",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/atan2.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.088927895,
+ "yard": 0.06145532,
+ "##d": 0.34015292,
+ "pun": 0.3212109,
+ "arithmetic": 0.18597168,
+ "styled": 1.373193,
+ "alphabet": 0.6845433,
+ "type": 0.44724292,
+ "##vs": 0.015096107,
+ "integers": 0.12007717,
+ "number": 0.12144183,
+ "java": 0.76930314,
+ "styling": 0.862146,
+ "##v": 1.3866283,
+ "notation": 0.48203078,
+ "##space": 1.5549902,
+ "text": 0.11277965,
+ "##vc": 0.06369108,
+ "algorithm": 0.02096831,
+ "%": 1.2704134,
+ "gene": 0.13656054,
+ "double": 1.3320116,
+ "index": 0.69219816,
+ "signed": 0.57384956,
+ "script": 0.53511196,
+ "/": 0.29607826,
+ "size": 0.3635513,
+ "doubles": 0.779046,
+ "binary": 0.15818869,
+ "unicode": 0.09234998,
+ "style": 0.9502282,
+ "styles": 0.116953634,
+ "math": 0.68223697,
+ "encoded": 0.0744748,
+ "template": 0.092455834,
+ "longest": 0.2385019,
+ "pattern": 0.21432988,
+ "sequences": 0.14611648,
+ "long": 1.2589436,
+ "bp": 0.024285333,
+ "result": 1.2322445,
+ "##arat": 0.97424555,
+ "characters": 0.34210354,
+ "file": 0.59318006,
+ "##or": 0.09062243,
+ "composed": 0.26883346,
+ "[": 1.0517945,
+ "]": 0.29774016,
+ "table": 0.14740825,
+ "sep": 0.8761941,
+ "_": 0.8323469,
+ "ss": 0.0051044854,
+ "editor": 0.06647482,
+ "d": 0.611291,
+ "heading": 0.6412774,
+ "display": 0.18326549,
+ "column": 0.3649921,
+ "abbreviation": 0.5229206,
+ "excel": 0.41808146,
+ "v": 0.6627095,
+ "##uation": 0.031687345,
+ "x": 0.6125767,
+ "organized": 0.057095304,
+ "char": 0.014335033,
+ "y": 1.3455261,
+ "cod": 0.5179286,
+ "|": 0.6299255,
+ "font": 0.3250003,
+ "dd": 0.5345338,
+ "calculation": 0.238065,
+ "symbol": 0.0030624417,
+ "dh": 0.69504964,
+ "data": 0.3033188,
+ "precision": 0.13585283,
+ "integer": 1.1374853,
+ "space": 0.94986886,
+ "ds": 1.497692,
+ "split": 0.04844969,
+ "pipe": 0.34256437,
+ "html": 0.22856516,
+ "buffer": 0.027963223,
+ "results": 0.5664465,
+ "combination": 0.26334584,
+ "which": 0.14239733,
+ "format": 1.5395423,
+ "sort": 0.4894858,
+ "volume": 0.13598363,
+ "sequence": 0.6924925,
+ "header": 1.7538736,
+ "files": 0.39214996,
+ "virginia": 0.3870959,
+ "decimal": 0.6395236,
+ "fields": 0.19037308,
+ "formats": 0.8090329,
+ "code": 0.4785862,
+ "string": 0.24382278,
+ "percent": 0.73602796,
+ "sid": 0.7491754,
+ "mono": 1.681177,
+ "times": 0.11853245,
+ "array": 0.2977575,
+ "value": 0.31967023,
+ "direction": 0.31077918,
+ "types": 0.04167372,
+ "spelling": 0.22883838,
+ "length": 0.6225327,
+ "serial": 0.6223007,
+ "colon": 0.40597305,
+ "unsigned": 0.9308098,
+ "syntax": 0.4155524
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\ny | x | result\ndouble | double | double\ndouble | integer | double\ndouble | long | double\ndouble | unsigned_long | double\ninteger | double | double\ninteger | integer | double\ninteger | long | double\ninteger | unsigned_long | double\nlong | double | double\nlong | integer | double\nlong | long | double\nlong | unsigned_long | double\nunsigned_long | double | double\nunsigned_long | integer | double\nunsigned_long | long | double\nunsigned_long | unsigned_long | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "25b1eb84-4432-4080-b81a-7c0eca13fbb7",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/auto_bucket.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.1016474,
+ "fancy": 0.08925766,
+ "copyright": 0.007471002,
+ "dh": 0.49701515,
+ "##d": 0.15209033,
+ "data": 0.1374417,
+ "##g": 1.3691356,
+ "styled": 1.4920012,
+ "alphabet": 0.06255849,
+ "space": 0.82578254,
+ "ds": 1.4791023,
+ "java": 0.7601023,
+ "styling": 0.7757915,
+ "separation": 0.13050945,
+ "##v": 1.3437253,
+ "logo": 0.18403713,
+ "##space": 1.4175768,
+ "html": 0.51457304,
+ "text": 0.23812279,
+ "results": 0.23635535,
+ "which": 0.14338966,
+ "%": 1.3856863,
+ "gene": 0.32059133,
+ "format": 1.3763525,
+ "index": 0.62150335,
+ "archive": 0.21332839,
+ "##ga": 0.008631304,
+ "script": 0.3750827,
+ "/": 0.28926077,
+ "volume": 0.13973466,
+ "ar": 1.1623341,
+ "sequence": 0.5961002,
+ "header": 1.8170009,
+ "files": 0.121471606,
+ "style": 1.0887628,
+ "math": 0.43573195,
+ "virginia": 0.1497647,
+ "decimal": 0.10798322,
+ "template": 0.039867178,
+ "formats": 0.23739602,
+ "code": 0.14765726,
+ "document": 0.39743233,
+ "cad": 0.014540776,
+ "pattern": 0.44663578,
+ "video": 0.525205,
+ "error": 0.32112288,
+ "percent": 0.7912421,
+ "layer": 0.09082134,
+ "sid": 0.81122315,
+ "mono": 1.5271046,
+ "##arat": 1.0346642,
+ "result": 1.0225801,
+ "file": 0.91926503,
+ "##or": 0.08090046,
+ "##4": 0.2317717,
+ "composed": 0.07468845,
+ "plot": 0.12047143,
+ "array": 0.079952285,
+ "vector": 0.13409965,
+ "[": 0.8964275,
+ "graphic": 0.43236402,
+ "value": 0.17002235,
+ "]": 0.16189855,
+ "table": 0.09102249,
+ "sep": 0.832833,
+ "_": 0.71546453,
+ "direction": 0.28907025,
+ "mask": 0.026372552,
+ "editor": 0.12960227,
+ "d": 0.52781236,
+ "heading": 0.6552817,
+ "display": 0.43260336,
+ "equation": 0.3401279,
+ "column": 0.34616947,
+ "banner": 0.04190707,
+ "excel": 0.2521803,
+ "serial": 0.71540135,
+ "v": 0.46972233,
+ "organized": 0.2529404,
+ "colon": 0.088014595,
+ "cod": 0.09130488,
+ "window": 0.19990689,
+ "|": 0.9743446,
+ "chart": 0.036563713,
+ "font": 0.6308606
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | arg2 | arg3 | arg4 | result\n\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "8c946cb9-b0cb-4f55-b7a5-19a039db90d8",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/case.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.09816811,
+ "copyright": 0.06647861,
+ "dh": 0.50911933,
+ "data": 0.075639635,
+ "##d": 0.06498171,
+ "##g": 1.3533374,
+ "styled": 1.4897201,
+ "alphabet": 0.014091281,
+ "space": 0.7856089,
+ "ds": 1.459132,
+ "java": 0.78305686,
+ "styling": 0.72938985,
+ "separation": 0.14850342,
+ "##v": 1.344323,
+ "logo": 0.18135484,
+ "##space": 1.3832229,
+ "html": 0.5434923,
+ "text": 0.28271404,
+ "results": 0.23205425,
+ "which": 0.098929666,
+ "%": 1.3669996,
+ "gene": 0.24549623,
+ "format": 1.3838478,
+ "index": 0.5863657,
+ "archive": 0.14017616,
+ "script": 0.3519246,
+ "/": 0.2817955,
+ "volume": 0.13509066,
+ "ar": 1.1144266,
+ "sequence": 0.5536004,
+ "header": 1.7769698,
+ "style": 1.1199569,
+ "math": 0.43725395,
+ "virginia": 0.15314767,
+ "decimal": 0.039885506,
+ "code": 0.16090351,
+ "formats": 0.06493468,
+ "document": 0.46004495,
+ "pattern": 0.4608013,
+ "video": 0.48422775,
+ "error": 0.36786208,
+ "percent": 0.7645293,
+ "layer": 0.0363244,
+ "sid": 0.75542533,
+ "mono": 1.4852448,
+ "result": 1.0888971,
+ "##arat": 1.0177785,
+ "file": 0.86494625,
+ "##or": 0.032954864,
+ "composed": 0.013532217,
+ "plot": 0.06409535,
+ "vector": 0.049411744,
+ "[": 0.8215606,
+ "graphic": 0.4556981,
+ "]": 0.14874035,
+ "value": 0.12818243,
+ "table": 0.109504774,
+ "sep": 0.8217745,
+ "_": 0.7318687,
+ "direction": 0.2547029,
+ "mask": 0.019104289,
+ "editor": 0.13170636,
+ "d": 0.5458955,
+ "heading": 0.61213887,
+ "display": 0.3984947,
+ "equation": 0.31622607,
+ "column": 0.29647487,
+ "excel": 0.21714741,
+ "serial": 0.6694037,
+ "v": 0.4308853,
+ "organized": 0.2475596,
+ "colon": 0.15013409,
+ "report": 0.093428396,
+ "cod": 0.052994464,
+ "window": 0.14638025,
+ "|": 1.0100096,
+ "font": 0.63936436
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | arg2 | result\n\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "851a32eb-ce91-404f-87df-5617891b4173",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/ceil.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.004469643,
+ "fancy": 0.20416091,
+ "##d": 0.086138904,
+ "pun": 0.05629523,
+ "styled": 1.5199277,
+ "alphabet": 0.3162563,
+ "java": 0.76356673,
+ "styling": 0.9138594,
+ "##v": 1.389176,
+ "notation": 0.1998083,
+ "##space": 1.4274045,
+ "nan": 0.004330306,
+ "text": 0.2158676,
+ "%": 1.3390976,
+ "gene": 0.2802676,
+ "double": 1.1079024,
+ "index": 0.6681298,
+ "signed": 0.5993064,
+ "script": 0.49281073,
+ "/": 0.22762786,
+ "exit": 0.011267366,
+ "size": 0.008202201,
+ "doubles": 0.10953159,
+ "style": 1.1416808,
+ "math": 0.6098183,
+ "template": 0.028320314,
+ "longest": 0.20518143,
+ "document": 0.14218825,
+ "pattern": 0.29655835,
+ "long": 1.2193007,
+ "result": 1.2086532,
+ "##arat": 0.99376225,
+ "characters": 0.045868635,
+ "file": 0.8687193,
+ "##or": 0.05592646,
+ "composed": 0.27254188,
+ "vector": 0.095286146,
+ "theme": 0.038032234,
+ "[": 0.91042256,
+ "]": 0.14997947,
+ "graphic": 0.099711135,
+ "table": 0.09302387,
+ "sep": 0.8768943,
+ "_": 0.78557956,
+ "editor": 0.14690086,
+ "d": 0.5852027,
+ "heading": 0.6059827,
+ "display": 0.3787813,
+ "column": 0.38048744,
+ "abbreviation": 0.18651779,
+ "n": 1.2244426,
+ "excel": 0.3638269,
+ "v": 0.59799135,
+ "organized": 0.18520954,
+ "report": 0.01747989,
+ "cod": 0.22603986,
+ "|": 0.91093314,
+ "font": 0.5195875,
+ "dd": 0.32837364,
+ "calculation": 0.20235516,
+ "constant": 0.06526351,
+ "dh": 0.6373045,
+ "data": 0.4198934,
+ "integer": 1.1590555,
+ "space": 0.8177621,
+ "ds": 1.5090455,
+ "split": 0.054472487,
+ "separation": 0.13188139,
+ "html": 0.305799,
+ "pipe": 0.20619537,
+ "buffer": 0.07828233,
+ "results": 0.33617824,
+ "combination": 0.13877365,
+ "which": 0.11885111,
+ "format": 1.4873099,
+ "archive": 0.27272177,
+ "sort": 0.32950595,
+ "volume": 0.18953392,
+ "sequence": 0.63249034,
+ "disk": 0.119554244,
+ "header": 1.7636755,
+ "files": 0.30537897,
+ "virginia": 0.29468057,
+ "decimal": 0.47163704,
+ "fields": 0.044774134,
+ "formats": 0.5523515,
+ "code": 0.27899155,
+ "string": 0.071761765,
+ "video": 0.24883856,
+ "error": 0.16781572,
+ "percent": 0.8084651,
+ "sid": 0.86457694,
+ "mono": 1.53328,
+ "array": 0.09866929,
+ "value": 0.27191928,
+ "direction": 0.31712836,
+ "cipher": 0.033359297,
+ "equation": 0.13867176,
+ "length": 0.6312528,
+ "serial": 0.7890276,
+ "colon": 0.36180168,
+ "unsigned": 1.0766593,
+ "syntax": 0.2275614
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nn | result\ndouble | double\ninteger | integer\nlong | long\nunsigned_long | unsigned_long\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "205b18ba-eee6-4d7c-895a-23ac6e88d7f6",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/coalesce.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.1661348,
+ "##d": 0.25407305,
+ "##g": 1.3769766,
+ "pun": 0.029889729,
+ "styled": 1.4843886,
+ "alphabet": 0.41444075,
+ "path": 0.061098766,
+ "java": 0.7468443,
+ "styling": 0.90128654,
+ "##v": 1.4027542,
+ "##space": 1.4618802,
+ "text": 1.0928632,
+ "##lean": 1.1374326,
+ "%": 1.3603611,
+ "gene": 0.1449335,
+ "index": 0.6837463,
+ "##ga": 0.055318348,
+ "script": 0.44763333,
+ "/": 0.31055498,
+ "ar": 1.1614496,
+ "field": 0.013776104,
+ "style": 1.137698,
+ "styles": 0.06999592,
+ "math": 0.3651515,
+ "template": 0.15764153,
+ "longest": 0.21364722,
+ "document": 0.3339351,
+ "pattern": 0.31927547,
+ "long": 1.0032872,
+ "result": 1.2366254,
+ "##arat": 0.96425784,
+ "characters": 0.18411845,
+ "sd": 0.02799568,
+ "search": 0.11811327,
+ "file": 0.890329,
+ "composed": 0.2637143,
+ "vector": 0.045067046,
+ "theme": 7.0713786E-4,
+ "[": 1.0045357,
+ "]": 0.24394058,
+ "graphic": 0.16471386,
+ "key": 0.56203204,
+ "table": 0.14985254,
+ "sep": 0.8770617,
+ "_": 0.4987491,
+ "editor": 0.3311979,
+ "d": 0.5845923,
+ "heading": 0.71511376,
+ "display": 0.40849668,
+ "column": 0.35001728,
+ "abbreviation": 0.05983433,
+ "excel": 0.29722595,
+ "v": 0.52292866,
+ "report": 0.25169402,
+ "organized": 0.14107826,
+ "cod": 0.10157493,
+ "|": 0.84571105,
+ "font": 0.69381785,
+ "dd": 0.29173037,
+ "calculation": 0.10361142,
+ "symbol": 0.0075773676,
+ "dh": 0.6656142,
+ "data": 0.34677342,
+ "integer": 1.1101621,
+ "space": 0.8635867,
+ "ds": 1.4694432,
+ "logo": 0.09092094,
+ "html": 0.4947421,
+ "pipe": 0.017384766,
+ "results": 0.54285324,
+ "combination": 0.40113106,
+ "which": 0.086104445,
+ "otherwise": 0.054940306,
+ "format": 1.3971783,
+ "archive": 0.2615931,
+ "sort": 0.2743762,
+ "volume": 0.084758565,
+ "sequence": 0.3981795,
+ "##word": 1.126522,
+ "header": 1.6921147,
+ "files": 0.32052436,
+ "virginia": 0.29965955,
+ "fields": 0.21133466,
+ "decimal": 0.11541629,
+ "##words": 0.36017743,
+ "boo": 1.0572112,
+ "formats": 0.42392966,
+ "code": 0.32151985,
+ "string": 0.0660021,
+ "video": 0.32297665,
+ "error": 0.18127926,
+ "percent": 0.770556,
+ "sid": 0.71110106,
+ "mono": 1.5663313,
+ "value": 0.19636188,
+ "mask": 0.17149653,
+ "direction": 0.1579896,
+ "cipher": 0.08259394,
+ "keyboard": 0.049568765,
+ "equation": 0.122572556,
+ "length": 0.18996719,
+ "serial": 0.6731216,
+ "colon": 0.29392135,
+ "syntax": 0.31116194,
+ "window": 0.069678426
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | arg2 | result\nboolean | boolean | boolean\ninteger | integer | integer\nkeyword | keyword | keyword\nlong | long | long\ntext | text | text\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "30eed986-3b93-4b20-952a-81e74d5a9086",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/concat.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.17132199,
+ "fancy": 0.064233646,
+ "copyright": 0.007933889,
+ "dh": 0.5908843,
+ "##d": 0.17567089,
+ "data": 0.16779858,
+ "##g": 1.3944901,
+ "styled": 1.4855611,
+ "space": 0.8304835,
+ "ds": 1.4747837,
+ "java": 0.78389937,
+ "styling": 0.80519676,
+ "separation": 0.07668046,
+ "##v": 1.3855574,
+ "logo": 0.1934728,
+ "##space": 1.4344771,
+ "html": 0.5478564,
+ "text": 1.0032709,
+ "results": 0.42740068,
+ "which": 0.09013572,
+ "%": 1.3754117,
+ "gene": 0.20072442,
+ "format": 1.3402582,
+ "index": 0.6359342,
+ "archive": 0.16941361,
+ "##ga": 0.043176208,
+ "script": 0.3550045,
+ "/": 0.3177993,
+ "volume": 0.115279794,
+ "ar": 1.1723777,
+ "sequence": 0.47375816,
+ "##word": 1.2554669,
+ "header": 1.7473948,
+ "files": 0.01965791,
+ "style": 1.1182127,
+ "math": 0.2968361,
+ "virginia": 0.25582996,
+ "##words": 0.31068248,
+ "template": 0.013161451,
+ "code": 0.29030257,
+ "formats": 0.22170295,
+ "document": 0.44641724,
+ "cad": 0.010781372,
+ "pattern": 0.42965123,
+ "video": 0.38700038,
+ "error": 0.19884463,
+ "percent": 0.77140087,
+ "sid": 0.6806227,
+ "mono": 1.5300094,
+ "result": 1.2159405,
+ "##arat": 1.0167813,
+ "##1": 0.005606166,
+ "search": 0.43697807,
+ "file": 0.8447375,
+ "##or": 0.09843888,
+ "composed": 0.11770589,
+ "vector": 0.09682875,
+ "[": 0.8608205,
+ "graphic": 0.3495586,
+ "value": 0.14879552,
+ "]": 0.123440936,
+ "key": 0.49392995,
+ "table": 0.07986765,
+ "sep": 0.8493469,
+ "_": 0.5306671,
+ "mask": 0.21701145,
+ "direction": 0.13995782,
+ "cipher": 0.001747035,
+ "editor": 0.3166138,
+ "keyboard": 0.015383635,
+ "d": 0.6214373,
+ "heading": 0.7002655,
+ "display": 0.39074576,
+ "equation": 0.19129916,
+ "column": 0.2739243,
+ "banner": 0.02061629,
+ "abbreviation": 0.004307279,
+ "sample": 0.013675804,
+ "excel": 0.1610742,
+ "serial": 0.65276796,
+ "v": 0.51878065,
+ "report": 0.5360727,
+ "organized": 0.21155465,
+ "colon": 0.116802074,
+ "cod": 0.031055525,
+ "window": 0.02108317,
+ "|": 0.92290884,
+ "font": 0.66231644
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | arg2 | result\nkeyword | keyword | keyword\ntext | text | keyword\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "aa95faa4-33ee-42f8-8a1a-34e9d9ab07f4",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/cos.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.25089774,
+ "##d": 0.046300203,
+ "pun": 0.11761178,
+ "styled": 1.5142275,
+ "alphabet": 0.25002128,
+ "java": 0.7463123,
+ "styling": 0.9375413,
+ "##v": 1.3431478,
+ "notation": 0.15449688,
+ "##space": 1.3888974,
+ "text": 0.19283268,
+ "%": 1.331049,
+ "gene": 0.20652531,
+ "double": 1.3505749,
+ "index": 0.63616633,
+ "signed": 0.4380863,
+ "script": 0.49088883,
+ "/": 0.21241921,
+ "exit": 0.013228038,
+ "doubles": 0.354848,
+ "style": 1.1500632,
+ "styles": 0.06614772,
+ "math": 0.6176355,
+ "longest": 0.057817895,
+ "document": 0.19199705,
+ "pattern": 0.3112345,
+ "long": 1.2568266,
+ "result": 1.2327625,
+ "##arat": 0.9981543,
+ "file": 0.841849,
+ "##or": 0.004623556,
+ "composed": 0.2187697,
+ "theme": 0.08917228,
+ "vector": 0.00466212,
+ "[": 0.8581835,
+ "]": 0.14146319,
+ "graphic": 0.13121834,
+ "table": 0.13023132,
+ "sep": 0.80975,
+ "_": 0.77832973,
+ "editor": 0.15324657,
+ "d": 0.56061214,
+ "heading": 0.6115525,
+ "display": 0.34168348,
+ "column": 0.38204998,
+ "abbreviation": 0.17948805,
+ "n": 1.249684,
+ "excel": 0.37423417,
+ "v": 0.574327,
+ "organized": 0.19180006,
+ "report": 0.08792093,
+ "cod": 0.23716837,
+ "|": 0.8759816,
+ "font": 0.5299331,
+ "dd": 0.33176962,
+ "calculation": 0.091898255,
+ "dh": 0.6029812,
+ "data": 0.36559448,
+ "integer": 1.0967511,
+ "space": 0.7719727,
+ "ds": 1.4925518,
+ "split": 0.060853254,
+ "separation": 0.0992868,
+ "html": 0.34815544,
+ "pipe": 0.2575662,
+ "results": 0.35662258,
+ "combination": 0.23126298,
+ "which": 0.12669136,
+ "format": 1.4587401,
+ "archive": 0.20722292,
+ "sort": 0.2630893,
+ "volume": 0.16865587,
+ "sequence": 0.6529036,
+ "disk": 0.038280543,
+ "header": 1.7828301,
+ "files": 0.25720623,
+ "virginia": 0.296477,
+ "decimal": 0.4640827,
+ "formats": 0.5387573,
+ "code": 0.25313875,
+ "string": 0.047462154,
+ "video": 0.17926985,
+ "error": 0.1676126,
+ "percent": 0.79516315,
+ "sid": 0.8046576,
+ "mono": 1.50435,
+ "array": 0.0702182,
+ "value": 0.24169064,
+ "direction": 0.25978598,
+ "cipher": 0.05467262,
+ "keyboard": 0.018322734,
+ "equation": 0.13025843,
+ "length": 0.68032795,
+ "serial": 0.7631122,
+ "colon": 0.3066077,
+ "unsigned": 0.96431655,
+ "syntax": 0.22675839
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nn | result\ndouble | double\ninteger | double\nlong | double\nunsigned_long | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "49bcd6b6-f3b7-420c-bd98-553da87a13fd",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/cosh.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.25089774,
+ "##d": 0.046300203,
+ "pun": 0.11761178,
+ "styled": 1.5142275,
+ "alphabet": 0.25002128,
+ "java": 0.7463123,
+ "styling": 0.9375413,
+ "##v": 1.3431478,
+ "notation": 0.15449688,
+ "##space": 1.3888974,
+ "text": 0.19283268,
+ "%": 1.331049,
+ "gene": 0.20652531,
+ "double": 1.3505749,
+ "index": 0.63616633,
+ "signed": 0.4380863,
+ "script": 0.49088883,
+ "/": 0.21241921,
+ "exit": 0.013228038,
+ "doubles": 0.354848,
+ "style": 1.1500632,
+ "styles": 0.06614772,
+ "math": 0.6176355,
+ "longest": 0.057817895,
+ "document": 0.19199705,
+ "pattern": 0.3112345,
+ "long": 1.2568266,
+ "result": 1.2327625,
+ "##arat": 0.9981543,
+ "file": 0.841849,
+ "##or": 0.004623556,
+ "composed": 0.2187697,
+ "theme": 0.08917228,
+ "vector": 0.00466212,
+ "[": 0.8581835,
+ "]": 0.14146319,
+ "graphic": 0.13121834,
+ "table": 0.13023132,
+ "sep": 0.80975,
+ "_": 0.77832973,
+ "editor": 0.15324657,
+ "d": 0.56061214,
+ "heading": 0.6115525,
+ "display": 0.34168348,
+ "column": 0.38204998,
+ "abbreviation": 0.17948805,
+ "n": 1.249684,
+ "excel": 0.37423417,
+ "v": 0.574327,
+ "organized": 0.19180006,
+ "report": 0.08792093,
+ "cod": 0.23716837,
+ "|": 0.8759816,
+ "font": 0.5299331,
+ "dd": 0.33176962,
+ "calculation": 0.091898255,
+ "dh": 0.6029812,
+ "data": 0.36559448,
+ "integer": 1.0967511,
+ "space": 0.7719727,
+ "ds": 1.4925518,
+ "split": 0.060853254,
+ "separation": 0.0992868,
+ "html": 0.34815544,
+ "pipe": 0.2575662,
+ "results": 0.35662258,
+ "combination": 0.23126298,
+ "which": 0.12669136,
+ "format": 1.4587401,
+ "archive": 0.20722292,
+ "sort": 0.2630893,
+ "volume": 0.16865587,
+ "sequence": 0.6529036,
+ "disk": 0.038280543,
+ "header": 1.7828301,
+ "files": 0.25720623,
+ "virginia": 0.296477,
+ "decimal": 0.4640827,
+ "formats": 0.5387573,
+ "code": 0.25313875,
+ "string": 0.047462154,
+ "video": 0.17926985,
+ "error": 0.1676126,
+ "percent": 0.79516315,
+ "sid": 0.8046576,
+ "mono": 1.50435,
+ "array": 0.0702182,
+ "value": 0.24169064,
+ "direction": 0.25978598,
+ "cipher": 0.05467262,
+ "keyboard": 0.018322734,
+ "equation": 0.13025843,
+ "length": 0.68032795,
+ "serial": 0.7631122,
+ "colon": 0.3066077,
+ "unsigned": 0.96431655,
+ "syntax": 0.22675839
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nn | result\ndouble | double\ninteger | double\nlong | double\nunsigned_long | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "4136308b-66de-4319-973c-4c81804049fd",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/date_extract.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.055071525,
+ "fancy": 0.073776,
+ "##d": 0.07905641,
+ "year": 0.17708296,
+ "##g": 1.3421233,
+ "styled": 1.482591,
+ "java": 0.669319,
+ "styling": 0.77283233,
+ "##v": 1.2939928,
+ "##space": 1.3632771,
+ "text": 0.23744048,
+ "%": 1.3471091,
+ "gene": 0.2306039,
+ "index": 0.69233966,
+ "dates": 0.31508496,
+ "script": 0.38131684,
+ "/": 0.3050366,
+ "ar": 1.1273031,
+ "style": 1.0981197,
+ "math": 0.38420862,
+ "longest": 0.0063097076,
+ "document": 0.28184173,
+ "pattern": 0.41366526,
+ "long": 0.81220794,
+ "result": 1.1692306,
+ "##arat": 0.9621223,
+ "file": 0.86428404,
+ "composed": 0.113974765,
+ "theme": 0.014842206,
+ "[": 0.85291404,
+ "graphic": 0.39496538,
+ "]": 0.07865672,
+ "key": 0.37799504,
+ "table": 0.13628586,
+ "sep": 0.7794851,
+ "_": 0.64296585,
+ "d": 0.555636,
+ "heading": 0.6331113,
+ "display": 0.53321415,
+ "column": 0.34454527,
+ "sample": 0.020133652,
+ "excel": 0.30051813,
+ "v": 0.42897084,
+ "report": 0.53994644,
+ "organized": 0.23800516,
+ "cod": 0.073452495,
+ "timeline": 0.0447323,
+ "|": 0.92809594,
+ "chart": 0.3220549,
+ "font": 0.34429726,
+ "date": 1.1424794,
+ "dd": 0.11571386,
+ "calculation": 0.046981044,
+ "dh": 0.5318082,
+ "data": 0.45206824,
+ "space": 0.7791209,
+ "ds": 1.4925221,
+ "protocol": 0.07068793,
+ "separation": 0.028579159,
+ "logo": 0.09497148,
+ "html": 0.42154115,
+ "pipe": 0.032843202,
+ "results": 0.2549664,
+ "which": 0.07855357,
+ "format": 1.3514694,
+ "archive": 0.2689354,
+ "clock": 0.3848177,
+ "volume": 0.17741255,
+ "sequence": 0.6737441,
+ "disk": 0.1351846,
+ "##word": 0.6560701,
+ "header": 1.7068952,
+ "virginia": 0.028822763,
+ "decimal": 0.10664109,
+ "formats": 0.22367433,
+ "code": 0.14692155,
+ "cad": 0.21423203,
+ "video": 0.5758185,
+ "error": 0.43714717,
+ "percent": 0.75878274,
+ "sid": 0.7344614,
+ "mono": 1.4863021,
+ "times": 0.0038132588,
+ "##zone": 0.20842083,
+ "plot": 0.11661718,
+ "array": 0.018155113,
+ "value": 0.23653416,
+ "direction": 0.11879374,
+ "mask": 0.10293215,
+ "cipher": 0.02693052,
+ "equation": 0.30910027,
+ "length": 0.13232741,
+ "banner": 0.059543133,
+ "##time": 0.6667705,
+ "serial": 0.8810536,
+ "colon": 0.10158839,
+ "time": 0.7586054,
+ "window": 0.17089844
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | arg2 | result\nkeyword | datetime | long\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "919caf9c-90f2-46c1-9a77-a43f1b4e2bc9",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/date_parse.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.14918037,
+ "pun": 0.09150758,
+ "##ng": 0.3170091,
+ "styled": 1.433595,
+ "##n": 0.70199096,
+ "years": 0.15876493,
+ "java": 0.5358051,
+ "styling": 0.84135485,
+ "##t": 0.11549531,
+ "##v": 1.315127,
+ "record": 0.06450449,
+ "##space": 1.3470079,
+ "text": 0.96625024,
+ "%": 1.3449736,
+ "index": 0.6593168,
+ "dates": 1.2078953,
+ "script": 0.39819494,
+ "/": 0.3234715,
+ "field": 0.058655985,
+ "style": 1.0769509,
+ "math": 0.04989679,
+ "##pa": 1.4139248,
+ "document": 0.116878435,
+ "pattern": 0.41762587,
+ "##tter": 1.2218716,
+ "result": 1.1846029,
+ "##arat": 0.9765743,
+ "search": 0.14447315,
+ "file": 0.7818833,
+ "composed": 0.1497025,
+ "theme": 0.020136572,
+ "[": 0.82940763,
+ "]": 0.12685707,
+ "graphic": 0.09205168,
+ "key": 0.5572786,
+ "table": 0.15782337,
+ "sep": 0.8284918,
+ "_": 0.5583945,
+ "editor": 0.23672563,
+ "d": 0.63832414,
+ "heading": 0.6620555,
+ "display": 0.5233366,
+ "column": 0.2772934,
+ "excel": 0.31053698,
+ "v": 0.47092924,
+ "report": 0.37896982,
+ "organized": 0.20238817,
+ "timeline": 0.45901805,
+ "days": 0.09161994,
+ "cod": 0.0040158355,
+ "|": 0.87524426,
+ "chart": 0.3629414,
+ "font": 0.24739179,
+ "date": 1.5153192,
+ "dd": 0.23672958,
+ "acc": 0.1075294,
+ "dh": 0.67011243,
+ "data": 0.5926813,
+ "spice": 0.12690254,
+ "space": 0.7470592,
+ "ds": 1.5290987,
+ "protocol": 0.043910407,
+ "logo": 0.083071716,
+ "html": 0.35529423,
+ "results": 0.4605396,
+ "day": 0.28730035,
+ "which": 0.06693649,
+ "format": 1.3479899,
+ "archive": 0.088466875,
+ "clock": 0.5576947,
+ "sequence": 0.4343821,
+ "disk": 0.099086545,
+ "##word": 1.1310517,
+ "##tri": 1.1627648,
+ "header": 1.6119562,
+ "virginia": 0.29429382,
+ "##words": 0.24940668,
+ "formats": 0.2802531,
+ "code": 0.1635869,
+ "video": 0.26922378,
+ "error": 0.17124635,
+ "percent": 0.7279414,
+ "sid": 0.656098,
+ "mono": 1.4638661,
+ "times": 0.18280487,
+ "database": 0.16794139,
+ "##zone": 0.2654684,
+ "dated": 0.004462997,
+ "value": 0.22259532,
+ "mask": 0.20827952,
+ "cipher": 0.034117784,
+ "__": 0.021019556,
+ "keyboard": 0.015911045,
+ "##time": 0.8789454,
+ "schedule": 0.017082108,
+ "serial": 0.86682284,
+ "time": 0.87886256,
+ "window": 0.08149432
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\ndatePattern | dateString | result\nkeyword | keyword | datetime\nkeyword | text | datetime\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "29abf3cc-fd82-4acd-89dc-a086701e48d8",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/e.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "copyright": 0.06665539,
+ "dh": 0.43154192,
+ "data": 0.16590387,
+ "styled": 1.4306172,
+ "space": 0.7254456,
+ "ds": 1.4107337,
+ "java": 0.7611219,
+ "styling": 0.58973956,
+ "separation": 0.15220663,
+ "##v": 1.3275515,
+ "logo": 0.15510741,
+ "##space": 1.2874554,
+ "html": 0.5356091,
+ "text": 0.3272727,
+ "results": 0.29971105,
+ "which": 0.030725304,
+ "%": 1.3460832,
+ "gene": 0.10891503,
+ "format": 1.4416173,
+ "index": 0.57467467,
+ "archive": 0.024664328,
+ "script": 0.30804816,
+ "/": 0.23730895,
+ "volume": 0.101241335,
+ "sequence": 0.46806535,
+ "header": 1.7393368,
+ "style": 1.0871606,
+ "math": 0.367838,
+ "virginia": 0.10069564,
+ "code": 0.20992862,
+ "document": 0.48758805,
+ "pattern": 0.4539083,
+ "video": 0.39241272,
+ "error": 0.4577086,
+ "percent": 0.6935496,
+ "sid": 0.6415605,
+ "mono": 1.3820429,
+ "result": 1.2496178,
+ "##arat": 1.0291213,
+ "file": 0.7946926,
+ "[": 0.76067686,
+ "graphic": 0.44080365,
+ "]": 0.14540921,
+ "table": 0.16235197,
+ "sep": 0.82737964,
+ "_": 0.5286533,
+ "direction": 0.14356285,
+ "editor": 0.15722723,
+ "d": 0.48655266,
+ "heading": 0.56395966,
+ "spelling": 0.0156033635,
+ "display": 0.33710137,
+ "equation": 0.05545392,
+ "column": 0.27740407,
+ "label": 0.16855979,
+ "abbreviation": 0.0042599174,
+ "excel": 0.19307408,
+ "serial": 0.5761919,
+ "v": 0.39531982,
+ "report": 0.36661017,
+ "colon": 0.22982068,
+ "organized": 0.20546083,
+ "window": 0.0032266718,
+ "|": 1.1101351,
+ "font": 0.61065024
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nresult\n\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "98a8222c-44ee-4f77-85c7-7ee79bce8995",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/ends_with.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.10153325,
+ "fancy": 0.0015539963,
+ "dh": 0.53169304,
+ "data": 0.23148043,
+ "##d": 0.17897038,
+ "##g": 1.3552669,
+ "styled": 1.4838024,
+ "alphabet": 0.018772203,
+ "space": 0.8191049,
+ "ds": 1.4699591,
+ "java": 0.7890319,
+ "styling": 0.76220757,
+ "separation": 0.09002373,
+ "##v": 1.3574014,
+ "logo": 0.13908282,
+ "##space": 1.4114469,
+ "html": 0.50779486,
+ "text": 0.2803902,
+ "results": 0.26756445,
+ "##lean": 1.0436139,
+ "combination": 0.25137386,
+ "which": 0.08575756,
+ "%": 1.3636063,
+ "gene": 0.3025154,
+ "format": 1.3451269,
+ "index": 0.6351913,
+ "archive": 0.23540443,
+ "script": 0.3516488,
+ "/": 0.2690054,
+ "volume": 0.13309816,
+ "ar": 1.081094,
+ "sequence": 0.55247843,
+ "disk": 0.012995432,
+ "##word": 1.0183053,
+ "header": 1.7355541,
+ "files": 0.08735611,
+ "style": 1.1130774,
+ "math": 0.36992487,
+ "virginia": 0.15198496,
+ "decimal": 0.095251895,
+ "template": 0.01791756,
+ "boo": 1.0347474,
+ "code": 0.23893954,
+ "formats": 0.12492876,
+ "document": 0.40759915,
+ "cad": 0.0285992,
+ "pattern": 0.4504131,
+ "video": 0.5017376,
+ "error": 0.31297296,
+ "percent": 0.7739719,
+ "sid": 0.73711073,
+ "mono": 1.5224676,
+ "result": 1.1924716,
+ "##arat": 0.98350817,
+ "##1": 0.003933907,
+ "file": 0.9038782,
+ "composed": 0.10067289,
+ "vector": 0.1022874,
+ "[": 0.8287531,
+ "graphic": 0.3358202,
+ "value": 0.14522211,
+ "]": 0.04516516,
+ "key": 0.37709266,
+ "table": 0.015695725,
+ "sep": 0.814946,
+ "_": 0.5868439,
+ "direction": 0.19536243,
+ "mask": 0.1486108,
+ "editor": 0.23285756,
+ "keyboard": 0.030492568,
+ "d": 0.55688727,
+ "heading": 0.643049,
+ "display": 0.42130995,
+ "equation": 0.24404444,
+ "column": 0.27917814,
+ "sample": 0.010296204,
+ "excel": 0.21295908,
+ "serial": 0.7424703,
+ "v": 0.46169835,
+ "report": 0.4737581,
+ "organized": 0.20737834,
+ "colon": 0.110403255,
+ "cod": 0.07272083,
+ "window": 0.12018616,
+ "|": 0.93639463,
+ "font": 0.60749334
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | arg2 | result\nkeyword | keyword | boolean\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "b19cf52a-8115-454e-9c91-da43bac15ece",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/floor.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.004469643,
+ "fancy": 0.20416091,
+ "##d": 0.086138904,
+ "pun": 0.05629523,
+ "styled": 1.5199277,
+ "alphabet": 0.3162563,
+ "java": 0.76356673,
+ "styling": 0.9138594,
+ "##v": 1.389176,
+ "notation": 0.1998083,
+ "##space": 1.4274045,
+ "nan": 0.004330306,
+ "text": 0.2158676,
+ "%": 1.3390976,
+ "gene": 0.2802676,
+ "double": 1.1079024,
+ "index": 0.6681298,
+ "signed": 0.5993064,
+ "script": 0.49281073,
+ "/": 0.22762786,
+ "exit": 0.011267366,
+ "size": 0.008202201,
+ "doubles": 0.10953159,
+ "style": 1.1416808,
+ "math": 0.6098183,
+ "template": 0.028320314,
+ "longest": 0.20518143,
+ "document": 0.14218825,
+ "pattern": 0.29655835,
+ "long": 1.2193007,
+ "result": 1.2086532,
+ "##arat": 0.99376225,
+ "characters": 0.045868635,
+ "file": 0.8687193,
+ "##or": 0.05592646,
+ "composed": 0.27254188,
+ "vector": 0.095286146,
+ "theme": 0.038032234,
+ "[": 0.91042256,
+ "]": 0.14997947,
+ "graphic": 0.099711135,
+ "table": 0.09302387,
+ "sep": 0.8768943,
+ "_": 0.78557956,
+ "editor": 0.14690086,
+ "d": 0.5852027,
+ "heading": 0.6059827,
+ "display": 0.3787813,
+ "column": 0.38048744,
+ "abbreviation": 0.18651779,
+ "n": 1.2244426,
+ "excel": 0.3638269,
+ "v": 0.59799135,
+ "organized": 0.18520954,
+ "report": 0.01747989,
+ "cod": 0.22603986,
+ "|": 0.91093314,
+ "font": 0.5195875,
+ "dd": 0.32837364,
+ "calculation": 0.20235516,
+ "constant": 0.06526351,
+ "dh": 0.6373045,
+ "data": 0.4198934,
+ "integer": 1.1590555,
+ "space": 0.8177621,
+ "ds": 1.5090455,
+ "split": 0.054472487,
+ "separation": 0.13188139,
+ "html": 0.305799,
+ "pipe": 0.20619537,
+ "buffer": 0.07828233,
+ "results": 0.33617824,
+ "combination": 0.13877365,
+ "which": 0.11885111,
+ "format": 1.4873099,
+ "archive": 0.27272177,
+ "sort": 0.32950595,
+ "volume": 0.18953392,
+ "sequence": 0.63249034,
+ "disk": 0.119554244,
+ "header": 1.7636755,
+ "files": 0.30537897,
+ "virginia": 0.29468057,
+ "decimal": 0.47163704,
+ "fields": 0.044774134,
+ "formats": 0.5523515,
+ "code": 0.27899155,
+ "string": 0.071761765,
+ "video": 0.24883856,
+ "error": 0.16781572,
+ "percent": 0.8084651,
+ "sid": 0.86457694,
+ "mono": 1.53328,
+ "array": 0.09866929,
+ "value": 0.27191928,
+ "direction": 0.31712836,
+ "cipher": 0.033359297,
+ "equation": 0.13867176,
+ "length": 0.6312528,
+ "serial": 0.7890276,
+ "colon": 0.36180168,
+ "unsigned": 1.0766593,
+ "syntax": 0.2275614
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nn | result\ndouble | double\ninteger | integer\nlong | long\nunsigned_long | unsigned_long\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "c4d4aa2c-0428-4b2f-aa69-2aa84186ea95",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/greatest.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.20376118,
+ "yard": 0.015213406,
+ "##d": 0.15417108,
+ "software": 0.05996727,
+ "pun": 0.15747586,
+ "styled": 1.4374913,
+ "alphabet": 0.49656287,
+ "type": 0.024779929,
+ "##vs": 0.0070321676,
+ "path": 0.035456445,
+ "java": 0.6425117,
+ "styling": 0.9045657,
+ "##v": 1.4096189,
+ "##space": 1.4474937,
+ "text": 1.0327702,
+ "##lean": 1.1290452,
+ "element": 0.07765347,
+ "%": 1.3216496,
+ "gene": 0.2451498,
+ "double": 1.0545695,
+ "ip": 1.3604573,
+ "index": 0.77121925,
+ "version": 1.0759983,
+ "script": 0.50576866,
+ "/": 0.28272796,
+ "field": 0.14296858,
+ "versions": 0.6720593,
+ "doubles": 0.23382778,
+ "domain": 0.0148875415,
+ "style": 1.128235,
+ "styles": 0.21423087,
+ "math": 0.29497927,
+ "template": 0.2149813,
+ "longest": 0.22213969,
+ "columns": 0.06928164,
+ "document": 0.2508788,
+ "pattern": 0.22793533,
+ "long": 0.9437254,
+ "result": 1.1389074,
+ "##arat": 0.93268275,
+ "characters": 0.3502717,
+ "sd": 0.10730306,
+ "search": 0.23738219,
+ "computer": 0.05286806,
+ "file": 0.90599614,
+ "composed": 0.33746892,
+ "theme": 0.12494454,
+ "vector": 0.1063572,
+ "[": 1.0003062,
+ "]": 0.26574725,
+ "graphic": 0.0299979,
+ "key": 0.5493114,
+ "table": 0.2907413,
+ "sep": 0.83830506,
+ "_": 0.42313698,
+ "editor": 0.23870032,
+ "d": 0.59719175,
+ "heading": 0.74425024,
+ "display": 0.3151564,
+ "column": 0.38706806,
+ "abbreviation": 0.15416321,
+ "excel": 0.24706586,
+ "v": 0.58256316,
+ "report": 0.22294907,
+ "organized": 0.08316606,
+ "cod": 0.19810428,
+ "|": 0.7885834,
+ "first": 0.21478158,
+ "font": 0.57816696,
+ "dd": 0.29401377,
+ "calculation": 0.03930664,
+ "symbol": 0.31071636,
+ "dh": 0.68596506,
+ "data": 0.5322401,
+ "integer": 0.98610246,
+ "space": 0.85585165,
+ "ds": 1.4878924,
+ "protocol": 0.23259279,
+ "md": 0.026663937,
+ "logo": 0.014869924,
+ "html": 0.510482,
+ "pipe": 0.03362295,
+ "results": 0.5503148,
+ "combination": 0.51240456,
+ "which": 0.11137996,
+ "format": 1.4102771,
+ "archive": 0.2592103,
+ "sort": 0.20299536,
+ "volume": 0.17427367,
+ "sequence": 0.31746125,
+ "##word": 1.0933648,
+ "header": 1.6425985,
+ "files": 0.4604945,
+ "virginia": 0.285504,
+ "fields": 0.3196323,
+ "decimal": 0.10756409,
+ "##words": 0.3488374,
+ "boo": 1.0125333,
+ "formats": 0.5775699,
+ "code": 0.37853134,
+ "string": 0.17082931,
+ "video": 0.35122964,
+ "error": 0.037737027,
+ "percent": 0.71978766,
+ "content": 0.016485315,
+ "sid": 0.78002053,
+ "mono": 1.5749131,
+ "database": 0.20052174,
+ "array": 0.002763859,
+ "value": 0.23220783,
+ "mask": 0.24644572,
+ "direction": 0.08346022,
+ "cipher": 0.19476834,
+ "rest": 0.96995544,
+ "keyboard": 0.021270143,
+ "serial": 0.73408276,
+ "colon": 0.3607851,
+ "syntax": 0.329234
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nfirst | rest | result\nboolean | boolean | boolean\ndouble | double | double\ninteger | integer | integer\nip | ip | ip\nkeyword | keyword | keyword\nlong | long | long\ntext | text | text\nversion | version | version\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "4c6464f4-ce01-4ddd-8640-a8b69d42a42f",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/is_finite.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.0806006,
+ "fancy": 0.00254569,
+ "dh": 0.4841429,
+ "data": 0.22594751,
+ "##d": 0.014681752,
+ "##g": 1.2908343,
+ "styled": 1.4841973,
+ "space": 0.7665231,
+ "ds": 1.4288023,
+ "java": 0.7537599,
+ "styling": 0.74695575,
+ "separation": 0.100350216,
+ "##v": 1.3129201,
+ "logo": 0.10195976,
+ "##space": 1.3671622,
+ "html": 0.47375742,
+ "text": 0.2136914,
+ "results": 0.2816893,
+ "##lean": 0.854688,
+ "combination": 0.3821361,
+ "which": 0.08675447,
+ "%": 1.3594187,
+ "gene": 0.25470355,
+ "double": 1.0017781,
+ "format": 1.3790362,
+ "index": 0.6327075,
+ "archive": 0.16522188,
+ "script": 0.36921018,
+ "/": 0.24891645,
+ "volume": 0.09900309,
+ "ar": 1.0701199,
+ "sequence": 0.5404582,
+ "header": 1.7391105,
+ "style": 1.1269175,
+ "math": 0.46203133,
+ "virginia": 0.12142294,
+ "decimal": 0.17520498,
+ "boo": 0.8291014,
+ "code": 0.24680622,
+ "formats": 0.016828243,
+ "document": 0.4379966,
+ "pattern": 0.4591385,
+ "video": 0.41276097,
+ "error": 0.50846034,
+ "percent": 0.7837692,
+ "sid": 0.6938831,
+ "mono": 1.4586341,
+ "result": 1.2697892,
+ "##arat": 0.9470305,
+ "##1": 0.585449,
+ "file": 0.8567547,
+ "composed": 0.046119675,
+ "vector": 0.033335082,
+ "[": 0.7740064,
+ "graphic": 0.40654466,
+ "value": 0.11909496,
+ "]": 0.07241507,
+ "table": 0.057809792,
+ "sep": 0.76744556,
+ "_": 0.64746433,
+ "direction": 0.2325157,
+ "mask": 0.050423995,
+ "editor": 0.12938966,
+ "keyboard": 0.02350293,
+ "chance": 0.034926124,
+ "d": 0.48775333,
+ "heading": 0.5749869,
+ "display": 0.43506008,
+ "equation": 0.2733126,
+ "column": 0.26319414,
+ "excel": 0.21906324,
+ "serial": 0.7273842,
+ "v": 0.3740422,
+ "report": 0.32416603,
+ "organized": 0.18276754,
+ "colon": 0.11016037,
+ "cod": 0.052340332,
+ "window": 0.07792202,
+ "|": 0.98930895,
+ "chart": 0.08016697,
+ "font": 0.6196409
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | result\ndouble | boolean\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "55b915f9-9c27-4015-bc61-5ace77d36c6f",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/is_infinite.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.0806006,
+ "fancy": 0.00254569,
+ "dh": 0.4841429,
+ "data": 0.22594751,
+ "##d": 0.014681752,
+ "##g": 1.2908343,
+ "styled": 1.4841973,
+ "space": 0.7665231,
+ "ds": 1.4288023,
+ "java": 0.7537599,
+ "styling": 0.74695575,
+ "separation": 0.100350216,
+ "##v": 1.3129201,
+ "logo": 0.10195976,
+ "##space": 1.3671622,
+ "html": 0.47375742,
+ "text": 0.2136914,
+ "results": 0.2816893,
+ "##lean": 0.854688,
+ "combination": 0.3821361,
+ "which": 0.08675447,
+ "%": 1.3594187,
+ "gene": 0.25470355,
+ "double": 1.0017781,
+ "format": 1.3790362,
+ "index": 0.6327075,
+ "archive": 0.16522188,
+ "script": 0.36921018,
+ "/": 0.24891645,
+ "volume": 0.09900309,
+ "ar": 1.0701199,
+ "sequence": 0.5404582,
+ "header": 1.7391105,
+ "style": 1.1269175,
+ "math": 0.46203133,
+ "virginia": 0.12142294,
+ "decimal": 0.17520498,
+ "boo": 0.8291014,
+ "code": 0.24680622,
+ "formats": 0.016828243,
+ "document": 0.4379966,
+ "pattern": 0.4591385,
+ "video": 0.41276097,
+ "error": 0.50846034,
+ "percent": 0.7837692,
+ "sid": 0.6938831,
+ "mono": 1.4586341,
+ "result": 1.2697892,
+ "##arat": 0.9470305,
+ "##1": 0.585449,
+ "file": 0.8567547,
+ "composed": 0.046119675,
+ "vector": 0.033335082,
+ "[": 0.7740064,
+ "graphic": 0.40654466,
+ "value": 0.11909496,
+ "]": 0.07241507,
+ "table": 0.057809792,
+ "sep": 0.76744556,
+ "_": 0.64746433,
+ "direction": 0.2325157,
+ "mask": 0.050423995,
+ "editor": 0.12938966,
+ "keyboard": 0.02350293,
+ "chance": 0.034926124,
+ "d": 0.48775333,
+ "heading": 0.5749869,
+ "display": 0.43506008,
+ "equation": 0.2733126,
+ "column": 0.26319414,
+ "excel": 0.21906324,
+ "serial": 0.7273842,
+ "v": 0.3740422,
+ "report": 0.32416603,
+ "organized": 0.18276754,
+ "colon": 0.11016037,
+ "cod": 0.052340332,
+ "window": 0.07792202,
+ "|": 0.98930895,
+ "chart": 0.08016697,
+ "font": 0.6196409
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | result\ndouble | boolean\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "cf64769d-570a-4a6c-be1c-a2b267f5b80a",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/least.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.20376118,
+ "yard": 0.015213406,
+ "##d": 0.15417108,
+ "software": 0.05996727,
+ "pun": 0.15747586,
+ "styled": 1.4374913,
+ "alphabet": 0.49656287,
+ "type": 0.024779929,
+ "##vs": 0.0070321676,
+ "path": 0.035456445,
+ "java": 0.6425117,
+ "styling": 0.9045657,
+ "##v": 1.4096189,
+ "##space": 1.4474937,
+ "text": 1.0327702,
+ "##lean": 1.1290452,
+ "element": 0.07765347,
+ "%": 1.3216496,
+ "gene": 0.2451498,
+ "double": 1.0545695,
+ "ip": 1.3604573,
+ "index": 0.77121925,
+ "version": 1.0759983,
+ "script": 0.50576866,
+ "/": 0.28272796,
+ "field": 0.14296858,
+ "versions": 0.6720593,
+ "doubles": 0.23382778,
+ "domain": 0.0148875415,
+ "style": 1.128235,
+ "styles": 0.21423087,
+ "math": 0.29497927,
+ "template": 0.2149813,
+ "longest": 0.22213969,
+ "columns": 0.06928164,
+ "document": 0.2508788,
+ "pattern": 0.22793533,
+ "long": 0.9437254,
+ "result": 1.1389074,
+ "##arat": 0.93268275,
+ "characters": 0.3502717,
+ "sd": 0.10730306,
+ "search": 0.23738219,
+ "computer": 0.05286806,
+ "file": 0.90599614,
+ "composed": 0.33746892,
+ "theme": 0.12494454,
+ "vector": 0.1063572,
+ "[": 1.0003062,
+ "]": 0.26574725,
+ "graphic": 0.0299979,
+ "key": 0.5493114,
+ "table": 0.2907413,
+ "sep": 0.83830506,
+ "_": 0.42313698,
+ "editor": 0.23870032,
+ "d": 0.59719175,
+ "heading": 0.74425024,
+ "display": 0.3151564,
+ "column": 0.38706806,
+ "abbreviation": 0.15416321,
+ "excel": 0.24706586,
+ "v": 0.58256316,
+ "report": 0.22294907,
+ "organized": 0.08316606,
+ "cod": 0.19810428,
+ "|": 0.7885834,
+ "first": 0.21478158,
+ "font": 0.57816696,
+ "dd": 0.29401377,
+ "calculation": 0.03930664,
+ "symbol": 0.31071636,
+ "dh": 0.68596506,
+ "data": 0.5322401,
+ "integer": 0.98610246,
+ "space": 0.85585165,
+ "ds": 1.4878924,
+ "protocol": 0.23259279,
+ "md": 0.026663937,
+ "logo": 0.014869924,
+ "html": 0.510482,
+ "pipe": 0.03362295,
+ "results": 0.5503148,
+ "combination": 0.51240456,
+ "which": 0.11137996,
+ "format": 1.4102771,
+ "archive": 0.2592103,
+ "sort": 0.20299536,
+ "volume": 0.17427367,
+ "sequence": 0.31746125,
+ "##word": 1.0933648,
+ "header": 1.6425985,
+ "files": 0.4604945,
+ "virginia": 0.285504,
+ "fields": 0.3196323,
+ "decimal": 0.10756409,
+ "##words": 0.3488374,
+ "boo": 1.0125333,
+ "formats": 0.5775699,
+ "code": 0.37853134,
+ "string": 0.17082931,
+ "video": 0.35122964,
+ "error": 0.037737027,
+ "percent": 0.71978766,
+ "content": 0.016485315,
+ "sid": 0.78002053,
+ "mono": 1.5749131,
+ "database": 0.20052174,
+ "array": 0.002763859,
+ "value": 0.23220783,
+ "mask": 0.24644572,
+ "direction": 0.08346022,
+ "cipher": 0.19476834,
+ "rest": 0.96995544,
+ "keyboard": 0.021270143,
+ "serial": 0.73408276,
+ "colon": 0.3607851,
+ "syntax": 0.329234
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nfirst | rest | result\nboolean | boolean | boolean\ndouble | double | double\ninteger | integer | integer\nip | ip | ip\nkeyword | keyword | keyword\nlong | long | long\ntext | text | text\nversion | version | version\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "b50fcd3d-0308-47ef-9cb3-703291581bf8",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/left.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.17529751,
+ "dh": 0.61644495,
+ "data": 0.2728129,
+ "##d": 0.023811564,
+ "styled": 1.5073934,
+ "integer": 0.99963176,
+ "alphabet": 0.10691343,
+ "space": 0.7718859,
+ "ds": 1.514216,
+ "java": 0.76151496,
+ "styling": 0.79523075,
+ "separation": 0.17244327,
+ "##v": 1.4165994,
+ "logo": 0.15142529,
+ "##space": 1.3774698,
+ "html": 0.5226077,
+ "text": 0.32086396,
+ "results": 0.34192944,
+ "combination": 0.028004142,
+ "which": 0.11875616,
+ "otherwise": 0.060134426,
+ "%": 1.3856502,
+ "gene": 0.1870295,
+ "format": 1.4410975,
+ "index": 0.65750897,
+ "archive": 0.18447717,
+ "script": 0.35559967,
+ "/": 0.30119756,
+ "volume": 0.10173527,
+ "sequence": 0.49642757,
+ "##word": 1.0837168,
+ "header": 1.7476878,
+ "files": 0.06487692,
+ "style": 1.1683446,
+ "math": 0.41544163,
+ "virginia": 0.2508161,
+ "decimal": 0.054062955,
+ "##words": 0.10561041,
+ "code": 0.25575593,
+ "formats": 0.20156877,
+ "longest": 0.09867772,
+ "string": 0.9296201,
+ "document": 0.44634432,
+ "pattern": 0.42312965,
+ "video": 0.41265264,
+ "error": 0.22912349,
+ "percent": 0.78791004,
+ "long": 0.018248994,
+ "sid": 0.64210254,
+ "mono": 1.4826465,
+ "result": 1.1600635,
+ "##arat": 1.0577152,
+ "file": 0.8346674,
+ "##or": 0.14652748,
+ "composed": 0.10076128,
+ "theme": 0.06388815,
+ "vector": 0.016452013,
+ "[": 0.86956704,
+ "graphic": 0.31800646,
+ "value": 0.14440484,
+ "]": 0.12907466,
+ "key": 0.42236033,
+ "table": 0.06225419,
+ "sep": 0.92242175,
+ "_": 0.5772185,
+ "direction": 0.1334071,
+ "mask": 0.098259635,
+ "editor": 0.19665219,
+ "d": 0.6240194,
+ "heading": 0.6362973,
+ "display": 0.35116512,
+ "equation": 0.16146603,
+ "length": 1.0938601,
+ "column": 0.2413795,
+ "label": 0.07006905,
+ "abbreviation": 0.041481834,
+ "sample": 0.016897047,
+ "excel": 0.22029,
+ "serial": 0.66131365,
+ "v": 0.5338634,
+ "report": 0.39659366,
+ "colon": 0.26602185,
+ "organized": 0.20790292,
+ "cod": 0.10974675,
+ "window": 0.02318919,
+ "|": 1.0076073,
+ "font": 0.6359558
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nstring | length | result\nkeyword | integer | keyword\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "7ec846b8-a83d-485e-9474-6180fc867e50",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/length.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.08332511,
+ "dh": 0.52030015,
+ "data": 0.14938582,
+ "##d": 0.05130477,
+ "##g": 1.3682094,
+ "styled": 1.486543,
+ "integer": 1.1777191,
+ "alphabet": 0.010173135,
+ "space": 0.7871166,
+ "ds": 1.4519238,
+ "java": 0.7405947,
+ "styling": 0.7256155,
+ "separation": 0.13007788,
+ "##v": 1.3481091,
+ "logo": 0.16685995,
+ "##space": 1.3703685,
+ "html": 0.52731186,
+ "text": 0.25243327,
+ "results": 0.20725073,
+ "which": 0.08928818,
+ "%": 1.3643612,
+ "gene": 0.26720232,
+ "format": 1.3863906,
+ "index": 0.60215676,
+ "archive": 0.19234528,
+ "##ga": 0.07044787,
+ "script": 0.35297805,
+ "/": 0.2918747,
+ "volume": 0.10351221,
+ "ar": 1.1659443,
+ "sequence": 0.54460263,
+ "##word": 0.95838606,
+ "header": 1.7225087,
+ "style": 1.1383549,
+ "math": 0.40807858,
+ "virginia": 0.108875155,
+ "decimal": 0.14044875,
+ "code": 0.2617214,
+ "formats": 0.0029276626,
+ "document": 0.44999886,
+ "cad": 0.028652258,
+ "pattern": 0.448667,
+ "video": 0.46441188,
+ "error": 0.37274256,
+ "percent": 0.77362704,
+ "sid": 0.7123557,
+ "mono": 1.483085,
+ "result": 1.188403,
+ "##arat": 0.98182684,
+ "##1": 0.6808633,
+ "file": 0.8602788,
+ "composed": 0.087827034,
+ "vector": 0.09115331,
+ "theme": 0.00212622,
+ "[": 0.7948713,
+ "graphic": 0.4333678,
+ "value": 0.12224136,
+ "]": 0.061986774,
+ "key": 0.48076475,
+ "sep": 0.84388506,
+ "_": 0.6494814,
+ "direction": 0.18346426,
+ "mask": 0.033442307,
+ "editor": 0.14467731,
+ "d": 0.56068474,
+ "heading": 0.5883919,
+ "display": 0.4450516,
+ "equation": 0.2807238,
+ "column": 0.2834555,
+ "excel": 0.20606384,
+ "serial": 0.7027621,
+ "v": 0.40692762,
+ "report": 0.3969871,
+ "organized": 0.23020464,
+ "colon": 0.16793373,
+ "cod": 0.106732056,
+ "window": 0.09211832,
+ "|": 0.971007,
+ "chart": 0.06719468,
+ "font": 0.64366126
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | result\nkeyword | integer\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "2f4ca014-7351-4fe1-8174-c6674f2d6738",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/log10.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.25089774,
+ "##d": 0.046300203,
+ "pun": 0.11761178,
+ "styled": 1.5142275,
+ "alphabet": 0.25002128,
+ "java": 0.7463123,
+ "styling": 0.9375413,
+ "##v": 1.3431478,
+ "notation": 0.15449688,
+ "##space": 1.3888974,
+ "text": 0.19283268,
+ "%": 1.331049,
+ "gene": 0.20652531,
+ "double": 1.3505749,
+ "index": 0.63616633,
+ "signed": 0.4380863,
+ "script": 0.49088883,
+ "/": 0.21241921,
+ "exit": 0.013228038,
+ "doubles": 0.354848,
+ "style": 1.1500632,
+ "styles": 0.06614772,
+ "math": 0.6176355,
+ "longest": 0.057817895,
+ "document": 0.19199705,
+ "pattern": 0.3112345,
+ "long": 1.2568266,
+ "result": 1.2327625,
+ "##arat": 0.9981543,
+ "file": 0.841849,
+ "##or": 0.004623556,
+ "composed": 0.2187697,
+ "theme": 0.08917228,
+ "vector": 0.00466212,
+ "[": 0.8581835,
+ "]": 0.14146319,
+ "graphic": 0.13121834,
+ "table": 0.13023132,
+ "sep": 0.80975,
+ "_": 0.77832973,
+ "editor": 0.15324657,
+ "d": 0.56061214,
+ "heading": 0.6115525,
+ "display": 0.34168348,
+ "column": 0.38204998,
+ "abbreviation": 0.17948805,
+ "n": 1.249684,
+ "excel": 0.37423417,
+ "v": 0.574327,
+ "organized": 0.19180006,
+ "report": 0.08792093,
+ "cod": 0.23716837,
+ "|": 0.8759816,
+ "font": 0.5299331,
+ "dd": 0.33176962,
+ "calculation": 0.091898255,
+ "dh": 0.6029812,
+ "data": 0.36559448,
+ "integer": 1.0967511,
+ "space": 0.7719727,
+ "ds": 1.4925518,
+ "split": 0.060853254,
+ "separation": 0.0992868,
+ "html": 0.34815544,
+ "pipe": 0.2575662,
+ "results": 0.35662258,
+ "combination": 0.23126298,
+ "which": 0.12669136,
+ "format": 1.4587401,
+ "archive": 0.20722292,
+ "sort": 0.2630893,
+ "volume": 0.16865587,
+ "sequence": 0.6529036,
+ "disk": 0.038280543,
+ "header": 1.7828301,
+ "files": 0.25720623,
+ "virginia": 0.296477,
+ "decimal": 0.4640827,
+ "formats": 0.5387573,
+ "code": 0.25313875,
+ "string": 0.047462154,
+ "video": 0.17926985,
+ "error": 0.1676126,
+ "percent": 0.79516315,
+ "sid": 0.8046576,
+ "mono": 1.50435,
+ "array": 0.0702182,
+ "value": 0.24169064,
+ "direction": 0.25978598,
+ "cipher": 0.05467262,
+ "keyboard": 0.018322734,
+ "equation": 0.13025843,
+ "length": 0.68032795,
+ "serial": 0.7631122,
+ "colon": 0.3066077,
+ "unsigned": 0.96431655,
+ "syntax": 0.22675839
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nn | result\ndouble | double\ninteger | double\nlong | double\nunsigned_long | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "9bf9681e-8c77-4a3a-88cf-4ade44518bd2",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/ltrim.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.064127885,
+ "copyright": 0.045812383,
+ "dh": 0.5128268,
+ "data": 0.08649167,
+ "##d": 0.008570673,
+ "##g": 1.4337245,
+ "styled": 1.4611096,
+ "space": 0.7834379,
+ "ds": 1.4206536,
+ "java": 0.755849,
+ "styling": 0.7301426,
+ "separation": 0.09983446,
+ "##v": 1.3294926,
+ "logo": 0.19181079,
+ "##space": 1.3767972,
+ "html": 0.51708454,
+ "text": 1.0490658,
+ "results": 0.29274374,
+ "which": 0.07749639,
+ "%": 1.3629293,
+ "gene": 0.20739451,
+ "format": 1.3428321,
+ "index": 0.6102529,
+ "##ga": 0.17826493,
+ "archive": 0.08104118,
+ "script": 0.32549232,
+ "/": 0.2981721,
+ "volume": 0.012233345,
+ "ar": 1.2865151,
+ "sequence": 0.44652557,
+ "##word": 1.281399,
+ "header": 1.7123138,
+ "style": 1.0905305,
+ "math": 0.35323206,
+ "virginia": 0.15869403,
+ "decimal": 0.010561997,
+ "##words": 0.104463555,
+ "code": 0.32785606,
+ "document": 0.4610053,
+ "cad": 0.008658722,
+ "pattern": 0.4587387,
+ "video": 0.3679124,
+ "error": 0.30315772,
+ "percent": 0.75589657,
+ "content": 0.016050654,
+ "sid": 0.6546647,
+ "mono": 1.4938333,
+ "result": 1.2076411,
+ "##arat": 1.0032293,
+ "##1": 0.7942685,
+ "search": 0.32991204,
+ "file": 0.8123178,
+ "##or": 0.033412103,
+ "composed": 0.071939275,
+ "vector": 0.07464917,
+ "[": 0.798394,
+ "graphic": 0.419618,
+ "value": 0.085442625,
+ "]": 0.06592833,
+ "key": 0.43164313,
+ "table": 0.026531141,
+ "sep": 0.8059835,
+ "_": 0.59568924,
+ "mask": 0.16992348,
+ "direction": 0.108868845,
+ "editor": 0.2242129,
+ "d": 0.56614745,
+ "heading": 0.65287703,
+ "display": 0.40943134,
+ "equation": 0.18890852,
+ "column": 0.26115012,
+ "abbreviation": 0.03443261,
+ "excel": 0.12029187,
+ "serial": 0.63741076,
+ "v": 0.42722782,
+ "report": 0.52804875,
+ "organized": 0.15718924,
+ "colon": 0.13002901,
+ "cod": 0.032075435,
+ "|": 0.9627677,
+ "font": 0.65751857
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | result\nkeyword | keyword\ntext | text\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "dd6e74ed-29e5-4dba-8268-a798429ccc1e",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/mv_avg.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.23521939,
+ "##d": 0.07089095,
+ "##g": 1.3735166,
+ "pun": 0.059804574,
+ "styled": 1.5329912,
+ "alphabet": 0.14002953,
+ "java": 0.7376557,
+ "styling": 0.9303587,
+ "##v": 1.3297772,
+ "notation": 0.04875254,
+ "##space": 1.3895098,
+ "text": 0.19400445,
+ "%": 1.3386393,
+ "gene": 0.2627669,
+ "double": 1.3835748,
+ "index": 0.5834599,
+ "signed": 0.3481695,
+ "##ga": 0.10672402,
+ "script": 0.4527554,
+ "/": 0.26344928,
+ "ar": 1.1974915,
+ "exit": 0.033138014,
+ "doubles": 0.46177122,
+ "style": 1.1512195,
+ "math": 0.57383054,
+ "template": 0.007595706,
+ "longest": 0.08155486,
+ "document": 0.20636879,
+ "pattern": 0.32353154,
+ "long": 1.2676796,
+ "result": 1.264238,
+ "##arat": 1.0008855,
+ "file": 0.8667989,
+ "##or": 0.14610629,
+ "composed": 0.21101983,
+ "vector": 0.079986185,
+ "theme": 0.0691645,
+ "[": 0.8799408,
+ "graphic": 0.19445384,
+ "]": 0.1375535,
+ "table": 0.046182625,
+ "_": 0.83121085,
+ "sep": 0.82497454,
+ "editor": 0.2162535,
+ "d": 0.5331598,
+ "heading": 0.5745372,
+ "display": 0.39877036,
+ "column": 0.3425273,
+ "abbreviation": 0.069798164,
+ "excel": 0.28028777,
+ "v": 0.48744893,
+ "organized": 0.19124451,
+ "report": 0.111742586,
+ "cod": 0.22907124,
+ "|": 0.89572763,
+ "font": 0.5158389,
+ "dd": 0.25161478,
+ "calculation": 0.08732301,
+ "dh": 0.57380676,
+ "data": 0.29184586,
+ "integer": 1.1312238,
+ "space": 0.7703609,
+ "ds": 1.473652,
+ "split": 0.039065003,
+ "separation": 0.09724991,
+ "html": 0.3772224,
+ "pipe": 0.1347811,
+ "buffer": 0.05346467,
+ "results": 0.3164173,
+ "combination": 0.20130631,
+ "which": 0.13138309,
+ "format": 1.4633143,
+ "archive": 0.26327246,
+ "sort": 0.21285829,
+ "volume": 0.13121949,
+ "sequence": 0.679318,
+ "disk": 0.027337048,
+ "header": 1.7778736,
+ "files": 0.23198515,
+ "virginia": 0.19462106,
+ "decimal": 0.4120288,
+ "formats": 0.50566524,
+ "code": 0.22262633,
+ "string": 0.039432023,
+ "cad": 0.019745573,
+ "video": 0.27410546,
+ "error": 0.23098569,
+ "percent": 0.7826076,
+ "sid": 0.8311392,
+ "mono": 1.5069627,
+ "##1": 0.65037143,
+ "array": 0.114827365,
+ "value": 0.16929184,
+ "direction": 0.28564397,
+ "cipher": 0.08288443,
+ "equation": 0.27255404,
+ "length": 0.5889309,
+ "serial": 0.81517977,
+ "colon": 0.24292287,
+ "unsigned": 0.94381857,
+ "syntax": 0.15477008
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | result\ndouble | double\ninteger | double\nlong | double\nunsigned_long | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "9fb5f564-4294-41ba-9aff-96a75c91a6d1",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/mv_concat.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.20320027,
+ "fancy": 0.08286995,
+ "copyright": 0.030146778,
+ "dh": 0.5991885,
+ "##d": 0.18998444,
+ "data": 0.14640372,
+ "##g": 1.3986645,
+ "styled": 1.4670832,
+ "alphabet": 0.08174196,
+ "space": 0.83246547,
+ "ds": 1.4366764,
+ "java": 0.79460394,
+ "styling": 0.81738037,
+ "separation": 0.017926225,
+ "##v": 1.3762476,
+ "logo": 0.2068498,
+ "##space": 1.443811,
+ "html": 0.5565662,
+ "text": 1.1402919,
+ "results": 0.57464206,
+ "which": 0.08263938,
+ "%": 1.3554771,
+ "gene": 0.035039622,
+ "format": 1.3438702,
+ "index": 0.6770723,
+ "archive": 0.11300081,
+ "##ga": 0.08842061,
+ "sort": 0.028497713,
+ "script": 0.336537,
+ "/": 0.3181701,
+ "volume": 0.054689437,
+ "ar": 1.1984684,
+ "sequence": 0.35122395,
+ "##word": 1.3132511,
+ "domain": 0.04050685,
+ "header": 1.7021772,
+ "files": 0.052774206,
+ "style": 1.1088884,
+ "virginia": 0.27800578,
+ "math": 0.23063087,
+ "##words": 0.5893025,
+ "template": 0.11123736,
+ "formats": 0.29569086,
+ "code": 0.29253876,
+ "document": 0.40292367,
+ "pattern": 0.39611945,
+ "video": 0.20460753,
+ "percent": 0.73424363,
+ "sid": 0.63589156,
+ "mono": 1.5326866,
+ "result": 1.24054,
+ "##arat": 1.000712,
+ "##1": 0.009328705,
+ "search": 0.55169624,
+ "file": 0.7958056,
+ "##or": 0.07944626,
+ "composed": 0.13084638,
+ "vector": 0.06922313,
+ "[": 0.9009271,
+ "graphic": 0.20351553,
+ "]": 0.14106523,
+ "value": 0.12186057,
+ "key": 0.6637974,
+ "table": 0.07916777,
+ "sep": 0.85957414,
+ "_": 0.493623,
+ "mask": 0.32088724,
+ "direction": 0.101381704,
+ "cipher": 0.09510471,
+ "editor": 0.39667705,
+ "keyboard": 0.061762773,
+ "d": 0.6049337,
+ "heading": 0.71311384,
+ "display": 0.34809014,
+ "equation": 0.015159866,
+ "column": 0.26098254,
+ "abbreviation": 0.011403971,
+ "excel": 0.091772,
+ "serial": 0.592657,
+ "v": 0.52692837,
+ "report": 0.5087589,
+ "colon": 0.17609522,
+ "organized": 0.1683525,
+ "syntax": 0.14929403,
+ "cod": 0.05785727,
+ "|": 0.86472654,
+ "font": 0.70114386
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | arg2 | result\nkeyword | keyword | keyword\nkeyword | text | keyword\ntext | keyword | keyword\ntext | text | keyword\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "f0f4a867-7a2e-4c33-85af-c70bbb595ef7",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/mv_count.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.14677003,
+ "##d": 0.27470136,
+ "##g": 1.3846,
+ "pun": 0.051832363,
+ "styled": 1.472939,
+ "alphabet": 0.409536,
+ "integers": 0.2824654,
+ "java": 0.74379295,
+ "styling": 0.8654633,
+ "##v": 1.425087,
+ "notation": 0.016897164,
+ "##space": 1.4808983,
+ "text": 0.30780724,
+ "##lean": 0.96483564,
+ "%": 1.3429848,
+ "gene": 0.24485123,
+ "double": 1.0753869,
+ "index": 0.66426903,
+ "signed": 0.3209334,
+ "##ga": 0.13561365,
+ "script": 0.47474414,
+ "/": 0.30104196,
+ "ar": 1.1846766,
+ "exit": 0.06348906,
+ "field": 0.047432367,
+ "doubles": 0.2877469,
+ "style": 1.1349081,
+ "math": 0.5074659,
+ "template": 0.13669291,
+ "longest": 0.034298766,
+ "document": 0.17777367,
+ "pattern": 0.3060637,
+ "long": 1.0674468,
+ "result": 1.2275553,
+ "##arat": 0.946557,
+ "characters": 0.20200562,
+ "sd": 0.03754737,
+ "computer": 0.019875417,
+ "file": 0.9160653,
+ "composed": 0.28658804,
+ "vector": 0.119526,
+ "[": 0.97233623,
+ "]": 0.18454972,
+ "graphic": 0.052617464,
+ "key": 0.53926134,
+ "table": 0.058284037,
+ "sep": 0.9412478,
+ "_": 0.7393814,
+ "editor": 0.2117853,
+ "d": 0.5931818,
+ "heading": 0.6216951,
+ "display": 0.4297232,
+ "column": 0.3116907,
+ "abbreviation": 0.12861155,
+ "excel": 0.29045284,
+ "v": 0.5526244,
+ "report": 0.1671437,
+ "organized": 0.10221389,
+ "cod": 0.25978056,
+ "|": 0.92334473,
+ "chart": 0.023491168,
+ "font": 0.5970542,
+ "dd": 0.3472252,
+ "calculation": 0.29901275,
+ "symbol": 0.07447911,
+ "dh": 0.6971541,
+ "data": 0.4179679,
+ "integer": 1.2935463,
+ "space": 0.8751595,
+ "ds": 1.4914631,
+ "separation": 0.064520694,
+ "html": 0.37250924,
+ "pipe": 0.12294718,
+ "results": 0.43023396,
+ "combination": 0.40234205,
+ "which": 0.09296912,
+ "otherwise": 0.042153277,
+ "format": 1.4822589,
+ "archive": 0.29766977,
+ "sort": 0.34545478,
+ "volume": 0.0695252,
+ "sequence": 0.52663285,
+ "disk": 0.13273035,
+ "##word": 1.1185938,
+ "header": 1.7076463,
+ "files": 0.4104947,
+ "virginia": 0.2957674,
+ "decimal": 0.39095065,
+ "fields": 0.24240485,
+ "##words": 0.31341285,
+ "boo": 0.9597048,
+ "formats": 0.51017684,
+ "code": 0.40345633,
+ "string": 0.12601446,
+ "cad": 0.06078673,
+ "video": 0.27183607,
+ "error": 0.25743628,
+ "percent": 0.7628137,
+ "sid": 0.82647413,
+ "mono": 1.5861127,
+ "##1": 0.52150285,
+ "array": 0.084740825,
+ "value": 0.24252458,
+ "direction": 0.2760645,
+ "cipher": 0.13565654,
+ "equation": 0.20194884,
+ "length": 0.4745009,
+ "serial": 0.78634113,
+ "colon": 0.3628583,
+ "unsigned": 0.91287726,
+ "syntax": 0.3245573
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | result\nboolean | integer\ndouble | integer\ninteger | integer\nkeyword | integer\nlong | integer\nunsigned_long | integer\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "37f65078-451a-493f-bf83-9412dd8edac6",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/mv_dedupe.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.14845102,
+ "##d": 0.21653128,
+ "##g": 1.4032575,
+ "pun": 0.030228438,
+ "styled": 1.5052158,
+ "alphabet": 0.25697282,
+ "java": 0.74559546,
+ "styling": 0.8939391,
+ "##v": 1.4017226,
+ "##space": 1.4446307,
+ "text": 0.31515658,
+ "##lean": 1.1524496,
+ "%": 1.3636882,
+ "gene": 0.25863215,
+ "double": 1.1129311,
+ "index": 0.65778905,
+ "##ga": 0.19109525,
+ "script": 0.4198229,
+ "/": 0.28323308,
+ "ar": 1.1749511,
+ "doubles": 0.16358286,
+ "style": 1.1686223,
+ "styles": 0.0020419953,
+ "math": 0.40416098,
+ "template": 0.11887853,
+ "longest": 0.24419965,
+ "document": 0.29982898,
+ "pattern": 0.35879794,
+ "long": 1.0834926,
+ "result": 1.188882,
+ "##arat": 0.96167874,
+ "file": 0.92848736,
+ "composed": 0.22304389,
+ "theme": 0.1150433,
+ "vector": 0.10596806,
+ "[": 0.89066184,
+ "graphic": 0.20416996,
+ "]": 0.09658915,
+ "key": 0.5600849,
+ "table": 0.040469646,
+ "sep": 0.8652377,
+ "_": 0.50281197,
+ "editor": 0.327301,
+ "d": 0.5980867,
+ "heading": 0.6459546,
+ "display": 0.4140515,
+ "column": 0.30199128,
+ "abbreviation": 0.015936034,
+ "sample": 0.0017278756,
+ "excel": 0.2904399,
+ "v": 0.5006095,
+ "report": 0.23973563,
+ "organized": 0.20026857,
+ "cod": 0.13849263,
+ "|": 0.9193264,
+ "font": 0.65393054,
+ "dd": 0.24177976,
+ "calculation": 0.19431506,
+ "symbol": 0.12809926,
+ "dh": 0.6549692,
+ "data": 0.32364142,
+ "integer": 1.0588508,
+ "space": 0.85370255,
+ "ds": 1.4886428,
+ "separation": 0.053790405,
+ "logo": 0.08327904,
+ "html": 0.45669472,
+ "pipe": 0.04201132,
+ "results": 0.40005484,
+ "combination": 0.5217484,
+ "which": 0.10964249,
+ "format": 1.4060701,
+ "archive": 0.29393148,
+ "sort": 0.16330254,
+ "volume": 0.13501297,
+ "sequence": 0.4768692,
+ "disk": 0.098769195,
+ "##word": 1.1679877,
+ "header": 1.7167193,
+ "files": 0.31646934,
+ "virginia": 0.2564409,
+ "decimal": 0.15852548,
+ "fields": 0.021447279,
+ "##words": 0.2399099,
+ "boo": 1.0396649,
+ "formats": 0.3748626,
+ "code": 0.3172649,
+ "string": 0.03446612,
+ "cad": 0.059024423,
+ "video": 0.3902112,
+ "error": 0.26637912,
+ "percent": 0.79068184,
+ "sid": 0.7468274,
+ "mono": 1.5468768,
+ "##1": 0.5436288,
+ "value": 0.18083674,
+ "direction": 0.18612231,
+ "mask": 0.128333,
+ "cipher": 0.08486283,
+ "keyboard": 0.13569297,
+ "equation": 0.15169902,
+ "length": 0.30296913,
+ "serial": 0.73629886,
+ "colon": 0.24098931,
+ "syntax": 0.18931888,
+ "window": 0.065940835
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | result\nboolean | boolean\ndouble | double\ninteger | integer\nkeyword | keyword\nlong | long\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "077af9a4-829f-4a31-8c93-3b3fef55c617",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/mv_max.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.20089762,
+ "##d": 0.28355184,
+ "##g": 1.413231,
+ "pun": 0.021609684,
+ "styled": 1.4990054,
+ "alphabet": 0.3886904,
+ "integers": 0.00906861,
+ "java": 0.75236475,
+ "styling": 0.8992369,
+ "##v": 1.4022274,
+ "##space": 1.4538623,
+ "text": 0.28859124,
+ "##lean": 1.1466855,
+ "%": 1.3322253,
+ "gene": 0.34210253,
+ "double": 1.0871885,
+ "index": 0.6721241,
+ "signed": 0.6471298,
+ "##ga": 0.18097273,
+ "script": 0.46229124,
+ "/": 0.27390543,
+ "ar": 1.211104,
+ "exit": 0.1199596,
+ "doubles": 0.18130253,
+ "style": 1.1497308,
+ "styles": 0.011421297,
+ "math": 0.43817583,
+ "encoded": 0.075109966,
+ "template": 0.1092356,
+ "longest": 0.29472256,
+ "document": 0.06768833,
+ "pattern": 0.29335752,
+ "long": 1.3099602,
+ "result": 1.2000667,
+ "##arat": 0.9727287,
+ "characters": 0.10041977,
+ "computer": 0.014591294,
+ "file": 0.9293794,
+ "##or": 0.0118456045,
+ "composed": 0.2837634,
+ "vector": 0.15068035,
+ "theme": 0.08663259,
+ "[": 0.905558,
+ "]": 0.07557188,
+ "graphic": 0.0027041794,
+ "key": 0.661843,
+ "sep": 0.88953465,
+ "_": 0.8147422,
+ "editor": 0.38291976,
+ "d": 0.57288384,
+ "heading": 0.580449,
+ "display": 0.40618393,
+ "column": 0.31906512,
+ "abbreviation": 0.08822155,
+ "excel": 0.22348577,
+ "v": 0.5176776,
+ "organized": 0.13433678,
+ "report": 0.10938286,
+ "char": 0.003988052,
+ "cod": 0.27532014,
+ "|": 0.8461095,
+ "font": 0.53682476,
+ "dd": 0.24247201,
+ "calculation": 0.19572742,
+ "symbol": 0.09761446,
+ "dh": 0.63206416,
+ "data": 0.38197976,
+ "integer": 1.0948333,
+ "space": 0.8563305,
+ "ds": 1.4876357,
+ "separation": 0.04350143,
+ "html": 0.31496605,
+ "pipe": 0.04508038,
+ "results": 0.33341888,
+ "combination": 0.4929498,
+ "which": 0.09723585,
+ "format": 1.4369552,
+ "archive": 0.35190883,
+ "sort": 0.24498224,
+ "volume": 0.1430283,
+ "sequence": 0.56666154,
+ "disk": 0.1348584,
+ "##word": 1.2358344,
+ "header": 1.6833713,
+ "files": 0.3713549,
+ "virginia": 0.23312064,
+ "decimal": 0.35271612,
+ "fields": 0.13988112,
+ "##words": 0.33819935,
+ "boo": 1.0633181,
+ "formats": 0.45494306,
+ "code": 0.33553115,
+ "string": 0.08985834,
+ "cad": 0.08664581,
+ "video": 0.28099424,
+ "error": 0.193418,
+ "percent": 0.7626377,
+ "sid": 0.90254164,
+ "mono": 1.5645586,
+ "##1": 0.59524965,
+ "array": 0.09219747,
+ "value": 0.19106993,
+ "direction": 0.25024602,
+ "mask": 0.08171724,
+ "cipher": 0.22384682,
+ "keyboard": 0.12194341,
+ "equation": 0.06572151,
+ "length": 0.6648571,
+ "serial": 0.8782241,
+ "colon": 0.22627509,
+ "unsigned": 1.2141131,
+ "syntax": 0.30959433
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | result\nboolean | boolean\ndouble | double\ninteger | integer\nkeyword | keyword\nlong | long\nunsigned_long | unsigned_long\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "19158420-3d55-4e5c-b556-89c3854364ae",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/mv_median.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.23685847,
+ "##d": 0.17229538,
+ "##g": 1.3976074,
+ "styled": 1.5380182,
+ "alphabet": 0.21842366,
+ "java": 0.74297714,
+ "styling": 0.92088205,
+ "##v": 1.3712624,
+ "notation": 0.079373814,
+ "##space": 1.4234848,
+ "text": 0.22566608,
+ "%": 1.3349729,
+ "gene": 0.34453437,
+ "double": 1.1532094,
+ "index": 0.60351825,
+ "signed": 0.58917445,
+ "##ga": 0.1324613,
+ "script": 0.48990858,
+ "/": 0.27437612,
+ "ar": 1.2296393,
+ "exit": 0.029875612,
+ "doubles": 0.20812328,
+ "style": 1.1701672,
+ "styles": 0.012520991,
+ "math": 0.57471126,
+ "template": 0.051497724,
+ "longest": 0.17294809,
+ "document": 0.14641906,
+ "pattern": 0.30181524,
+ "long": 1.2058705,
+ "result": 1.2199961,
+ "##arat": 1.0007793,
+ "file": 0.898003,
+ "##or": 0.18728524,
+ "composed": 0.27652097,
+ "vector": 0.18415901,
+ "theme": 0.06266956,
+ "[": 0.8904886,
+ "graphic": 0.15995209,
+ "]": 0.12243514,
+ "table": 4.4598168E-4,
+ "sep": 0.8988329,
+ "_": 0.83807427,
+ "editor": 0.23289259,
+ "d": 0.56252706,
+ "heading": 0.5792564,
+ "display": 0.44876936,
+ "column": 0.33530363,
+ "abbreviation": 0.06809165,
+ "excel": 0.24156284,
+ "v": 0.5071138,
+ "organized": 0.21013665,
+ "cod": 0.24393226,
+ "|": 0.909861,
+ "font": 0.5134397,
+ "dd": 0.2682719,
+ "calculation": 0.19891489,
+ "dh": 0.59574383,
+ "data": 0.3522332,
+ "integer": 1.1501931,
+ "space": 0.8198057,
+ "ds": 1.4995996,
+ "split": 0.057971686,
+ "separation": 0.14054063,
+ "html": 0.33474553,
+ "pipe": 0.07762071,
+ "buffer": 0.11885185,
+ "results": 0.2666466,
+ "combination": 0.14210491,
+ "which": 0.10786004,
+ "format": 1.4907137,
+ "archive": 0.3199464,
+ "sort": 0.28642282,
+ "volume": 0.15035033,
+ "sequence": 0.6502995,
+ "disk": 0.11415388,
+ "header": 1.7643521,
+ "files": 0.29065922,
+ "virginia": 0.18112223,
+ "decimal": 0.40138125,
+ "formats": 0.5127936,
+ "code": 0.20690747,
+ "string": 0.05899543,
+ "cad": 0.10214781,
+ "video": 0.32104886,
+ "error": 0.23977222,
+ "percent": 0.7909082,
+ "sid": 0.89174825,
+ "mono": 1.5256562,
+ "##1": 0.6593151,
+ "array": 0.14574488,
+ "value": 0.19738363,
+ "direction": 0.34738407,
+ "cipher": 0.07651129,
+ "equation": 0.30475467,
+ "length": 0.55656034,
+ "serial": 0.84394187,
+ "colon": 0.29688564,
+ "unsigned": 1.059142,
+ "syntax": 0.1733482
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | result\ndouble | double\ninteger | integer\nlong | long\nunsigned_long | unsigned_long\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "3834e8ba-b280-4dbc-9e5c-12be0152298d",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/mv_min.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.20089762,
+ "##d": 0.28355184,
+ "##g": 1.413231,
+ "pun": 0.021609684,
+ "styled": 1.4990054,
+ "alphabet": 0.3886904,
+ "integers": 0.00906861,
+ "java": 0.75236475,
+ "styling": 0.8992369,
+ "##v": 1.4022274,
+ "##space": 1.4538623,
+ "text": 0.28859124,
+ "##lean": 1.1466855,
+ "%": 1.3322253,
+ "gene": 0.34210253,
+ "double": 1.0871885,
+ "index": 0.6721241,
+ "signed": 0.6471298,
+ "##ga": 0.18097273,
+ "script": 0.46229124,
+ "/": 0.27390543,
+ "ar": 1.211104,
+ "exit": 0.1199596,
+ "doubles": 0.18130253,
+ "style": 1.1497308,
+ "styles": 0.011421297,
+ "math": 0.43817583,
+ "encoded": 0.075109966,
+ "template": 0.1092356,
+ "longest": 0.29472256,
+ "document": 0.06768833,
+ "pattern": 0.29335752,
+ "long": 1.3099602,
+ "result": 1.2000667,
+ "##arat": 0.9727287,
+ "characters": 0.10041977,
+ "computer": 0.014591294,
+ "file": 0.9293794,
+ "##or": 0.0118456045,
+ "composed": 0.2837634,
+ "vector": 0.15068035,
+ "theme": 0.08663259,
+ "[": 0.905558,
+ "]": 0.07557188,
+ "graphic": 0.0027041794,
+ "key": 0.661843,
+ "sep": 0.88953465,
+ "_": 0.8147422,
+ "editor": 0.38291976,
+ "d": 0.57288384,
+ "heading": 0.580449,
+ "display": 0.40618393,
+ "column": 0.31906512,
+ "abbreviation": 0.08822155,
+ "excel": 0.22348577,
+ "v": 0.5176776,
+ "organized": 0.13433678,
+ "report": 0.10938286,
+ "char": 0.003988052,
+ "cod": 0.27532014,
+ "|": 0.8461095,
+ "font": 0.53682476,
+ "dd": 0.24247201,
+ "calculation": 0.19572742,
+ "symbol": 0.09761446,
+ "dh": 0.63206416,
+ "data": 0.38197976,
+ "integer": 1.0948333,
+ "space": 0.8563305,
+ "ds": 1.4876357,
+ "separation": 0.04350143,
+ "html": 0.31496605,
+ "pipe": 0.04508038,
+ "results": 0.33341888,
+ "combination": 0.4929498,
+ "which": 0.09723585,
+ "format": 1.4369552,
+ "archive": 0.35190883,
+ "sort": 0.24498224,
+ "volume": 0.1430283,
+ "sequence": 0.56666154,
+ "disk": 0.1348584,
+ "##word": 1.2358344,
+ "header": 1.6833713,
+ "files": 0.3713549,
+ "virginia": 0.23312064,
+ "decimal": 0.35271612,
+ "fields": 0.13988112,
+ "##words": 0.33819935,
+ "boo": 1.0633181,
+ "formats": 0.45494306,
+ "code": 0.33553115,
+ "string": 0.08985834,
+ "cad": 0.08664581,
+ "video": 0.28099424,
+ "error": 0.193418,
+ "percent": 0.7626377,
+ "sid": 0.90254164,
+ "mono": 1.5645586,
+ "##1": 0.59524965,
+ "array": 0.09219747,
+ "value": 0.19106993,
+ "direction": 0.25024602,
+ "mask": 0.08171724,
+ "cipher": 0.22384682,
+ "keyboard": 0.12194341,
+ "equation": 0.06572151,
+ "length": 0.6648571,
+ "serial": 0.8782241,
+ "colon": 0.22627509,
+ "unsigned": 1.2141131,
+ "syntax": 0.30959433
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | result\nboolean | boolean\ndouble | double\ninteger | integer\nkeyword | keyword\nlong | long\nunsigned_long | unsigned_long\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "e7b4cc7d-b3ff-4979-8f7c-9db490df7e51",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/mv_sum.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.11144383,
+ "cluster": 0.014674704,
+ "fancy": 0.034272157,
+ "dh": 0.48628452,
+ "data": 0.17938444,
+ "##g": 1.369975,
+ "styled": 1.4969018,
+ "space": 0.74634606,
+ "ds": 1.4402281,
+ "java": 0.74760115,
+ "styling": 0.76692593,
+ "separation": 0.12561227,
+ "##v": 1.3203931,
+ "logo": 0.0872366,
+ "##space": 1.3636111,
+ "html": 0.4896364,
+ "pipe": 0.062420517,
+ "text": 0.22348358,
+ "results": 0.3563357,
+ "combination": 0.0826407,
+ "which": 0.099889256,
+ "%": 1.3683678,
+ "gene": 0.23693137,
+ "double": 1.346129,
+ "format": 1.4152682,
+ "index": 0.60906035,
+ "archive": 0.12974614,
+ "##ga": 0.066361815,
+ "script": 0.3755833,
+ "/": 0.28151426,
+ "volume": 0.1326841,
+ "ar": 1.1800628,
+ "sequence": 0.6052608,
+ "header": 1.778582,
+ "style": 1.1225765,
+ "math": 0.5064774,
+ "virginia": 0.059713393,
+ "decimal": 0.19049527,
+ "code": 0.21214262,
+ "formats": 0.14742038,
+ "document": 0.42526957,
+ "pattern": 0.45126006,
+ "video": 0.41178116,
+ "error": 0.44597158,
+ "percent": 0.7788067,
+ "sid": 0.7115277,
+ "mono": 1.456735,
+ "result": 1.285748,
+ "##arat": 1.0052644,
+ "##1": 0.69677055,
+ "file": 0.84739155,
+ "##or": 0.08979873,
+ "composed": 0.056887433,
+ "plot": 0.019068033,
+ "array": 0.011991201,
+ "vector": 0.08238241,
+ "[": 0.8176953,
+ "graphic": 0.45433235,
+ "]": 0.18417934,
+ "value": 0.14257988,
+ "table": 0.10335806,
+ "sep": 0.79030156,
+ "_": 0.6534575,
+ "direction": 0.24691537,
+ "editor": 0.121006444,
+ "keyboard": 0.027809035,
+ "d": 0.5083519,
+ "heading": 0.58446896,
+ "display": 0.44919303,
+ "equation": 0.29585305,
+ "column": 0.33592567,
+ "excel": 0.23785228,
+ "serial": 0.7253639,
+ "v": 0.42430484,
+ "report": 0.30345926,
+ "organized": 0.2064298,
+ "colon": 0.11784089,
+ "cod": 0.03644774,
+ "window": 0.026830139,
+ "|": 1.0148953,
+ "chart": 0.09939441,
+ "font": 0.60299164
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | result\ndouble | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "31a065e1-3082-4540-ab50-3f2a66daa340",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/pi.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "copyright": 0.06665539,
+ "dh": 0.43154192,
+ "data": 0.16590387,
+ "styled": 1.4306172,
+ "space": 0.7254456,
+ "ds": 1.4107337,
+ "java": 0.7611219,
+ "styling": 0.58973956,
+ "separation": 0.15220663,
+ "##v": 1.3275515,
+ "logo": 0.15510741,
+ "##space": 1.2874554,
+ "html": 0.5356091,
+ "text": 0.3272727,
+ "results": 0.29971105,
+ "which": 0.030725304,
+ "%": 1.3460832,
+ "gene": 0.10891503,
+ "format": 1.4416173,
+ "index": 0.57467467,
+ "archive": 0.024664328,
+ "script": 0.30804816,
+ "/": 0.23730895,
+ "volume": 0.101241335,
+ "sequence": 0.46806535,
+ "header": 1.7393368,
+ "style": 1.0871606,
+ "math": 0.367838,
+ "virginia": 0.10069564,
+ "code": 0.20992862,
+ "document": 0.48758805,
+ "pattern": 0.4539083,
+ "video": 0.39241272,
+ "error": 0.4577086,
+ "percent": 0.6935496,
+ "sid": 0.6415605,
+ "mono": 1.3820429,
+ "result": 1.2496178,
+ "##arat": 1.0291213,
+ "file": 0.7946926,
+ "[": 0.76067686,
+ "graphic": 0.44080365,
+ "]": 0.14540921,
+ "table": 0.16235197,
+ "sep": 0.82737964,
+ "_": 0.5286533,
+ "direction": 0.14356285,
+ "editor": 0.15722723,
+ "d": 0.48655266,
+ "heading": 0.56395966,
+ "spelling": 0.0156033635,
+ "display": 0.33710137,
+ "equation": 0.05545392,
+ "column": 0.27740407,
+ "label": 0.16855979,
+ "abbreviation": 0.0042599174,
+ "excel": 0.19307408,
+ "serial": 0.5761919,
+ "v": 0.39531982,
+ "report": 0.36661017,
+ "colon": 0.22982068,
+ "organized": 0.20546083,
+ "window": 0.0032266718,
+ "|": 1.1101351,
+ "font": 0.61065024
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nresult\n\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "a3fd9da4-9c37-4a5c-8c5a-944284469edb",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/pow.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.23339452,
+ "##d": 0.038573526,
+ "pun": 0.32138085,
+ "arithmetic": 0.12071404,
+ "styled": 1.4543706,
+ "alphabet": 0.60243946,
+ "type": 0.20444478,
+ "java": 0.6161242,
+ "styling": 0.9588922,
+ "##v": 1.4305005,
+ "notation": 0.44032884,
+ "##space": 1.476842,
+ "text": 0.29456797,
+ "##vc": 0.015260251,
+ "%": 1.3465079,
+ "gene": 0.066661075,
+ "double": 1.1954609,
+ "index": 0.6918657,
+ "script": 0.49291945,
+ "/": 0.27386054,
+ "size": 0.17483732,
+ "triple": 0.082980655,
+ "doubles": 0.65488356,
+ "style": 1.1143812,
+ "styles": 0.19544107,
+ "math": 0.69261837,
+ "=": 0.0017341827,
+ "template": 0.11839299,
+ "columns": 0.04491479,
+ "pattern": 0.1334287,
+ "long": 1.0975915,
+ "result": 1.2116827,
+ "##arat": 1.0320168,
+ "characters": 0.1932938,
+ "sd": 0.06980717,
+ "file": 0.6788818,
+ "##or": 0.17435227,
+ "composed": 0.23173831,
+ "where": 0.066045955,
+ "theme": 0.021500016,
+ "[": 1.0681119,
+ "multiplication": 0.28309682,
+ "]": 0.47714427,
+ "table": 0.32167265,
+ "sep": 0.9288112,
+ "_": 0.43189788,
+ "ss": 0.05012562,
+ "editor": 0.018330928,
+ "expression": 0.20650388,
+ "d": 0.6918089,
+ "heading": 0.663921,
+ "display": 0.3498637,
+ "column": 0.37274387,
+ "abbreviation": 0.49320617,
+ "fraction": 0.20352185,
+ "excel": 0.41653222,
+ "v": 0.6690226,
+ "##uation": 0.12544215,
+ "organized": 0.20254433,
+ "cod": 0.30871382,
+ "|": 0.85453045,
+ "chart": 0.14110331,
+ "font": 0.62014693,
+ "dd": 0.50838083,
+ "calculation": 0.21544522,
+ "exponential": 0.15250278,
+ "symbol": 0.2629567,
+ "dh": 0.79058343,
+ "data": 0.38741755,
+ "precision": 0.07734656,
+ "integer": 1.0717198,
+ "space": 0.8676684,
+ "ds": 1.5431306,
+ "acceleration": 0.011057646,
+ "separation": 0.035548024,
+ "html": 0.3827371,
+ "pipe": 0.1116622,
+ "results": 0.53208005,
+ "combination": 0.265531,
+ "which": 0.18322401,
+ "format": 1.5456347,
+ "sort": 0.4236556,
+ "volume": 0.20952798,
+ "sequence": 0.5104021,
+ "header": 1.7975773,
+ "files": 0.32453302,
+ "virginia": 0.42082343,
+ "decimal": 0.6022424,
+ "fields": 0.22542804,
+ "formats": 0.74446404,
+ "code": 0.38448378,
+ "string": 0.120409496,
+ "##nent": 0.918817,
+ "percent": 0.8236544,
+ "symbols": 0.06448258,
+ "sid": 0.5953677,
+ "mono": 1.5601175,
+ "times": 0.090212084,
+ "array": 0.0066730753,
+ "expo": 1.035655,
+ "value": 0.38195884,
+ "direction": 0.25948843,
+ "spelling": 0.3803287,
+ "equation": 0.1858613,
+ "length": 0.379917,
+ "serial": 0.542917,
+ "colon": 0.3119211,
+ "syntax": 0.45329997,
+ "formula": 0.06294598,
+ "base": 1.0166714
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nbase | exponent | result\ndouble | double | double\ndouble | integer | double\ninteger | double | double\ninteger | integer | integer\nlong | double | double\nlong | integer | long\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "dac48663-de4a-4895-a15f-f0a2c945dc68",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/replace.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.21112292,
+ "fancy": 0.041274812,
+ "dh": 0.57919943,
+ "##d": 0.2910633,
+ "data": 0.14413686,
+ "##g": 1.4814464,
+ "styled": 1.4182088,
+ "alphabet": 0.32591486,
+ "type": 0.024995394,
+ "space": 0.868447,
+ "ds": 1.390368,
+ "pad": 0.004869981,
+ "java": 0.81313,
+ "styling": 0.8217365,
+ "##v": 1.3895744,
+ "logo": 0.2030374,
+ "##space": 1.5014488,
+ "html": 0.6103236,
+ "text": 1.2343625,
+ "results": 0.7373745,
+ "combination": 0.124660544,
+ "algorithm": 0.013794916,
+ "which": 0.012500624,
+ "%": 1.3270007,
+ "gene": 0.023220755,
+ "format": 1.3881357,
+ "index": 0.69177544,
+ "##ga": 0.25364986,
+ "archive": 0.020401515,
+ "sort": 0.16471063,
+ "script": 0.41432858,
+ "/": 0.32560965,
+ "volume": 0.016423516,
+ "ar": 1.2892656,
+ "sequence": 0.23265277,
+ "##word": 1.3667593,
+ "domain": 0.0515609,
+ "header": 1.7014488,
+ "files": 0.21624717,
+ "style": 1.0671316,
+ "styles": 0.10158796,
+ "math": 0.24656926,
+ "virginia": 0.20720325,
+ "##words": 0.70475364,
+ "template": 0.21881348,
+ "formats": 0.44880208,
+ "code": 0.33185166,
+ "string": 0.10311163,
+ "signature": 8.369757E-4,
+ "keys": 0.08837565,
+ "document": 0.27214658,
+ "pattern": 0.32240212,
+ "percent": 0.6750932,
+ "sid": 0.5680585,
+ "mono": 1.5891093,
+ "result": 1.2929007,
+ "##arat": 0.99491614,
+ "search": 0.6372572,
+ "file": 0.76205677,
+ "##or": 0.07632576,
+ "##3": 0.033034448,
+ "composed": 0.15658915,
+ "theme": 0.0020197486,
+ "[": 1.0121328,
+ "]": 0.2125182,
+ "value": 0.09679402,
+ "graphic": 0.041392166,
+ "key": 0.78652054,
+ "table": 0.014658727,
+ "sep": 0.9019512,
+ "_": 0.502124,
+ "mask": 0.38700655,
+ "direction": 0.0028911717,
+ "cipher": 0.26468667,
+ "editor": 0.41749066,
+ "mat": 0.041768163,
+ "keyboard": 0.03088667,
+ "d": 0.5717981,
+ "heading": 0.75494426,
+ "display": 0.2574809,
+ "column": 0.23787361,
+ "abbreviation": 0.079473786,
+ "excel": 0.10911953,
+ "serial": 0.5459468,
+ "v": 0.5776604,
+ "report": 0.35823554,
+ "colon": 0.21589535,
+ "organized": 0.12082138,
+ "syntax": 0.41992715,
+ "cod": 0.1232481,
+ "|": 0.7638102,
+ "font": 0.7095501
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | arg2 | arg3 | result\nkeyword | keyword | keyword | keyword\nkeyword | keyword | text | keyword\nkeyword | text | keyword | keyword\nkeyword | text | text | keyword\ntext | keyword | keyword | keyword\ntext | keyword | text | keyword\ntext | text | keyword | keyword\ntext | text | text | keyword\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "e01fe8e1-6134-44e7-aefc-c7f36c6eb63c",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/right.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.17529751,
+ "dh": 0.61644495,
+ "data": 0.2728129,
+ "##d": 0.023811564,
+ "styled": 1.5073934,
+ "integer": 0.99963176,
+ "alphabet": 0.10691343,
+ "space": 0.7718859,
+ "ds": 1.514216,
+ "java": 0.76151496,
+ "styling": 0.79523075,
+ "separation": 0.17244327,
+ "##v": 1.4165994,
+ "logo": 0.15142529,
+ "##space": 1.3774698,
+ "html": 0.5226077,
+ "text": 0.32086396,
+ "results": 0.34192944,
+ "combination": 0.028004142,
+ "which": 0.11875616,
+ "otherwise": 0.060134426,
+ "%": 1.3856502,
+ "gene": 0.1870295,
+ "format": 1.4410975,
+ "index": 0.65750897,
+ "archive": 0.18447717,
+ "script": 0.35559967,
+ "/": 0.30119756,
+ "volume": 0.10173527,
+ "sequence": 0.49642757,
+ "##word": 1.0837168,
+ "header": 1.7476878,
+ "files": 0.06487692,
+ "style": 1.1683446,
+ "math": 0.41544163,
+ "virginia": 0.2508161,
+ "decimal": 0.054062955,
+ "##words": 0.10561041,
+ "code": 0.25575593,
+ "formats": 0.20156877,
+ "longest": 0.09867772,
+ "string": 0.9296201,
+ "document": 0.44634432,
+ "pattern": 0.42312965,
+ "video": 0.41265264,
+ "error": 0.22912349,
+ "percent": 0.78791004,
+ "long": 0.018248994,
+ "sid": 0.64210254,
+ "mono": 1.4826465,
+ "result": 1.1600635,
+ "##arat": 1.0577152,
+ "file": 0.8346674,
+ "##or": 0.14652748,
+ "composed": 0.10076128,
+ "theme": 0.06388815,
+ "vector": 0.016452013,
+ "[": 0.86956704,
+ "graphic": 0.31800646,
+ "value": 0.14440484,
+ "]": 0.12907466,
+ "key": 0.42236033,
+ "table": 0.06225419,
+ "sep": 0.92242175,
+ "_": 0.5772185,
+ "direction": 0.1334071,
+ "mask": 0.098259635,
+ "editor": 0.19665219,
+ "d": 0.6240194,
+ "heading": 0.6362973,
+ "display": 0.35116512,
+ "equation": 0.16146603,
+ "length": 1.0938601,
+ "column": 0.2413795,
+ "label": 0.07006905,
+ "abbreviation": 0.041481834,
+ "sample": 0.016897047,
+ "excel": 0.22029,
+ "serial": 0.66131365,
+ "v": 0.5338634,
+ "report": 0.39659366,
+ "colon": 0.26602185,
+ "organized": 0.20790292,
+ "cod": 0.10974675,
+ "window": 0.02318919,
+ "|": 1.0076073,
+ "font": 0.6359558
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nstring | length | result\nkeyword | integer | keyword\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "bde4e61c-e633-4698-a734-386117a4f36c",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/round.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.19346869,
+ "cluster": 0.0076474044,
+ "fancy": 0.09725565,
+ "dh": 0.5563342,
+ "data": 0.23598485,
+ "##d": 0.046631694,
+ "##g": 1.3216769,
+ "styled": 1.5196002,
+ "integer": 1.1459574,
+ "alphabet": 0.03906248,
+ "space": 0.76897746,
+ "ds": 1.4664528,
+ "java": 0.78860164,
+ "styling": 0.82243377,
+ "separation": 0.10425467,
+ "##v": 1.3314104,
+ "logo": 0.04109932,
+ "##space": 1.3896981,
+ "html": 0.455437,
+ "pipe": 0.114956915,
+ "text": 0.20722981,
+ "results": 0.3134504,
+ "combination": 0.09707175,
+ "which": 0.1360571,
+ "%": 1.373074,
+ "gene": 0.24959096,
+ "double": 1.36567,
+ "format": 1.4159088,
+ "index": 0.63041824,
+ "archive": 0.17965251,
+ "sort": 0.09991882,
+ "script": 0.3905817,
+ "/": 0.2611158,
+ "volume": 0.13245492,
+ "ar": 1.0856525,
+ "sequence": 0.6307434,
+ "doubles": 0.52035683,
+ "header": 1.795694,
+ "files": 0.06505253,
+ "style": 1.1234297,
+ "math": 0.56620055,
+ "virginia": 0.16273376,
+ "decimal": 0.2822947,
+ "formats": 0.306531,
+ "code": 0.1796315,
+ "document": 0.35825554,
+ "cad": 0.033049326,
+ "pattern": 0.401732,
+ "video": 0.40760922,
+ "error": 0.38412523,
+ "percent": 0.81646127,
+ "sid": 0.740312,
+ "mono": 1.5021954,
+ "result": 1.2618963,
+ "##arat": 0.97409964,
+ "file": 0.8685267,
+ "composed": 0.11720346,
+ "array": 0.026800197,
+ "plot": 0.003820028,
+ "vector": 0.08179282,
+ "[": 0.88588727,
+ "graphic": 0.3725798,
+ "value": 0.22316386,
+ "]": 0.15926419,
+ "table": 0.06320966,
+ "sep": 0.795785,
+ "_": 0.6338496,
+ "direction": 0.2775598,
+ "mask": 0.026307065,
+ "editor": 0.13076617,
+ "d": 0.5330678,
+ "heading": 0.5866295,
+ "display": 0.44979292,
+ "equation": 0.37998474,
+ "column": 0.30562067,
+ "excel": 0.30106366,
+ "serial": 0.7378172,
+ "v": 0.46014512,
+ "colon": 0.2822077,
+ "report": 0.22134435,
+ "organized": 0.18733053,
+ "cod": 0.08902202,
+ "window": 0.052715857,
+ "|": 0.9640311,
+ "chart": 0.04889842,
+ "font": 0.5877334
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | arg2 | result\ndouble | integer | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "45c16d85-9724-40c9-8adf-b2582ec2afc0",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/rtrim.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.064127885,
+ "copyright": 0.045812383,
+ "dh": 0.5128268,
+ "data": 0.08649167,
+ "##d": 0.008570673,
+ "##g": 1.4337245,
+ "styled": 1.4611096,
+ "space": 0.7834379,
+ "ds": 1.4206536,
+ "java": 0.755849,
+ "styling": 0.7301426,
+ "separation": 0.09983446,
+ "##v": 1.3294926,
+ "logo": 0.19181079,
+ "##space": 1.3767972,
+ "html": 0.51708454,
+ "text": 1.0490658,
+ "results": 0.29274374,
+ "which": 0.07749639,
+ "%": 1.3629293,
+ "gene": 0.20739451,
+ "format": 1.3428321,
+ "index": 0.6102529,
+ "##ga": 0.17826493,
+ "archive": 0.08104118,
+ "script": 0.32549232,
+ "/": 0.2981721,
+ "volume": 0.012233345,
+ "ar": 1.2865151,
+ "sequence": 0.44652557,
+ "##word": 1.281399,
+ "header": 1.7123138,
+ "style": 1.0905305,
+ "math": 0.35323206,
+ "virginia": 0.15869403,
+ "decimal": 0.010561997,
+ "##words": 0.104463555,
+ "code": 0.32785606,
+ "document": 0.4610053,
+ "cad": 0.008658722,
+ "pattern": 0.4587387,
+ "video": 0.3679124,
+ "error": 0.30315772,
+ "percent": 0.75589657,
+ "content": 0.016050654,
+ "sid": 0.6546647,
+ "mono": 1.4938333,
+ "result": 1.2076411,
+ "##arat": 1.0032293,
+ "##1": 0.7942685,
+ "search": 0.32991204,
+ "file": 0.8123178,
+ "##or": 0.033412103,
+ "composed": 0.071939275,
+ "vector": 0.07464917,
+ "[": 0.798394,
+ "graphic": 0.419618,
+ "value": 0.085442625,
+ "]": 0.06592833,
+ "key": 0.43164313,
+ "table": 0.026531141,
+ "sep": 0.8059835,
+ "_": 0.59568924,
+ "mask": 0.16992348,
+ "direction": 0.108868845,
+ "editor": 0.2242129,
+ "d": 0.56614745,
+ "heading": 0.65287703,
+ "display": 0.40943134,
+ "equation": 0.18890852,
+ "column": 0.26115012,
+ "abbreviation": 0.03443261,
+ "excel": 0.12029187,
+ "serial": 0.63741076,
+ "v": 0.42722782,
+ "report": 0.52804875,
+ "organized": 0.15718924,
+ "colon": 0.13002901,
+ "cod": 0.032075435,
+ "|": 0.9627677,
+ "font": 0.65751857
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | result\nkeyword | keyword\ntext | text\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "18c28546-1a8d-41bf-b2b6-02c4b82b81c1",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/sin.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.25089774,
+ "##d": 0.046300203,
+ "pun": 0.11761178,
+ "styled": 1.5142275,
+ "alphabet": 0.25002128,
+ "java": 0.7463123,
+ "styling": 0.9375413,
+ "##v": 1.3431478,
+ "notation": 0.15449688,
+ "##space": 1.3888974,
+ "text": 0.19283268,
+ "%": 1.331049,
+ "gene": 0.20652531,
+ "double": 1.3505749,
+ "index": 0.63616633,
+ "signed": 0.4380863,
+ "script": 0.49088883,
+ "/": 0.21241921,
+ "exit": 0.013228038,
+ "doubles": 0.354848,
+ "style": 1.1500632,
+ "styles": 0.06614772,
+ "math": 0.6176355,
+ "longest": 0.057817895,
+ "document": 0.19199705,
+ "pattern": 0.3112345,
+ "long": 1.2568266,
+ "result": 1.2327625,
+ "##arat": 0.9981543,
+ "file": 0.841849,
+ "##or": 0.004623556,
+ "composed": 0.2187697,
+ "theme": 0.08917228,
+ "vector": 0.00466212,
+ "[": 0.8581835,
+ "]": 0.14146319,
+ "graphic": 0.13121834,
+ "table": 0.13023132,
+ "sep": 0.80975,
+ "_": 0.77832973,
+ "editor": 0.15324657,
+ "d": 0.56061214,
+ "heading": 0.6115525,
+ "display": 0.34168348,
+ "column": 0.38204998,
+ "abbreviation": 0.17948805,
+ "n": 1.249684,
+ "excel": 0.37423417,
+ "v": 0.574327,
+ "organized": 0.19180006,
+ "report": 0.08792093,
+ "cod": 0.23716837,
+ "|": 0.8759816,
+ "font": 0.5299331,
+ "dd": 0.33176962,
+ "calculation": 0.091898255,
+ "dh": 0.6029812,
+ "data": 0.36559448,
+ "integer": 1.0967511,
+ "space": 0.7719727,
+ "ds": 1.4925518,
+ "split": 0.060853254,
+ "separation": 0.0992868,
+ "html": 0.34815544,
+ "pipe": 0.2575662,
+ "results": 0.35662258,
+ "combination": 0.23126298,
+ "which": 0.12669136,
+ "format": 1.4587401,
+ "archive": 0.20722292,
+ "sort": 0.2630893,
+ "volume": 0.16865587,
+ "sequence": 0.6529036,
+ "disk": 0.038280543,
+ "header": 1.7828301,
+ "files": 0.25720623,
+ "virginia": 0.296477,
+ "decimal": 0.4640827,
+ "formats": 0.5387573,
+ "code": 0.25313875,
+ "string": 0.047462154,
+ "video": 0.17926985,
+ "error": 0.1676126,
+ "percent": 0.79516315,
+ "sid": 0.8046576,
+ "mono": 1.50435,
+ "array": 0.0702182,
+ "value": 0.24169064,
+ "direction": 0.25978598,
+ "cipher": 0.05467262,
+ "keyboard": 0.018322734,
+ "equation": 0.13025843,
+ "length": 0.68032795,
+ "serial": 0.7631122,
+ "colon": 0.3066077,
+ "unsigned": 0.96431655,
+ "syntax": 0.22675839
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nn | result\ndouble | double\ninteger | double\nlong | double\nunsigned_long | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "2a6b1285-e097-4f7f-a7bf-86ac3201ece3",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/sinh.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.25089774,
+ "##d": 0.046300203,
+ "pun": 0.11761178,
+ "styled": 1.5142275,
+ "alphabet": 0.25002128,
+ "java": 0.7463123,
+ "styling": 0.9375413,
+ "##v": 1.3431478,
+ "notation": 0.15449688,
+ "##space": 1.3888974,
+ "text": 0.19283268,
+ "%": 1.331049,
+ "gene": 0.20652531,
+ "double": 1.3505749,
+ "index": 0.63616633,
+ "signed": 0.4380863,
+ "script": 0.49088883,
+ "/": 0.21241921,
+ "exit": 0.013228038,
+ "doubles": 0.354848,
+ "style": 1.1500632,
+ "styles": 0.06614772,
+ "math": 0.6176355,
+ "longest": 0.057817895,
+ "document": 0.19199705,
+ "pattern": 0.3112345,
+ "long": 1.2568266,
+ "result": 1.2327625,
+ "##arat": 0.9981543,
+ "file": 0.841849,
+ "##or": 0.004623556,
+ "composed": 0.2187697,
+ "theme": 0.08917228,
+ "vector": 0.00466212,
+ "[": 0.8581835,
+ "]": 0.14146319,
+ "graphic": 0.13121834,
+ "table": 0.13023132,
+ "sep": 0.80975,
+ "_": 0.77832973,
+ "editor": 0.15324657,
+ "d": 0.56061214,
+ "heading": 0.6115525,
+ "display": 0.34168348,
+ "column": 0.38204998,
+ "abbreviation": 0.17948805,
+ "n": 1.249684,
+ "excel": 0.37423417,
+ "v": 0.574327,
+ "organized": 0.19180006,
+ "report": 0.08792093,
+ "cod": 0.23716837,
+ "|": 0.8759816,
+ "font": 0.5299331,
+ "dd": 0.33176962,
+ "calculation": 0.091898255,
+ "dh": 0.6029812,
+ "data": 0.36559448,
+ "integer": 1.0967511,
+ "space": 0.7719727,
+ "ds": 1.4925518,
+ "split": 0.060853254,
+ "separation": 0.0992868,
+ "html": 0.34815544,
+ "pipe": 0.2575662,
+ "results": 0.35662258,
+ "combination": 0.23126298,
+ "which": 0.12669136,
+ "format": 1.4587401,
+ "archive": 0.20722292,
+ "sort": 0.2630893,
+ "volume": 0.16865587,
+ "sequence": 0.6529036,
+ "disk": 0.038280543,
+ "header": 1.7828301,
+ "files": 0.25720623,
+ "virginia": 0.296477,
+ "decimal": 0.4640827,
+ "formats": 0.5387573,
+ "code": 0.25313875,
+ "string": 0.047462154,
+ "video": 0.17926985,
+ "error": 0.1676126,
+ "percent": 0.79516315,
+ "sid": 0.8046576,
+ "mono": 1.50435,
+ "array": 0.0702182,
+ "value": 0.24169064,
+ "direction": 0.25978598,
+ "cipher": 0.05467262,
+ "keyboard": 0.018322734,
+ "equation": 0.13025843,
+ "length": 0.68032795,
+ "serial": 0.7631122,
+ "colon": 0.3066077,
+ "unsigned": 0.96431655,
+ "syntax": 0.22675839
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nn | result\ndouble | double\ninteger | double\nlong | double\nunsigned_long | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "b0f030f7-ecb0-4fed-ace2-3c0259302194",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/split.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.10337924,
+ "cluster": 0.0103695905,
+ "dh": 0.54673034,
+ "data": 0.170529,
+ "##d": 0.1521149,
+ "##g": 1.3837656,
+ "styled": 1.4738846,
+ "space": 0.80663157,
+ "ds": 1.4683096,
+ "java": 0.7834603,
+ "styling": 0.74772996,
+ "separation": 0.09609591,
+ "##v": 1.3646276,
+ "logo": 0.17443149,
+ "##space": 1.4012953,
+ "html": 0.5331323,
+ "text": 0.2838687,
+ "results": 0.29188433,
+ "which": 0.08810127,
+ "%": 1.3670098,
+ "gene": 0.2976249,
+ "format": 1.3327545,
+ "index": 0.63091326,
+ "archive": 0.23427682,
+ "##ga": 0.011954451,
+ "script": 0.32378718,
+ "/": 0.29877254,
+ "volume": 0.15913661,
+ "ar": 1.1326331,
+ "sequence": 0.561989,
+ "##word": 1.0807667,
+ "header": 1.7432415,
+ "files": 0.052476082,
+ "style": 1.0984273,
+ "math": 0.32362926,
+ "virginia": 0.1679024,
+ "decimal": 0.06805379,
+ "##words": 0.049728706,
+ "template": 0.020628901,
+ "code": 0.22767438,
+ "formats": 0.13189507,
+ "document": 0.44463068,
+ "cad": 0.035716668,
+ "pattern": 0.44949636,
+ "video": 0.49892944,
+ "error": 0.27338988,
+ "percent": 0.76052654,
+ "layer": 0.023020051,
+ "sid": 0.73665315,
+ "mono": 1.5182422,
+ "result": 1.1705153,
+ "##arat": 1.0105729,
+ "##1": 0.0089715,
+ "search": 0.008052385,
+ "file": 0.8933167,
+ "##or": 0.03234866,
+ "composed": 0.08924708,
+ "vector": 0.11998032,
+ "[": 0.8232316,
+ "graphic": 0.3837418,
+ "value": 0.15001519,
+ "]": 0.06781566,
+ "key": 0.33893842,
+ "table": 0.08076401,
+ "sep": 0.82559687,
+ "_": 0.56932443,
+ "direction": 0.16844155,
+ "mask": 0.15347113,
+ "editor": 0.23374674,
+ "d": 0.5814918,
+ "heading": 0.658797,
+ "display": 0.4139742,
+ "equation": 0.24685559,
+ "column": 0.3101356,
+ "sample": 0.0023239052,
+ "excel": 0.20180622,
+ "serial": 0.70642495,
+ "v": 0.48705187,
+ "report": 0.4836736,
+ "organized": 0.21596386,
+ "colon": 0.117990494,
+ "cod": 0.074098945,
+ "window": 0.07830779,
+ "|": 0.9239258,
+ "font": 0.60335827
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | arg2 | result\nkeyword | keyword | keyword\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "5dc97453-a052-4fcd-a6df-ecbb99aacfe1",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/sqrt.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.25089774,
+ "##d": 0.046300203,
+ "pun": 0.11761178,
+ "styled": 1.5142275,
+ "alphabet": 0.25002128,
+ "java": 0.7463123,
+ "styling": 0.9375413,
+ "##v": 1.3431478,
+ "notation": 0.15449688,
+ "##space": 1.3888974,
+ "text": 0.19283268,
+ "%": 1.331049,
+ "gene": 0.20652531,
+ "double": 1.3505749,
+ "index": 0.63616633,
+ "signed": 0.4380863,
+ "script": 0.49088883,
+ "/": 0.21241921,
+ "exit": 0.013228038,
+ "doubles": 0.354848,
+ "style": 1.1500632,
+ "styles": 0.06614772,
+ "math": 0.6176355,
+ "longest": 0.057817895,
+ "document": 0.19199705,
+ "pattern": 0.3112345,
+ "long": 1.2568266,
+ "result": 1.2327625,
+ "##arat": 0.9981543,
+ "file": 0.841849,
+ "##or": 0.004623556,
+ "composed": 0.2187697,
+ "theme": 0.08917228,
+ "vector": 0.00466212,
+ "[": 0.8581835,
+ "]": 0.14146319,
+ "graphic": 0.13121834,
+ "table": 0.13023132,
+ "sep": 0.80975,
+ "_": 0.77832973,
+ "editor": 0.15324657,
+ "d": 0.56061214,
+ "heading": 0.6115525,
+ "display": 0.34168348,
+ "column": 0.38204998,
+ "abbreviation": 0.17948805,
+ "n": 1.249684,
+ "excel": 0.37423417,
+ "v": 0.574327,
+ "organized": 0.19180006,
+ "report": 0.08792093,
+ "cod": 0.23716837,
+ "|": 0.8759816,
+ "font": 0.5299331,
+ "dd": 0.33176962,
+ "calculation": 0.091898255,
+ "dh": 0.6029812,
+ "data": 0.36559448,
+ "integer": 1.0967511,
+ "space": 0.7719727,
+ "ds": 1.4925518,
+ "split": 0.060853254,
+ "separation": 0.0992868,
+ "html": 0.34815544,
+ "pipe": 0.2575662,
+ "results": 0.35662258,
+ "combination": 0.23126298,
+ "which": 0.12669136,
+ "format": 1.4587401,
+ "archive": 0.20722292,
+ "sort": 0.2630893,
+ "volume": 0.16865587,
+ "sequence": 0.6529036,
+ "disk": 0.038280543,
+ "header": 1.7828301,
+ "files": 0.25720623,
+ "virginia": 0.296477,
+ "decimal": 0.4640827,
+ "formats": 0.5387573,
+ "code": 0.25313875,
+ "string": 0.047462154,
+ "video": 0.17926985,
+ "error": 0.1676126,
+ "percent": 0.79516315,
+ "sid": 0.8046576,
+ "mono": 1.50435,
+ "array": 0.0702182,
+ "value": 0.24169064,
+ "direction": 0.25978598,
+ "cipher": 0.05467262,
+ "keyboard": 0.018322734,
+ "equation": 0.13025843,
+ "length": 0.68032795,
+ "serial": 0.7631122,
+ "colon": 0.3066077,
+ "unsigned": 0.96431655,
+ "syntax": 0.22675839
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nn | result\ndouble | double\ninteger | double\nlong | double\nunsigned_long | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "6c27b1e9-2971-4864-8b4e-b34e4d3668ca",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/starts_with.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.10153325,
+ "fancy": 0.0015539963,
+ "dh": 0.53169304,
+ "data": 0.23148043,
+ "##d": 0.17897038,
+ "##g": 1.3552669,
+ "styled": 1.4838024,
+ "alphabet": 0.018772203,
+ "space": 0.8191049,
+ "ds": 1.4699591,
+ "java": 0.7890319,
+ "styling": 0.76220757,
+ "separation": 0.09002373,
+ "##v": 1.3574014,
+ "logo": 0.13908282,
+ "##space": 1.4114469,
+ "html": 0.50779486,
+ "text": 0.2803902,
+ "results": 0.26756445,
+ "##lean": 1.0436139,
+ "combination": 0.25137386,
+ "which": 0.08575756,
+ "%": 1.3636063,
+ "gene": 0.3025154,
+ "format": 1.3451269,
+ "index": 0.6351913,
+ "archive": 0.23540443,
+ "script": 0.3516488,
+ "/": 0.2690054,
+ "volume": 0.13309816,
+ "ar": 1.081094,
+ "sequence": 0.55247843,
+ "disk": 0.012995432,
+ "##word": 1.0183053,
+ "header": 1.7355541,
+ "files": 0.08735611,
+ "style": 1.1130774,
+ "math": 0.36992487,
+ "virginia": 0.15198496,
+ "decimal": 0.095251895,
+ "template": 0.01791756,
+ "boo": 1.0347474,
+ "code": 0.23893954,
+ "formats": 0.12492876,
+ "document": 0.40759915,
+ "cad": 0.0285992,
+ "pattern": 0.4504131,
+ "video": 0.5017376,
+ "error": 0.31297296,
+ "percent": 0.7739719,
+ "sid": 0.73711073,
+ "mono": 1.5224676,
+ "result": 1.1924716,
+ "##arat": 0.98350817,
+ "##1": 0.003933907,
+ "file": 0.9038782,
+ "composed": 0.10067289,
+ "vector": 0.1022874,
+ "[": 0.8287531,
+ "graphic": 0.3358202,
+ "value": 0.14522211,
+ "]": 0.04516516,
+ "key": 0.37709266,
+ "table": 0.015695725,
+ "sep": 0.814946,
+ "_": 0.5868439,
+ "direction": 0.19536243,
+ "mask": 0.1486108,
+ "editor": 0.23285756,
+ "keyboard": 0.030492568,
+ "d": 0.55688727,
+ "heading": 0.643049,
+ "display": 0.42130995,
+ "equation": 0.24404444,
+ "column": 0.27917814,
+ "sample": 0.010296204,
+ "excel": 0.21295908,
+ "serial": 0.7424703,
+ "v": 0.46169835,
+ "report": 0.4737581,
+ "organized": 0.20737834,
+ "colon": 0.110403255,
+ "cod": 0.07272083,
+ "window": 0.12018616,
+ "|": 0.93639463,
+ "font": 0.60749334
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | arg2 | result\nkeyword | keyword | boolean\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "9e83beba-cd86-49e9-ad54-c3bf2fcbffa8",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/substring.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.16525654,
+ "calculation": 0.04885551,
+ "fancy": 0.106490746,
+ "dh": 0.58583444,
+ "data": 0.27044633,
+ "##d": 0.20751938,
+ "##g": 1.400177,
+ "styled": 1.5102109,
+ "integer": 1.2774237,
+ "alphabet": 0.08869905,
+ "space": 0.82675374,
+ "ds": 1.5018917,
+ "java": 0.7764533,
+ "styling": 0.83129704,
+ "separation": 0.096357286,
+ "##v": 1.3986409,
+ "logo": 0.10112638,
+ "##space": 1.4214755,
+ "html": 0.49381712,
+ "text": 0.27980292,
+ "results": 0.31709737,
+ "which": 0.1149634,
+ "otherwise": 0.05407007,
+ "%": 1.3765266,
+ "gene": 0.32290742,
+ "format": 1.3888712,
+ "index": 0.652719,
+ "archive": 0.2756562,
+ "##ga": 0.023160653,
+ "sort": 0.07038732,
+ "script": 0.40767932,
+ "/": 0.30760854,
+ "volume": 0.16444963,
+ "ar": 1.1516863,
+ "sequence": 0.5940832,
+ "disk": 0.030602988,
+ "##word": 1.0832791,
+ "header": 1.7619746,
+ "files": 0.18337108,
+ "style": 1.1426862,
+ "math": 0.43470648,
+ "virginia": 0.20752007,
+ "decimal": 0.1873847,
+ "##words": 0.15465763,
+ "template": 0.09547307,
+ "formats": 0.31998986,
+ "code": 0.22003987,
+ "document": 0.34069905,
+ "cad": 0.09689973,
+ "pattern": 0.4073397,
+ "video": 0.4850172,
+ "error": 0.27994347,
+ "percent": 0.7939365,
+ "sid": 0.7908293,
+ "mono": 1.5315773,
+ "result": 1.1845001,
+ "##arat": 0.99479836,
+ "file": 0.9135174,
+ "##or": 0.08543091,
+ "composed": 0.1845071,
+ "array": 0.008736246,
+ "vector": 0.1599472,
+ "theme": 0.06428373,
+ "[": 0.90093476,
+ "graphic": 0.3192887,
+ "value": 0.24055369,
+ "]": 0.13499568,
+ "key": 0.5155073,
+ "table": 0.03454432,
+ "sep": 0.8726517,
+ "_": 0.6721107,
+ "direction": 0.25744337,
+ "mask": 0.11937684,
+ "editor": 0.21896403,
+ "d": 0.58283544,
+ "heading": 0.6617163,
+ "display": 0.45022276,
+ "equation": 0.33384472,
+ "column": 0.31717673,
+ "banner": 0.02751752,
+ "excel": 0.2358582,
+ "serial": 0.7600537,
+ "v": 0.51663184,
+ "report": 0.2647326,
+ "organized": 0.25826845,
+ "colon": 0.16822363,
+ "cod": 0.13334972,
+ "window": 0.099347785,
+ "|": 0.9154021,
+ "chart": 0.019039145,
+ "font": 0.60983783
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | arg2 | arg3 | result\nkeyword | integer | integer | keyword\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "872b0d66-3c7a-48a4-80f0-ca8d020582b3",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/tan.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.25089774,
+ "##d": 0.046300203,
+ "pun": 0.11761178,
+ "styled": 1.5142275,
+ "alphabet": 0.25002128,
+ "java": 0.7463123,
+ "styling": 0.9375413,
+ "##v": 1.3431478,
+ "notation": 0.15449688,
+ "##space": 1.3888974,
+ "text": 0.19283268,
+ "%": 1.331049,
+ "gene": 0.20652531,
+ "double": 1.3505749,
+ "index": 0.63616633,
+ "signed": 0.4380863,
+ "script": 0.49088883,
+ "/": 0.21241921,
+ "exit": 0.013228038,
+ "doubles": 0.354848,
+ "style": 1.1500632,
+ "styles": 0.06614772,
+ "math": 0.6176355,
+ "longest": 0.057817895,
+ "document": 0.19199705,
+ "pattern": 0.3112345,
+ "long": 1.2568266,
+ "result": 1.2327625,
+ "##arat": 0.9981543,
+ "file": 0.841849,
+ "##or": 0.004623556,
+ "composed": 0.2187697,
+ "theme": 0.08917228,
+ "vector": 0.00466212,
+ "[": 0.8581835,
+ "]": 0.14146319,
+ "graphic": 0.13121834,
+ "table": 0.13023132,
+ "sep": 0.80975,
+ "_": 0.77832973,
+ "editor": 0.15324657,
+ "d": 0.56061214,
+ "heading": 0.6115525,
+ "display": 0.34168348,
+ "column": 0.38204998,
+ "abbreviation": 0.17948805,
+ "n": 1.249684,
+ "excel": 0.37423417,
+ "v": 0.574327,
+ "organized": 0.19180006,
+ "report": 0.08792093,
+ "cod": 0.23716837,
+ "|": 0.8759816,
+ "font": 0.5299331,
+ "dd": 0.33176962,
+ "calculation": 0.091898255,
+ "dh": 0.6029812,
+ "data": 0.36559448,
+ "integer": 1.0967511,
+ "space": 0.7719727,
+ "ds": 1.4925518,
+ "split": 0.060853254,
+ "separation": 0.0992868,
+ "html": 0.34815544,
+ "pipe": 0.2575662,
+ "results": 0.35662258,
+ "combination": 0.23126298,
+ "which": 0.12669136,
+ "format": 1.4587401,
+ "archive": 0.20722292,
+ "sort": 0.2630893,
+ "volume": 0.16865587,
+ "sequence": 0.6529036,
+ "disk": 0.038280543,
+ "header": 1.7828301,
+ "files": 0.25720623,
+ "virginia": 0.296477,
+ "decimal": 0.4640827,
+ "formats": 0.5387573,
+ "code": 0.25313875,
+ "string": 0.047462154,
+ "video": 0.17926985,
+ "error": 0.1676126,
+ "percent": 0.79516315,
+ "sid": 0.8046576,
+ "mono": 1.50435,
+ "array": 0.0702182,
+ "value": 0.24169064,
+ "direction": 0.25978598,
+ "cipher": 0.05467262,
+ "keyboard": 0.018322734,
+ "equation": 0.13025843,
+ "length": 0.68032795,
+ "serial": 0.7631122,
+ "colon": 0.3066077,
+ "unsigned": 0.96431655,
+ "syntax": 0.22675839
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nn | result\ndouble | double\ninteger | double\nlong | double\nunsigned_long | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "1feaa67a-7d49-4035-893b-e58c3ee8fc4f",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/tanh.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.25089774,
+ "##d": 0.046300203,
+ "pun": 0.11761178,
+ "styled": 1.5142275,
+ "alphabet": 0.25002128,
+ "java": 0.7463123,
+ "styling": 0.9375413,
+ "##v": 1.3431478,
+ "notation": 0.15449688,
+ "##space": 1.3888974,
+ "text": 0.19283268,
+ "%": 1.331049,
+ "gene": 0.20652531,
+ "double": 1.3505749,
+ "index": 0.63616633,
+ "signed": 0.4380863,
+ "script": 0.49088883,
+ "/": 0.21241921,
+ "exit": 0.013228038,
+ "doubles": 0.354848,
+ "style": 1.1500632,
+ "styles": 0.06614772,
+ "math": 0.6176355,
+ "longest": 0.057817895,
+ "document": 0.19199705,
+ "pattern": 0.3112345,
+ "long": 1.2568266,
+ "result": 1.2327625,
+ "##arat": 0.9981543,
+ "file": 0.841849,
+ "##or": 0.004623556,
+ "composed": 0.2187697,
+ "theme": 0.08917228,
+ "vector": 0.00466212,
+ "[": 0.8581835,
+ "]": 0.14146319,
+ "graphic": 0.13121834,
+ "table": 0.13023132,
+ "sep": 0.80975,
+ "_": 0.77832973,
+ "editor": 0.15324657,
+ "d": 0.56061214,
+ "heading": 0.6115525,
+ "display": 0.34168348,
+ "column": 0.38204998,
+ "abbreviation": 0.17948805,
+ "n": 1.249684,
+ "excel": 0.37423417,
+ "v": 0.574327,
+ "organized": 0.19180006,
+ "report": 0.08792093,
+ "cod": 0.23716837,
+ "|": 0.8759816,
+ "font": 0.5299331,
+ "dd": 0.33176962,
+ "calculation": 0.091898255,
+ "dh": 0.6029812,
+ "data": 0.36559448,
+ "integer": 1.0967511,
+ "space": 0.7719727,
+ "ds": 1.4925518,
+ "split": 0.060853254,
+ "separation": 0.0992868,
+ "html": 0.34815544,
+ "pipe": 0.2575662,
+ "results": 0.35662258,
+ "combination": 0.23126298,
+ "which": 0.12669136,
+ "format": 1.4587401,
+ "archive": 0.20722292,
+ "sort": 0.2630893,
+ "volume": 0.16865587,
+ "sequence": 0.6529036,
+ "disk": 0.038280543,
+ "header": 1.7828301,
+ "files": 0.25720623,
+ "virginia": 0.296477,
+ "decimal": 0.4640827,
+ "formats": 0.5387573,
+ "code": 0.25313875,
+ "string": 0.047462154,
+ "video": 0.17926985,
+ "error": 0.1676126,
+ "percent": 0.79516315,
+ "sid": 0.8046576,
+ "mono": 1.50435,
+ "array": 0.0702182,
+ "value": 0.24169064,
+ "direction": 0.25978598,
+ "cipher": 0.05467262,
+ "keyboard": 0.018322734,
+ "equation": 0.13025843,
+ "length": 0.68032795,
+ "serial": 0.7631122,
+ "colon": 0.3066077,
+ "unsigned": 0.96431655,
+ "syntax": 0.22675839
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nn | result\ndouble | double\ninteger | double\nlong | double\nunsigned_long | double\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "df1ea6c1-8f22-4c3e-bad2-5f03b40d12c9",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/tau.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "copyright": 0.06665539,
+ "dh": 0.43154192,
+ "data": 0.16590387,
+ "styled": 1.4306172,
+ "space": 0.7254456,
+ "ds": 1.4107337,
+ "java": 0.7611219,
+ "styling": 0.58973956,
+ "separation": 0.15220663,
+ "##v": 1.3275515,
+ "logo": 0.15510741,
+ "##space": 1.2874554,
+ "html": 0.5356091,
+ "text": 0.3272727,
+ "results": 0.29971105,
+ "which": 0.030725304,
+ "%": 1.3460832,
+ "gene": 0.10891503,
+ "format": 1.4416173,
+ "index": 0.57467467,
+ "archive": 0.024664328,
+ "script": 0.30804816,
+ "/": 0.23730895,
+ "volume": 0.101241335,
+ "sequence": 0.46806535,
+ "header": 1.7393368,
+ "style": 1.0871606,
+ "math": 0.367838,
+ "virginia": 0.10069564,
+ "code": 0.20992862,
+ "document": 0.48758805,
+ "pattern": 0.4539083,
+ "video": 0.39241272,
+ "error": 0.4577086,
+ "percent": 0.6935496,
+ "sid": 0.6415605,
+ "mono": 1.3820429,
+ "result": 1.2496178,
+ "##arat": 1.0291213,
+ "file": 0.7946926,
+ "[": 0.76067686,
+ "graphic": 0.44080365,
+ "]": 0.14540921,
+ "table": 0.16235197,
+ "sep": 0.82737964,
+ "_": 0.5286533,
+ "direction": 0.14356285,
+ "editor": 0.15722723,
+ "d": 0.48655266,
+ "heading": 0.56395966,
+ "spelling": 0.0156033635,
+ "display": 0.33710137,
+ "equation": 0.05545392,
+ "column": 0.27740407,
+ "label": 0.16855979,
+ "abbreviation": 0.0042599174,
+ "excel": 0.19307408,
+ "serial": 0.5761919,
+ "v": 0.39531982,
+ "report": 0.36661017,
+ "colon": 0.22982068,
+ "organized": 0.20546083,
+ "window": 0.0032266718,
+ "|": 1.1101351,
+ "font": 0.61065024
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nresult\n\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "c9d5dbd3-1bb5-462e-bdba-be5a2377ab97",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/to_ip.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.06278175,
+ "cluster": 0.11307151,
+ "dh": 0.534869,
+ "data": 0.35139465,
+ "##g": 1.3803831,
+ "styled": 1.4524895,
+ "space": 0.74479806,
+ "ds": 1.4538926,
+ "protocol": 0.24873129,
+ "java": 0.7445818,
+ "styling": 0.690731,
+ "##v": 1.3423578,
+ "logo": 0.04441204,
+ "##space": 1.3169804,
+ "html": 0.50666183,
+ "pipe": 0.08499324,
+ "text": 0.20445402,
+ "results": 0.12864311,
+ "which": 0.10567261,
+ "test": 0.034105457,
+ "%": 1.3463895,
+ "gene": 0.33782578,
+ "ip": 1.6012565,
+ "format": 1.3646514,
+ "index": 0.6820371,
+ "archive": 0.25022122,
+ "##ga": 0.012739937,
+ "script": 0.34090182,
+ "/": 0.30727994,
+ "volume": 0.09882297,
+ "ar": 1.2830518,
+ "sequence": 0.51453334,
+ "##word": 0.9075139,
+ "header": 1.668936,
+ "style": 1.0659281,
+ "math": 0.36345515,
+ "virginia": 0.08485603,
+ "decimal": 0.18234624,
+ "code": 0.2535976,
+ "formats": 0.13067192,
+ "string": 0.047774166,
+ "document": 0.27114794,
+ "pattern": 0.46322685,
+ "video": 0.5239567,
+ "error": 0.44532976,
+ "percent": 0.7161717,
+ "layer": 0.043818448,
+ "sid": 0.86020315,
+ "network": 0.1047425,
+ "mono": 1.4799004,
+ "result": 1.1784022,
+ "##arat": 0.9482736,
+ "##1": 0.65393704,
+ "file": 0.88449734,
+ "composed": 0.19569203,
+ "array": 0.06725419,
+ "plot": 0.059587047,
+ "vector": 0.1844392,
+ "theme": 0.06620686,
+ "[": 0.8082451,
+ "graphic": 0.21213394,
+ "value": 0.21031906,
+ "]": 0.090166666,
+ "key": 0.38583705,
+ "table": 0.11470939,
+ "sep": 0.7251956,
+ "_": 0.5879626,
+ "mask": 0.20714502,
+ "direction": 0.12401807,
+ "cipher": 0.19094743,
+ "editor": 0.030174308,
+ "address": 0.21466473,
+ "d": 0.52198434,
+ "heading": 0.5975239,
+ "display": 0.42402872,
+ "equation": 0.20191075,
+ "column": 0.3628235,
+ "banner": 0.08770146,
+ "sample": 0.050111562,
+ "excel": 0.10365451,
+ "serial": 0.8354235,
+ "v": 0.43512443,
+ "report": 0.34486356,
+ "organized": 0.19624335,
+ "colon": 0.18365784,
+ "cod": 0.021470498,
+ "|": 0.9217892,
+ "font": 0.2534333
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | result\nip | ip\nkeyword | ip\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "9d3c4539-b1e5-4e1d-afe6-c958684c0b76",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/to_string.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "fancy": 0.13059555,
+ "##d": 0.13611421,
+ "software": 0.06647181,
+ "pun": 0.060116913,
+ "styled": 1.418606,
+ "alphabet": 0.11265749,
+ "java": 0.73272187,
+ "styling": 0.80448204,
+ "##v": 1.3905238,
+ "record": 0.07655469,
+ "##space": 1.4294684,
+ "text": 0.84317446,
+ "##lean": 0.8612844,
+ "algorithm": 0.11306139,
+ "%": 1.3087039,
+ "gene": 0.27208167,
+ "double": 1.2584138,
+ "ip": 1.3145676,
+ "index": 0.8012662,
+ "signed": 0.74675035,
+ "dates": 0.51058805,
+ "analysis": 0.08415273,
+ "version": 1.030893,
+ "script": 0.42238072,
+ "/": 0.29900533,
+ "exit": 0.22632985,
+ "field": 0.03005794,
+ "doubles": 0.570276,
+ "versions": 0.55049837,
+ "domain": 0.011939373,
+ "style": 1.07069,
+ "styles": 0.062368773,
+ "math": 0.30427274,
+ "encoded": 0.006404944,
+ "template": 0.07929783,
+ "longest": 0.186581,
+ "document": 0.041012254,
+ "pattern": 0.31192118,
+ "scan": 0.007927976,
+ "two": 0.0014867454,
+ "long": 1.2174002,
+ "result": 1.2509837,
+ "##arat": 0.8789298,
+ "search": 0.33802253,
+ "computer": 0.12291545,
+ "file": 0.8978288,
+ "composed": 0.2712592,
+ "vector": 0.04015317,
+ "[": 0.8609668,
+ "]": 0.02634132,
+ "key": 0.7464525,
+ "table": 0.01076958,
+ "sep": 0.8013521,
+ "_": 0.7379424,
+ "editor": 0.41372415,
+ "d": 0.5752367,
+ "heading": 0.6222498,
+ "display": 0.34239882,
+ "column": 0.17329077,
+ "abbreviation": 0.02078572,
+ "sample": 0.13751017,
+ "excel": 0.27415422,
+ "v": 1.150362,
+ "report": 0.4067949,
+ "organized": 0.14184633,
+ "cod": 0.2206569,
+ "|": 0.7470789,
+ "chart": 0.09782236,
+ "font": 0.21412627,
+ "date": 1.0716434,
+ "dd": 0.18321943,
+ "calculation": 0.13490131,
+ "dh": 0.60214984,
+ "data": 0.599073,
+ "integer": 1.0934494,
+ "space": 0.80327094,
+ "ds": 1.453918,
+ "protocol": 0.08690912,
+ "md": 0.04036901,
+ "html": 0.40505144,
+ "pipe": 0.14334339,
+ "results": 0.4894921,
+ "combination": 0.2396847,
+ "which": 0.0520328,
+ "format": 1.3492962,
+ "archive": 0.31497023,
+ "clock": 0.12854353,
+ "sort": 0.010959432,
+ "volume": 0.23572373,
+ "sequence": 0.52704924,
+ "disk": 0.19833922,
+ "##word": 1.2880437,
+ "header": 1.5818889,
+ "files": 0.34855613,
+ "virginia": 0.24441215,
+ "decimal": 0.11003405,
+ "fields": 0.107390754,
+ "##words": 0.6021721,
+ "boo": 0.8384318,
+ "code": 0.40616614,
+ "formats": 0.36240897,
+ "string": 0.093168974,
+ "keys": 0.052197553,
+ "cad": 0.12981984,
+ "video": 0.27662206,
+ "error": 0.015281619,
+ "percent": 0.6797841,
+ "sid": 0.78020227,
+ "mono": 1.5107193,
+ "database": 0.43113643,
+ "times": 0.31341615,
+ "##zone": 0.32745197,
+ "value": 0.24850965,
+ "mask": 0.180225,
+ "cipher": 0.3642114,
+ "registry": 0.1749368,
+ "keyboard": 0.118027784,
+ "length": 0.5397479,
+ "##time": 1.0393717,
+ "serial": 0.9214532,
+ "colon": 0.22818549,
+ "unsigned": 1.2761625,
+ "syntax": 0.28537282,
+ "time": 0.8788482
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nv | result\nboolean | keyword\ndatetime | keyword\ndouble | keyword\ninteger | keyword\nip | keyword\nkeyword | keyword\nlong | keyword\ntext | keyword\nunsigned_long | keyword\nversion | keyword\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "7799dad9-e07d-4c78-b368-2b53cd3ca02a",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/to_version.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.14410745,
+ "cluster": 0.07839057,
+ "symbol": 0.06001734,
+ "copyright": 0.19481847,
+ "fancy": 0.03813012,
+ "dh": 0.50147736,
+ "data": 0.15197943,
+ "##d": 0.03269069,
+ "styled": 1.4237611,
+ "space": 0.7710724,
+ "ds": 1.4874209,
+ "java": 0.62583715,
+ "styling": 0.7391792,
+ "tab": 0.04342222,
+ "separation": 0.12183493,
+ "##v": 1.3589681,
+ "logo": 0.23942709,
+ "##space": 1.3746871,
+ "html": 0.40114352,
+ "text": 0.81114274,
+ "results": 0.029045,
+ "which": 0.036981624,
+ "%": 1.3352458,
+ "gene": 0.32639286,
+ "format": 1.3503553,
+ "index": 0.61171067,
+ "archive": 0.2187629,
+ "version": 1.4939976,
+ "vc": 0.086825624,
+ "script": 0.43252724,
+ "revision": 0.72226834,
+ "/": 0.2818019,
+ "volume": 0.1721029,
+ "sequence": 0.45610434,
+ "disk": 0.05258659,
+ "vi": 0.37470445,
+ "##word": 0.73936427,
+ "versions": 0.91398245,
+ "header": 1.692214,
+ "files": 0.026435247,
+ "style": 1.0930166,
+ "math": 0.27258673,
+ "virginia": 0.094060436,
+ "code": 0.27860945,
+ "formats": 0.11229252,
+ "document": 0.44352007,
+ "pattern": 0.34184626,
+ "video": 0.5222125,
+ "error": 0.44314036,
+ "percent": 0.69125926,
+ "sid": 0.7488859,
+ "mono": 1.4887795,
+ "result": 1.0740688,
+ "##arat": 0.9414767,
+ "file": 0.9078052,
+ "composed": 0.07074279,
+ "vector": 0.04920034,
+ "[": 0.8018964,
+ "graphic": 0.36821124,
+ "]": 0.11577056,
+ "key": 0.39399338,
+ "table": 0.24821933,
+ "sep": 0.74501157,
+ "_": 0.5304994,
+ "direction": 0.14227398,
+ "mask": 0.049732905,
+ "editor": 0.3056406,
+ "d": 0.6145605,
+ "heading": 0.69644076,
+ "display": 0.36140046,
+ "equation": 0.03724765,
+ "column": 0.29426336,
+ "label": 0.082622804,
+ "sample": 0.044293325,
+ "excel": 0.19867733,
+ "serial": 0.7753335,
+ "v": 1.2556505,
+ "report": 0.52733296,
+ "organized": 0.099854305,
+ "colon": 0.031250577,
+ "cod": 0.14718242,
+ "window": 0.039387327,
+ "|": 0.9480596,
+ "chart": 0.103736185,
+ "font": 0.72988373
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\nv | result\nkeyword | version\ntext | version\nversion | version\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "636d81ae-c20c-4864-80a8-ff7234b444fc",
+ "_score": 1.0,
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/functions/types/trim.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "dd": 0.064127885,
+ "copyright": 0.045812383,
+ "dh": 0.5128268,
+ "data": 0.08649167,
+ "##d": 0.008570673,
+ "##g": 1.4337245,
+ "styled": 1.4611096,
+ "space": 0.7834379,
+ "ds": 1.4206536,
+ "java": 0.755849,
+ "styling": 0.7301426,
+ "separation": 0.09983446,
+ "##v": 1.3294926,
+ "logo": 0.19181079,
+ "##space": 1.3767972,
+ "html": 0.51708454,
+ "text": 1.0490658,
+ "results": 0.29274374,
+ "which": 0.07749639,
+ "%": 1.3629293,
+ "gene": 0.20739451,
+ "format": 1.3428321,
+ "index": 0.6102529,
+ "##ga": 0.17826493,
+ "archive": 0.08104118,
+ "script": 0.32549232,
+ "/": 0.2981721,
+ "volume": 0.012233345,
+ "ar": 1.2865151,
+ "sequence": 0.44652557,
+ "##word": 1.281399,
+ "header": 1.7123138,
+ "style": 1.0905305,
+ "math": 0.35323206,
+ "virginia": 0.15869403,
+ "decimal": 0.010561997,
+ "##words": 0.104463555,
+ "code": 0.32785606,
+ "document": 0.4610053,
+ "cad": 0.008658722,
+ "pattern": 0.4587387,
+ "video": 0.3679124,
+ "error": 0.30315772,
+ "percent": 0.75589657,
+ "content": 0.016050654,
+ "sid": 0.6546647,
+ "mono": 1.4938333,
+ "result": 1.2076411,
+ "##arat": 1.0032293,
+ "##1": 0.7942685,
+ "search": 0.32991204,
+ "file": 0.8123178,
+ "##or": 0.033412103,
+ "composed": 0.071939275,
+ "vector": 0.07464917,
+ "[": 0.798394,
+ "graphic": 0.419618,
+ "value": 0.085442625,
+ "]": 0.06592833,
+ "key": 0.43164313,
+ "table": 0.026531141,
+ "sep": 0.8059835,
+ "_": 0.59568924,
+ "mask": 0.16992348,
+ "direction": 0.108868845,
+ "editor": 0.2242129,
+ "d": 0.56614745,
+ "heading": 0.65287703,
+ "display": 0.40943134,
+ "equation": 0.18890852,
+ "column": 0.26115012,
+ "abbreviation": 0.03443261,
+ "excel": 0.12029187,
+ "serial": 0.63741076,
+ "v": 0.42722782,
+ "report": 0.52804875,
+ "organized": 0.15718924,
+ "colon": 0.13002901,
+ "cod": 0.032075435,
+ "|": 0.9627677,
+ "font": 0.65751857
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[%header.monospaced.styled,format=dsv,separator=|]\n|===\narg1 | result\nkeyword | keyword\ntext | text\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "a017339d-ffcf-42bf-ac91-9320bd6eb65c",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/index.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##a": 0.9126709,
+ "##c": 0.5472066,
+ "functions": 0.262388,
+ "##e": 0.7042302,
+ "##g": 1.1087689,
+ "##i": 0.25761423,
+ "del": 0.030377049,
+ "##l": 1.6318955,
+ "youth": 0.012844214,
+ "##o": 0.88701934,
+ "analyzing": 0.04328341,
+ "java": 0.8670781,
+ "des": 0.6951892,
+ "##s": 0.13691665,
+ "stats": 0.7081482,
+ "jan": 0.45502514,
+ "xml": 0.0804695,
+ "complex": 0.09951647,
+ "visual": 0.6097142,
+ "rank": 0.32505956,
+ "api": 0.041062254,
+ "##uring": 0.21074313,
+ "filtering": 0.82162726,
+ "events": 1.0188804,
+ "databases": 0.3125615,
+ "old": 0.30067357,
+ "tex": 0.25434357,
+ "analysis": 0.9826691,
+ "processor": 0.4794924,
+ "-": 0.13350192,
+ "/": 0.21835122,
+ "input": 0.8551623,
+ "node": 0.1991559,
+ "ar": 0.05201786,
+ "av": 0.5201342,
+ "ax": 0.03588057,
+ "domain": 0.02232654,
+ "processing": 1.4338157,
+ "statistical": 1.0931201,
+ "##ler": 0.0826317,
+ "document": 0.03832724,
+ "example": 0.32459402,
+ "characters": 0.27358484,
+ "search": 0.16760322,
+ "blocking": 0.22501463,
+ "si": 0.1348412,
+ "ian": 0.09266949,
+ "##ries": 0.6067478,
+ "vector": 0.32158485,
+ "[": 0.50549024,
+ "departments": 0.320454,
+ "fred": 0.2291452,
+ "graphic": 0.54826117,
+ "workers": 0.36157718,
+ "arm": 0.17085995,
+ "sr": 0.66020894,
+ "sami": 0.44351202,
+ "_": 0.23341264,
+ "website": 0.14898492,
+ "stat": 0.13990839,
+ "sv": 1.2219809,
+ "expression": 0.124542035,
+ "c": 0.09652172,
+ "languages": 0.68715763,
+ "e": 0.66676706,
+ "column": 0.59394217,
+ "abbreviation": 7.353701E-4,
+ "##int": 1.0484561,
+ "q": 0.86938995,
+ "ibm": 0.019142883,
+ "series": 0.6972956,
+ "x": 1.0930817,
+ "y": 0.79886323,
+ "information": 0.02402747,
+ "{": 0.0210401,
+ "operation": 0.6914624,
+ "chart": 0.19911301,
+ "}": 0.099954955,
+ "calculation": 0.2523327,
+ "ass": 0.06189299,
+ "anne": 0.6408988,
+ "language": 1.1975844,
+ "source": 1.2171079,
+ "accounting": 0.22620055,
+ "dir": 1.1979026,
+ "align": 0.2867769,
+ "##ro": 1.1819428,
+ "specifications": 0.52636385,
+ "apache": 0.71797746,
+ "segment": 0.018153356,
+ "rep": 1.112776,
+ "generate": 0.22808215,
+ "commands": 0.98867005,
+ "ed": 0.62731594,
+ "image": 0.7628643,
+ "eh": 0.0011256556,
+ "test": 1.3140823,
+ "query": 1.1802101,
+ "eric": 0.32752714,
+ "list": 0.013215921,
+ "modification": 0.49097952,
+ "er": 0.008201729,
+ "es": 1.4600117,
+ "users": 0.44151574,
+ "tube": 0.27972162,
+ "tests": 0.8847259,
+ "roberts": 0.12574327,
+ "transformations": 0.46755528,
+ "colleagues": 0.1991134,
+ "parts": 0.33898768,
+ "employees": 0.85078925,
+ "alignment": 0.100619644,
+ "useful": 0.31381664,
+ "preview": 1.4378262,
+ "que": 0.86311364,
+ "changes": 0.21784744,
+ "aggregation": 1.2544129,
+ "interface": 0.6178154,
+ "inventory": 0.24150985,
+ "remove": 0.2932576,
+ "sid": 0.32674053,
+ "linux": 0.0973094,
+ "client": 0.020908305,
+ "projection": 0.4921359,
+ "class": 0.6549376,
+ "pipes": 1.5453418,
+ "previous": 0.085797496,
+ "center": 1.1786844,
+ "perform": 0.36912233,
+ "specification": 0.5872804,
+ "separated": 0.020915661,
+ "filters": 0.369086,
+ "technology": 0.1882065,
+ "editing": 0.24450411,
+ "##ed": 0.17349504,
+ "management": 0.19448574,
+ "##ure": 1.1068646,
+ "syntax": 0.42302173,
+ "step": 0.54796016,
+ "time": 0.593992,
+ "pub": 0.11793074,
+ "age": 1.013409,
+ "software": 0.657747,
+ "chains": 0.2128132,
+ "gage": 0.004572887,
+ "changing": 0.3665844,
+ "approach": 0.2635076,
+ "output": 0.65728956,
+ "tables": 0.6111186,
+ "peg": 0.5828634,
+ "centers": 0.32321587,
+ "jerry": 0.43799254,
+ "manipulation": 0.5649259,
+ "##es": 1.4190664,
+ "manipulate": 0.2673987,
+ "flow": 0.18531731,
+ "algorithm": 0.6911348,
+ "order": 0.23633182,
+ "images": 0.8663227,
+ "method": 0.19938561,
+ "gene": 0.33381835,
+ "testing": 0.97893196,
+ "chained": 0.9421607,
+ "index": 0.6370092,
+ "birth": 0.58955467,
+ "is": 0.37091473,
+ "script": 0.56413,
+ "##ff": 0.56723934,
+ "##fi": 0.67158264,
+ "system": 0.0061784456,
+ "anal": 0.16080607,
+ "compose": 0.055930972,
+ "analyze": 0.9044304,
+ "integration": 0.0380592,
+ "gui": 0.010501129,
+ "math": 0.6801794,
+ "jude": 0.13766548,
+ "authors": 0.5360315,
+ "server": 0.3333758,
+ "log": 0.014008294,
+ "columns": 0.6584721,
+ "##ization": 0.32585573,
+ "##xt": 1.0330245,
+ "computer": 0.40662536,
+ "file": 0.42132246,
+ "composed": 0.10340751,
+ "web": 0.3320949,
+ "julia": 0.099029005,
+ "ability": 0.21655566,
+ "copy": 0.041272637,
+ "event": 0.5913826,
+ "##gs": 0.07366659,
+ "table": 1.1146164,
+ "rivers": 0.21089616,
+ "editor": 0.422775,
+ "mat": 0.027379617,
+ "chain": 1.0958511,
+ "question": 0.29827037,
+ "change": 0.70720893,
+ "display": 0.13180083,
+ "transformation": 0.65230596,
+ "filter": 1.0621943,
+ "excel": 0.39243832,
+ "framework": 0.27743462,
+ "powerful": 0.96907943,
+ "report": 0.3394756,
+ "cod": 0.020461665,
+ "powers": 0.024006173,
+ "statistics": 0.82195956,
+ "date": 0.18228067,
+ "checkpoint": 0.11350185,
+ "esq": 2.1170442,
+ "data": 0.99205446,
+ "main": 0.3598311,
+ "employee": 0.82418996,
+ "forensic": 0.06211315,
+ "spec": 1.4199877,
+ "trial": 0.2942957,
+ "translate": 0.06316423,
+ "tab": 0.34143043,
+ "##in": 0.6969392,
+ "find": 0.12498041,
+ "mc": 0.050115757,
+ "function": 0.55833524,
+ "create": 0.22634563,
+ "pipe": 1.6370058,
+ "html": 0.36010906,
+ "from": 0.09939582,
+ "##is": 0.02291788,
+ "plum": 0.09391448,
+ "resource": 0.3983243,
+ "author": 0.87427336,
+ "archive": 0.10866259,
+ "sort": 0.6216336,
+ "steps": 0.121202886,
+ "tool": 0.36794254,
+ "tutor": 0.046304755,
+ "jamie": 0.6756912,
+ "core": 0.105532855,
+ "sequence": 0.01976147,
+ "na": 0.018878544,
+ "##ures": 1.1572212,
+ "survey": 0.15734711,
+ "plug": 1.0042638,
+ "birthday": 0.022849603,
+ "code": 0.23054995,
+ "chambers": 0.18709031,
+ "student": 0.11143125,
+ "bot": 0.507738,
+ "part": 0.9184004,
+ "cad": 0.57668006,
+ "link": 0.061667956,
+ "gil": 0.21342498,
+ "storage": 0.037321497,
+ "platform": 0.21444629,
+ "sql": 0.6474766,
+ "aggregate": 0.39546415,
+ "eva": 0.8994891,
+ "transform": 0.8865589,
+ "database": 0.6139412,
+ "operations": 0.6565824,
+ "##pipe": 0.18604551,
+ "predict": 0.08720983,
+ "##lib": 0.2766233,
+ "row": 0.25059855,
+ "department": 0.6807678,
+ "execution": 0.036298536,
+ "process": 0.47461674,
+ "tied": 3.2026408E-4,
+ "sap": 0.015584468,
+ "resources": 0.9847976,
+ "control": 0.029174916,
+ "rows": 0.46023306,
+ "followed": 0.10958159,
+ "command": 1.4211489,
+ "serial": 0.033724263,
+ "online": 0.1403121,
+ "user": 0.82539743,
+ "demographics": 0.37680188
+ },
+ "is_truncated": true,
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql]]\n= {esql}\n\n:esql-tests: {xes-repo-dir}/../../plugin/esql/qa\n:esql-specs: {esql-tests}/testFixtures/src/main/resources\n\n[partintro]\n\npreview::[]\n\nThe {es} Query Language ({esql}) provides a powerful way to filter, transform, and analyze data stored in {es}.\nUsers can author {esql} queries to find specific events, perform statistical analysis, and generate visualizations.\nIt supports a wide range of commands and functions that enable users to perform various data operations,\nsuch as filtering, aggregation, time-series analysis, and more.\n\nThe {es} Query Language ({esql}) makes use of \"pipes\" to manipulate and transform data in a step-by-step fashion.\nThis approach allows users to compose a series of operations, where the output of one operation becomes the input for the next,\nenabling complex data transformations and analysis.\n\nA simple example of an {esql} query is shown below:\n[source,esql]\n----\nFROM employees\n| EVAL age = DATE_DIFF(NOW(), birth_date, 'Y')\n| STATS AVG(age) BY department\n| SORT age DESC\n----\n\nEach {esql} query starts with a <>. A source command produces\na table, typically with data from {es}.\n\nimage::images/esql/source-command.svg[A source command producing a table from {es},align=\"center\"]\n\nA source command can be followed by one or more\n<>. Processing commands change an\ninput table by adding, removing, or changing rows and columns.\nProcessing commands can perform filtering, projection, aggregation, and more.\n\nimage::images/esql/processing-command.svg[A processing command changing an input table,align=\"center\"]\n\nYou can chain processing commands, separated by a pipe character: `|`. Each\nprocessing command works on the output table of the previous command.\n\nimage::images/esql/chaining-processing-commands.svg[Processing commands can be chained,align=\"center\"]\n\nThe result of a query is the table produced by the final processing command.\n\n[discrete]\n=== The {esql} Compute Engine\n\n{esql} is more than a language. It represents a significant investment in new compute capabilities within {es}.\nTo achieve both the functional and performance requirements for {esql}, it was necessary to build an entirely new\ncompute architecture. {esql} search, aggregation, and transformation functions are directly executed within Elasticsearch\nitself. Query expressions are not transpiled to Query DSL for execution. This approach allows {esql} to be extremely performant and versatile.\n\nThe new {esql} execution engine was designed with performance in mind — it operates on blocks at a time instead of per row, targets vectorization and cache locality, and embraces specialization and multi-threading. It is a separate component from the existing Elasticsearch aggregation framework with different performance characteristics.\n\ninclude::esql-get-started.asciidoc[]\n\ninclude::esql-language.asciidoc[]\n\ninclude::esql-rest.asciidoc[]\n\ninclude::esql-kibana.asciidoc[]\n\ninclude::task-management.asciidoc[]\n\ninclude::esql-limitations.asciidoc[]\n\n:esql-tests!:\n:esql-specs!:\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "0bad48dd-d65e-424a-875e-94109a1a8704",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/metadata_fields.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.19887863,
+ "metadata": 1.7048835,
+ "##c": 0.31976902,
+ "##d": 0.26018527,
+ "allowed": 0.25628823,
+ "styled": 0.949136,
+ "##l": 1.4545838,
+ "ignoring": 0.38529485,
+ "java": 0.8509393,
+ "##s": 0.01759691,
+ "styling": 0.48044568,
+ "##v": 1.1590854,
+ "xml": 0.56570727,
+ "jan": 0.12735435,
+ "merge": 1.29444,
+ "record": 0.070315756,
+ "api": 0.16808872,
+ "databases": 0.09774128,
+ "grouped": 0.4053299,
+ "%": 0.11313017,
+ "tex": 0.34115484,
+ "'": 0.32318628,
+ "*": 0.14177123,
+ "+": 0.7988465,
+ "inspired": 0.08471542,
+ "analysis": 0.17149724,
+ "version": 0.9882552,
+ "processor": 0.21129702,
+ "-": 0.19636433,
+ "remaining": 0.2513017,
+ "tags": 0.39418936,
+ "meta": 1.1563646,
+ "domain": 0.19846992,
+ "processing": 1.0706866,
+ "<": 0.44558907,
+ "accessible": 0.5362218,
+ "access": 1.1593013,
+ "document": 1.4017831,
+ "association": 0.019019611,
+ "##bre": 1.317151,
+ "virus": 0.41843107,
+ "result": 0.48356396,
+ "current": 0.3650224,
+ "subsequent": 0.44032776,
+ "vector": 0.057165448,
+ "fred": 0.36355892,
+ "[": 0.25644717,
+ "_": 0.5443236,
+ "latest": 0.4375751,
+ "sep": 0.114738196,
+ "cc": 0.20083678,
+ "enabling": 0.54259616,
+ "contain": 0.018774075,
+ "column": 0.03817292,
+ "sample": 0.07797594,
+ "cs": 1.1039824,
+ "##ices": 0.5655416,
+ "bug": 0.35625422,
+ "v": 0.122436084,
+ "information": 0.22725306,
+ "supported": 0.8730317,
+ "font": 0.14361149,
+ "dd": 0.114964135,
+ "##ind": 0.99885315,
+ "##ina": 0.91764724,
+ "dh": 0.2637242,
+ "evidence": 0.14390296,
+ "documents": 0.38478562,
+ "available": 0.38955462,
+ "anne": 0.68114924,
+ "source": 1.2059776,
+ "specifications": 0.48306048,
+ "ds": 0.8898109,
+ "ata": 0.24125,
+ "##ab": 1.1295445,
+ "apache": 0.7422656,
+ "later": 0.26920676,
+ "export": 7.2560203E-4,
+ "commands": 0.54239666,
+ "ed": 0.5268278,
+ "dedicated": 0.6568071,
+ "ignored": 0.38616857,
+ "test": 0.81447667,
+ "maps": 0.14322893,
+ "list": 0.20725189,
+ "sha": 0.08908832,
+ "##word": 0.8932696,
+ "fields": 1.4508594,
+ "support": 0.55757016,
+ "##cs": 0.85032177,
+ "allow": 0.30672807,
+ "next": 0.22723834,
+ "import": 0.25259876,
+ "destination": 0.24534449,
+ "aggregation": 1.3148263,
+ "title": 0.9628752,
+ "non": 0.4037846,
+ "interface": 0.14024797,
+ "##ggs": 0.9567995,
+ "content": 0.32193637,
+ "sid": 0.72284377,
+ "mono": 0.98139894,
+ "compiled": 0.072644904,
+ "scope": 0.031828694,
+ "ignore": 0.9801151,
+ "client": 0.14498156,
+ "class": 0.42189643,
+ "types": 0.45189756,
+ "previous": 0.2098748,
+ "citation": 0.07911105,
+ "multiple": 0.48254353,
+ "specification": 0.34196982,
+ "titles": 0.30753922,
+ "directive": 0.85256344,
+ "editing": 0.29044747,
+ "syntax": 0.3270274,
+ "pub": 0.29180732,
+ "copyright": 0.44255334,
+ "##ex": 0.834921,
+ "software": 0.2975278,
+ "catalog": 0.31694996,
+ "taxonomy": 0.21614452,
+ "type": 0.9555962,
+ "compatible": 0.04189804,
+ "peg": 0.58061886,
+ "enable": 1.1725751,
+ "property": 0.036992304,
+ "##space": 1.2207009,
+ "id": 0.5205125,
+ "jerry": 0.5170911,
+ "text": 0.3009084,
+ "flow": 0.13527063,
+ "algorithm": 0.12892859,
+ "mapping": 1.4456638,
+ "gene": 0.29835123,
+ "indexed": 0.015795939,
+ "testing": 0.41897663,
+ "index": 1.2806196,
+ "grouping": 1.0007296,
+ "script": 0.39950758,
+ "##test": 0.85602015,
+ "field": 1.5395112,
+ "versions": 0.4792833,
+ "integration": 0.10695949,
+ "explorer": 0.07221702,
+ "doc": 0.798036,
+ "style": 0.8700248,
+ "math": 0.14312656,
+ "template": 0.04349812,
+ "server": 0.2085956,
+ "pattern": 0.07520971,
+ "enabled": 0.766953,
+ "##arat": 0.87192416,
+ "file": 0.79793197,
+ "library": 0.07237316,
+ "julia": 0.15687482,
+ "copy": 0.024151873,
+ "map": 0.73651886,
+ "deployment": 0.013526689,
+ "editor": 0.78312093,
+ "include": 0.6073759,
+ "display": 0.04366771,
+ "consolidation": 0.273662,
+ "report": 0.33417284,
+ "cod": 0.17206155,
+ "checkpoint": 0.48334092,
+ "esq": 1.9591238,
+ "data": 0.84257984,
+ "spec": 1.2294451,
+ "space": 0.20410717,
+ "protocol": 0.061988007,
+ "tab": 0.3043197,
+ "from": 1.7051105,
+ "html": 0.5065846,
+ "tag": 0.81837523,
+ "group": 0.51122993,
+ "including": 0.06323574,
+ "format": 0.7326523,
+ "archive": 0.4648229,
+ "published": 0.108073205,
+ "plus": 0.05294144,
+ "revision": 0.050207593,
+ "jamie": 0.49601024,
+ "sequence": 0.14086571,
+ "mapped": 0.34275234,
+ "header": 0.667348,
+ "files": 0.2352569,
+ "legacy": 0.3157491,
+ "code": 0.073467344,
+ "bot": 0.11301476,
+ "cad": 0.3853852,
+ "media": 0.45141524,
+ "aggregate": 0.23448625,
+ "sql": 0.13970324,
+ "database": 0.67297614,
+ "##ice": 0.7140052,
+ "repeat": 0.059279148,
+ "##lib": 0.178905,
+ "command": 0.9073194,
+ "currently": 1.0047461,
+ "serial": 0.41546217,
+ "online": 0.052591678
+ },
+ "is_truncated": true,
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-metadata-fields]]\n=== {esql} metadata fields\n\n++++\nMetadata fields\n++++\n\n{esql} can access <>. The currently\nsupported ones are:\n\n * <>: the index to which the document belongs.\n The field is of the type <>.\n\n * <>: the source document's ID. The field is of the\n type <>.\n\n * `_version`: the source document's version. The field is of the type\n <>.\n\nTo enable the access to these fields, the <> source command needs\nto be provided with a dedicated directive:\n\n[source,esql]\n----\nFROM index [METADATA _index, _id]\n----\n\nMetadata fields are only available if the source of the data is an index.\nConsequently, `FROM` is the only source commands that supports the `METADATA`\ndirective.\n\nOnce enabled, the fields are then available to subsequent processing commands, just\nlike the other index fields:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/metadata-ignoreCsvTests.csv-spec[tag=multipleIndices]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/metadata-ignoreCsvTests.csv-spec[tag=multipleIndices-result]\n|===\n\nAlso, similar to the index fields, once an aggregation is performed, a\nmetadata field will no longer be accessible to subsequent commands, unless\nused as grouping field:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/metadata-ignoreCsvTests.csv-spec[tag=metaIndexInAggs]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/metadata-ignoreCsvTests.csv-spec[tag=metaIndexInAggs-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "d5984d31-51bc-4688-b426-21076d7a71dc",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/multivalued_fields.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.13339864,
+ "##d": 0.9167984,
+ "del": 0.4601096,
+ "alphabet": 0.275619,
+ "##l": 1.4994311,
+ "##p": 0.15531154,
+ "bar": 0.7470909,
+ "java": 1.141308,
+ "##v": 0.51032794,
+ "notation": 0.25848266,
+ "xml": 0.17512313,
+ "jan": 0.12220043,
+ "rank": 0.23432294,
+ "understanding": 0.12581906,
+ "api": 0.2300752,
+ "databases": 0.425419,
+ "pool": 0.14740403,
+ "+": 0.9988318,
+ "analysis": 0.19905655,
+ "-": 0.32803383,
+ "/": 0.4027667,
+ "miller": 0.1672976,
+ "re": 0.06085976,
+ "interpretation": 0.34432495,
+ "domain": 0.16096482,
+ "<": 0.43049768,
+ "relative": 0.8312991,
+ "cut": 0.16149148,
+ "ordering": 0.37237495,
+ "document": 0.0368094,
+ "##bre": 1.2238446,
+ "matrix": 0.065145575,
+ "##ted": 0.013104859,
+ "long": 0.74509025,
+ "result": 0.6700461,
+ "search": 0.04959769,
+ "managed": 0.038049217,
+ "vector": 0.24842142,
+ "[": 0.5948186,
+ "fred": 0.5317195,
+ "multiplication": 0.13694493,
+ "key": 0.4426829,
+ "limits": 0.14665124,
+ "_": 0.43632585,
+ "a": 0.07183222,
+ "b": 0.516466,
+ "column": 0.6373446,
+ "j": 0.8536506,
+ "k": 0.35434368,
+ "##efined": 1.0153476,
+ "##ps": 1.0421722,
+ "bug": 0.14702426,
+ "absolute": 0.250201,
+ "v": 0.19532752,
+ "rachel": 0.114527516,
+ "returned": 0.27091557,
+ "}": 0.3562832,
+ "##ine": 0.056653164,
+ "calculation": 0.23211823,
+ "anne": 0.67035884,
+ "source": 1.225763,
+ "accounting": 0.05476054,
+ "##ab": 1.0737273,
+ "du": 0.9490075,
+ "ref": 0.7286647,
+ "apache": 0.6042457,
+ "post": 0.95152056,
+ "results": 0.28581756,
+ "ed": 0.4978714,
+ "par": 0.29353708,
+ "eh": 0.3372107,
+ "chess": 0.14193456,
+ "maps": 0.22142346,
+ "query": 0.72145385,
+ "batch": 0.24787831,
+ "duplicate": 1.3769475,
+ "list": 0.07506352,
+ "discrete": 0.7516216,
+ "extract": 0.18342169,
+ "##word": 1.0918077,
+ "fields": 1.5796528,
+ "decimal": 0.28191862,
+ "que": 0.035300184,
+ "formats": 0.459108,
+ "memory": 0.12719387,
+ "string": 0.2530175,
+ "sources": 0.24840346,
+ "foo": 0.90698844,
+ "mass": 0.20164508,
+ "back": 0.107627034,
+ "##son": 1.2118729,
+ "title": 0.5999858,
+ "inventory": 0.3189373,
+ "interface": 0.25995165,
+ "remove": 0.9173623,
+ "sid": 0.30995682,
+ "class": 0.45722574,
+ "lump": 0.17539865,
+ "##ue": 1.0513159,
+ "##du": 0.9356019,
+ "types": 1.0969894,
+ "again": 0.04783781,
+ "multiple": 0.7423123,
+ "length": 0.093110435,
+ "reading": 1.0603945,
+ "und": 0.5026079,
+ "alberta": 0.100768715,
+ "##ed": 0.11450264,
+ "layout": 0.018970603,
+ "management": 0.029494306,
+ "interpret": 0.30266187,
+ "removal": 1.0251215,
+ "##ers": 0.51433957,
+ "syntax": 0.51726764,
+ "pub": 0.23955984,
+ "catalog": 0.19927086,
+ "arithmetic": 0.17133625,
+ "type": 0.85966444,
+ "rid": 0.20788713,
+ "multi": 1.3679892,
+ "##out": 0.33520278,
+ "peg": 0.48693326,
+ "review": 0.0013973482,
+ "property": 0.5740596,
+ "jerry": 0.27434316,
+ "id": 0.27054548,
+ "text": 0.06504326,
+ "write": 0.6185725,
+ "##er": 0.045161966,
+ "order": 0.8655416,
+ "algorithm": 0.7283256,
+ "val": 0.035252657,
+ "mapping": 0.9920083,
+ "gene": 0.069842406,
+ "##list": 0.25941044,
+ "index": 0.9331068,
+ "script": 0.26679146,
+ "field": 1.5143571,
+ "binary": 0.047842238,
+ "following": 0.022525052,
+ "restriction": 0.2342075,
+ "style": 0.05878267,
+ "math": 0.72410977,
+ "arrays": 0.3489845,
+ "bulk": 1.411301,
+ "essex": 0.18962829,
+ "jude": 0.13649492,
+ "hash": 0.07153472,
+ "##val": 1.429541,
+ "server": 0.29436985,
+ "columns": 0.7698898,
+ "pattern": 0.21767235,
+ "valid": 0.24356203,
+ "file": 0.2548049,
+ "julia": 0.08560175,
+ "web": 0.0063576824,
+ "copy": 0.45726997,
+ "map": 0.45952007,
+ "elimination": 0.08860086,
+ "table": 0.22559701,
+ "editor": 0.5191002,
+ "display": 0.33615243,
+ "kw": 1.0496957,
+ "ascending": 0.9477958,
+ "excel": 0.521166,
+ "names": 0.116170876,
+ "report": 0.19369794,
+ "cod": 0.38931468,
+ "shaw": 0.30747095,
+ "##ord": 1.556174,
+ "stuff": 0.31598744,
+ "checkpoint": 0.29488164,
+ "esq": 1.8772888,
+ "constant": 0.123270966,
+ "data": 0.47383136,
+ "descending": 0.76848483,
+ "tab": 0.11360869,
+ "brendan": 0.3602732,
+ "mc": 0.19236474,
+ "continuous": 0.14696117,
+ "limit": 1.2239796,
+ "##field": 0.31416705,
+ "html": 0.46129486,
+ "buffer": 0.27238566,
+ "tag": 0.021736136,
+ "bean": 0.12591587,
+ "read": 0.7117376,
+ "mp": 0.12926805,
+ "format": 0.3869434,
+ "mv": 1.512071,
+ "archive": 0.40960708,
+ "sort": 0.15961862,
+ "plus": 0.2678131,
+ "revision": 0.18271789,
+ "market": 0.22086081,
+ "sequence": 0.51793694,
+ "jamie": 0.4420022,
+ "##words": 0.1737653,
+ "code": 0.233133,
+ "rising": 0.046120927,
+ "bot": 0.14239092,
+ "values": 1.1320428,
+ "cad": 0.15847735,
+ "chunk": 0.30852148,
+ "gil": 0.1608076,
+ "error": 0.46119976,
+ "sql": 0.46046364,
+ "network": 0.001957169,
+ "database": 0.72098047,
+ "array": 1.1448191,
+ "define": 0.027027527,
+ "value": 1.0595967,
+ "direction": 0.19828135,
+ "console": 1.0369291,
+ "quantity": 0.21659099,
+ "equation": 0.13821214,
+ "consecutive": 0.24673647,
+ "##resh": 1.2036933,
+ "serial": 0.5206121,
+ "inherited": 0.04532364,
+ "online": 0.07700954,
+ "properties": 0.9157865
+ },
+ "is_truncated": true,
+ "model_id": ".elser_model_2"
+ },
+ "text": "[[esql-multivalued-fields]]\n=== {esql} multivalued fields\n\n++++\nMultivalued fields\n++++\n\n{esql} is fine reading from multivalued fields:\n\n[source,console,id=esql-multivalued-fields-reorders]\n----\nPOST /mv/_bulk?refresh\n{ \"index\" : {} }\n{ \"a\": 1, \"b\": [2, 1] }\n{ \"index\" : {} }\n{ \"a\": 2, \"b\": 3 }\n\nPOST /_query\n{\n \"query\": \"FROM mv | LIMIT 2\"\n}\n----\n\nMultivalued fields come back as a JSON array:\n\n[source,console-result]\n----\n{\n \"columns\": [\n { \"name\": \"a\", \"type\": \"long\"},\n { \"name\": \"b\", \"type\": \"long\"}\n ],\n \"values\": [\n [1, [1, 2]],\n [2, 3]\n ]\n}\n----\n\nThe relative order of values in a multivalued field is undefined. They'll frequently be in\nascending order but don't rely on that.\n\n[discrete]\n[[esql-multivalued-fields-dups]]\n==== Duplicate values\n\nSome field types, like <> remove duplicate values on write:\n\n[source,console,id=esql-multivalued-fields-kwdups]\n----\nPUT /mv\n{\n \"mappings\": {\n \"properties\": {\n \"b\": {\"type\": \"keyword\"}\n }\n }\n}\n\nPOST /mv/_bulk?refresh\n{ \"index\" : {} }\n{ \"a\": 1, \"b\": [\"foo\", \"foo\", \"bar\"] }\n{ \"index\" : {} }\n{ \"a\": 2, \"b\": [\"bar\", \"bar\"] }\n\nPOST /_query\n{\n \"query\": \"FROM mv | LIMIT 2\"\n}\n----\n\nAnd {esql} sees that removal:\n\n[source,console-result]\n----\n{\n \"columns\": [\n { \"name\": \"a\", \"type\": \"long\"},\n { \"name\": \"b\", \"type\": \"keyword\"}\n ],\n \"values\": [\n [1, [\"bar\", \"foo\"]],\n [2, \"bar\"]\n ]\n}\n----\n\nBut other types, like `long` don't remove duplicates.\n\n[source,console,id=esql-multivalued-fields-longdups]\n----\nPUT /mv\n{\n \"mappings\": {\n \"properties\": {\n \"b\": {\"type\": \"long\"}\n }\n }\n}\n\nPOST /mv/_bulk?refresh\n{ \"index\" : {} }\n{ \"a\": 1, \"b\": [2, 2, 1] }\n{ \"index\" : {} }\n{ \"a\": 2, \"b\": [1, 1] }\n\nPOST /_query\n{\n \"query\": \"FROM mv | LIMIT 2\"\n}\n----\n\nAnd {esql} also sees that:\n\n[source,console-result]\n----\n{\n \"columns\": [\n { \"name\": \"a\", \"type\": \"long\"},\n { \"name\": \"b\", \"type\": \"long\"}\n ],\n \"values\": [\n [1, [1, 2, 2]],\n [2, [1, 1]]\n ]\n}\n----\n\nThis is all at the storage layer. If you store duplicate `long`s and then\nconvert them to strings the duplicates will stay:\n\n[source,console,id=esql-multivalued-fields-longdups-tostring]\n----\nPUT /mv\n{\n \"mappings\": {\n \"properties\": {\n \"b\": {\"type\": \"long\"}\n }\n }\n}\n\nPOST /mv/_bulk?refresh\n{ \"index\" : {} }\n{ \"a\": 1, \"b\": [2, 2, 1] }\n{ \"index\" : {} }\n{ \"a\": 2, \"b\": [1, 1] }\n\nPOST /_query\n{\n \"query\": \"FROM mv | EVAL b=TO_STRING(b) | LIMIT 2\"\n}\n----\n\n[source,console-result]\n----\n{\n \"columns\": [\n { \"name\": \"a\", \"type\": \"long\"},\n { \"name\": \"b\", \"type\": \"keyword\"}\n ],\n \"values\": [\n [1, [\"1\", \"2\", \"2\"]],\n [2, [\"1\", \"1\"]]\n ]\n}\n----\n\n[discrete]\n[[esql-multivalued-fields-functions]]\n==== Functions\n\nUnless otherwise documented functions will return `null` when applied to a multivalued\nfield. This behavior may change in a later version.\n\n[source,console,id=esql-multivalued-fields-mv-into-null]\n----\nPOST /mv/_bulk?refresh\n{ \"index\" : {} }\n{ \"a\": 1, \"b\": [2, 1] }\n{ \"index\" : {} }\n{ \"a\": 2, \"b\": 3 }\n\nPOST /_query\n{\n \"query\": \"FROM mv | EVAL b + 2, a + b | LIMIT 4\"\n}\n----\n\n[source,console-result]\n----\n{\n \"columns\": [\n { \"name\": \"a\", \"type\": \"long\"},\n { \"name\": \"b\", \"type\": \"long\"},\n { \"name\": \"b+2\", \"type\": \"long\"},\n { \"name\": \"a+b\", \"type\": \"long\"}\n ],\n \"values\": [\n [1, [1, 2], null, null],\n [2, 3, 5, 5]\n ]\n}\n----\n\nWork around this limitation by converting the field to single value with one of:\n\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n* <>\n\n[source,console,esql-multivalued-fields-mv-into-null]\n----\nPOST /_query\n{\n \"query\": \"FROM mv | EVAL b=MV_MIN(b) | EVAL b + 2, a + b | LIMIT 4\"\n}\n----\n// TEST[continued]\n\n[source,console-result]\n----\n{\n \"columns\": [\n { \"name\": \"a\", \"type\": \"long\"},\n { \"name\": \"b\", \"type\": \"long\"},\n { \"name\": \"b+2\", \"type\": \"long\"},\n { \"name\": \"a+b\", \"type\": \"long\"}\n ],\n \"values\": [\n [1, 1, 3, 2],\n [2, 3, 5, 5]\n ]\n}\n----\n\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "aee92a13-59f5-4029-9882-78cae67885ff",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/processing_commands/dissect.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.24469519,
+ "##d": 0.9146814,
+ "del": 0.991994,
+ "fin": 0.11702172,
+ "styled": 0.9820887,
+ "##frame": 0.0060241795,
+ "##l": 1.3095477,
+ "extracted": 0.43656394,
+ "java": 0.84230745,
+ "##s": 0.014418345,
+ "styling": 0.38542807,
+ "##v": 1.1750107,
+ "xml": 0.4138084,
+ "jan": 0.08839235,
+ "notation": 0.08719388,
+ "retrieval": 0.038308423,
+ "merge": 1.3019509,
+ "based": 0.22016414,
+ "%": 0.4418415,
+ "tex": 0.08337972,
+ "'": 0.17010693,
+ "inspired": 0.021359531,
+ "analysis": 0.48765442,
+ "##olo": 0.2209842,
+ "processor": 0.94535136,
+ "-": 0.14750175,
+ "tags": 0.112314045,
+ "ax": 0.0770933,
+ "processing": 0.52596,
+ "extracts": 0.61223197,
+ "compression": 0.08764129,
+ "=": 0.035903916,
+ "##ructured": 0.3581299,
+ "##ter": 0.7375859,
+ "sue": 0.24156977,
+ "miscellaneous": 0.29670703,
+ "cut": 0.19787484,
+ "scan": 0.14951497,
+ "utility": 0.036968525,
+ "virus": 0.3962529,
+ "matching": 0.4665094,
+ "result": 0.69343764,
+ "##sso": 0.25288606,
+ "characters": 0.0075582014,
+ "search": 0.13479704,
+ "##or": 0.30392516,
+ "encryption": 0.009175751,
+ "structured": 1.6172125,
+ "##sse": 1.8980578,
+ "[": 0.9251244,
+ "fred": 0.34436965,
+ "]": 0.44085994,
+ "escape": 0.3726034,
+ "key": 0.8863956,
+ "sep": 0.43858185,
+ "_": 0.23181367,
+ "ss": 0.06027664,
+ "d": 0.44841847,
+ "column": 0.8117439,
+ "sample": 0.16115782,
+ "cs": 1.2229403,
+ "pull": 0.34789988,
+ "v": 0.036135968,
+ "information": 0.08377326,
+ "|": 0.29245093,
+ "da": 0.561932,
+ "dd": 0.14395519,
+ "ass": 0.12558715,
+ "dh": 0.39775705,
+ "di": 1.4635981,
+ "anne": 0.50781196,
+ "retrieved": 0.32466716,
+ "source": 0.019770117,
+ "specifications": 0.2865262,
+ "ds": 1.0537473,
+ "apache": 0.34406084,
+ "segment": 0.0051374566,
+ "##imi": 1.0706297,
+ "results": 0.012622348,
+ "ed": 0.7481506,
+ "which": 0.118275754,
+ "par": 0.010457246,
+ "##se": 0.7353745,
+ "chess": 0.29778707,
+ "patterns": 1.175678,
+ "sha": 0.35862538,
+ "discrete": 1.9178482,
+ "extract": 1.5308002,
+ "geometric": 0.20724685,
+ "##ile": 0.07475947,
+ "useful": 0.47414258,
+ "##ct": 1.152375,
+ "formats": 0.098262556,
+ "string": 1.3060623,
+ "import": 0.47341517,
+ "##eti": 0.15560156,
+ "interface": 0.32625264,
+ "remove": 0.4330518,
+ "sid": 0.61082935,
+ "mono": 1.0106091,
+ "##ss": 0.646594,
+ "class": 0.36831516,
+ "mask": 0.17021412,
+ "cipher": 0.44088987,
+ "digital": 0.09270219,
+ "specification": 0.5353367,
+ "syntax": 1.1485398,
+ "pub": 0.0939071,
+ "fancy": 0.034229305,
+ "software": 0.59957767,
+ "pun": 0.06789531,
+ "gage": 0.06752255,
+ "processors": 0.27149057,
+ "peg": 0.3384458,
+ "enable": 0.3568324,
+ "##space": 1.2527491,
+ "text": 0.28170207,
+ "jerry": 0.18486685,
+ "manipulation": 0.21238884,
+ "algorithm": 0.73185146,
+ "method": 0.20482774,
+ "gene": 0.39841875,
+ "specify": 0.11662599,
+ "index": 0.4768399,
+ "is": 0.3444705,
+ "extraction": 0.7014768,
+ "matches": 0.01714738,
+ "script": 0.43926576,
+ "anal": 0.31605887,
+ "analyze": 0.24326064,
+ "doc": 0.027918823,
+ "style": 0.70276475,
+ "math": 0.3366895,
+ "jude": 0.17852424,
+ "encoded": 0.2711903,
+ "server": 0.0010321772,
+ "columns": 0.9571475,
+ "against": 0.60292745,
+ "pattern": 1.4042417,
+ "##ction": 0.5816687,
+ "sequences": 0.21210916,
+ "##arat": 0.88575965,
+ "computer": 0.13477308,
+ "file": 0.54992455,
+ "julia": 0.079648174,
+ "ability": 0.18231623,
+ "copy": 0.17163992,
+ "include": 0.6926879,
+ "editor": 0.69019943,
+ "display": 0.027130209,
+ "excel": 0.42139614,
+ "framework": 0.08766455,
+ "machine": 0.2373696,
+ "fetch": 0.22536723,
+ "organized": 0.08617051,
+ "report": 0.050865386,
+ "cod": 0.165329,
+ "discreet": 0.2572444,
+ "checkpoint": 0.2925813,
+ "esq": 1.8872339,
+ "data": 1.0443604,
+ "dice": 0.6263092,
+ "forensic": 0.45028308,
+ "spec": 1.4460872,
+ "space": 0.55599344,
+ "split": 9.946643E-4,
+ "tab": 0.306986,
+ "continuous": 0.7757445,
+ "md": 0.07414588,
+ "html": 0.30229065,
+ "lap": 0.2149762,
+ "from": 0.15182745,
+ "tag": 0.68767816,
+ "buffer": 0.115389414,
+ "combine": 0.058033668,
+ "including": 0.19087769,
+ "read": 0.1657751,
+ "format": 0.96128404,
+ "capture": 0.39243993,
+ "archive": 0.5777594,
+ "sort": 0.5028322,
+ "tool": 0.36322388,
+ "tutor": 0.33653122,
+ "sequence": 0.32951683,
+ "core": 0.26664257,
+ "header": 0.9765351,
+ "retrieve": 0.49689215,
+ "dash": 0.024193298,
+ "code": 0.18344025,
+ "differentiation": 0.15786491,
+ "keys": 1.2279391,
+ "bot": 0.24622665,
+ "cad": 0.3256793,
+ "exile": 0.31523085,
+ "technique": 0.18784073,
+ "gil": 0.15150079,
+ "sql": 0.49800426,
+ "database": 0.34428194,
+ "##lib": 0.12526064,
+ "keyboard": 0.45176044,
+ "match": 0.5941334,
+ "command": 0.49733657,
+ "probe": 0.017676907,
+ "serial": 0.3825083
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-dissect]]\n=== `DISSECT`\n\n`DISSECT` enables you to extract structured data out of a string. `DISSECT`\nmatches the string against a delimiter-based pattern, and extracts the specified\nkeys as columns.\n\nRefer to the <> for the\nsyntax of dissect patterns.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/dissect.csv-spec[tag=dissect]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/dissect.csv-spec[tag=dissect-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "59a4f826-85da-4292-aed1-b0a142a13a67",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/processing_commands/drop.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.55925393,
+ "##d": 0.6959504,
+ "del": 0.43586525,
+ "fin": 0.36486632,
+ "alphabet": 0.25175074,
+ "##frame": 0.041725975,
+ "##l": 1.2829099,
+ "##ard": 1.0619506,
+ "java": 0.6255058,
+ "##s": 0.1254944,
+ "len": 0.18177189,
+ "##v": 1.0893034,
+ "notation": 0.48219433,
+ "jan": 0.06415908,
+ "merge": 0.070947915,
+ "databases": 0.49781355,
+ "'": 0.28230262,
+ "analysis": 0.5522843,
+ "-": 0.1931413,
+ "tags": 0.33159232,
+ "cue": 0.16689314,
+ "as": 0.108296804,
+ "stop": 0.14502683,
+ "statistical": 0.29970592,
+ "cut": 0.34443375,
+ "miscellaneous": 0.20093858,
+ "##rai": 0.14685392,
+ "document": 0.6415922,
+ "eliminate": 0.11923728,
+ "matrix": 0.057080556,
+ "virus": 0.25138375,
+ "matching": 0.49260533,
+ "by": 0.1954188,
+ "[": 0.5013769,
+ "fred": 0.18330102,
+ "free": 0.020355843,
+ "]": 0.004251727,
+ "_": 0.41512024,
+ "chip": 0.13869084,
+ "d": 0.229336,
+ "column": 1.3973299,
+ "sample": 0.25290984,
+ "cs": 1.3767569,
+ "pull": 0.15721613,
+ "bug": 0.022862537,
+ "v": 0.24221006,
+ "isa": 0.12476872,
+ "da": 0.4320013,
+ "chart": 0.19668098,
+ "operation": 0.09950439,
+ "ass": 0.21643566,
+ "##wil": 1.0084184,
+ "separate": 0.48112792,
+ "documents": 0.0122037865,
+ "anne": 0.3700107,
+ "source": 1.0421891,
+ "accounting": 0.122821406,
+ "specifications": 0.6201023,
+ "down": 0.17336977,
+ "operator": 0.28424376,
+ "empty": 0.26326796,
+ "apache": 0.11395966,
+ "separation": 0.116009645,
+ "##drop": 0.30357358,
+ "implement": 0.26743945,
+ "ren": 0.072991155,
+ "exclude": 0.010218211,
+ "up": 0.009088692,
+ "ed": 0.4728437,
+ "chess": 0.37186593,
+ "eh": 0.034719236,
+ "##card": 0.952702,
+ "dropping": 0.8851229,
+ "patterns": 0.9183876,
+ "eric": 0.20066747,
+ "batch": 0.11451869,
+ "bold": 0.01803605,
+ "duplicate": 0.01777294,
+ "list": 0.44498423,
+ "##ght": 1.3630093,
+ "sha": 0.29012474,
+ "discrete": 1.922728,
+ "extract": 0.20613582,
+ "##word": 0.08862399,
+ "name": 0.86083215,
+ "fields": 0.066951215,
+ "drop": 1.9364599,
+ "cards": 0.53259057,
+ "import": 0.39807624,
+ "sources": 0.07597668,
+ "rule": 0.0013612775,
+ "interface": 0.20034546,
+ "inventory": 0.17871976,
+ "remove": 1.3721921,
+ "wave": 0.0066811275,
+ "sid": 0.707542,
+ "##dc": 0.55008537,
+ "button": 0.18658456,
+ "drops": 1.0656949,
+ "class": 0.27348146,
+ "cipher": 0.15215994,
+ "digital": 0.07853528,
+ "citation": 0.101425216,
+ "specification": 0.6985734,
+ "with": 0.2513656,
+ "management": 0.16535416,
+ "removal": 1.0587074,
+ "##with": 0.7167961,
+ "syntax": 0.8417771,
+ "step": 0.27485695,
+ "named": 0.3575543,
+ "select": 0.07814232,
+ "bin": 0.11548958,
+ "dropped": 0.804978,
+ "gage": 0.4416663,
+ "during": 0.04385188,
+ "rid": 0.21550335,
+ "loss": 0.27681187,
+ "peg": 0.55283237,
+ "jerry": 0.21429986,
+ "enter": 0.052304585,
+ "flow": 0.18988624,
+ "algorithm": 0.54470485,
+ "reduce": 0.10279491,
+ "method": 0.21582533,
+ "gene": 0.4078623,
+ "##list": 0.34027857,
+ "specify": 1.0672268,
+ "verb": 0.5104422,
+ "index": 0.7083028,
+ "script": 0.25189558,
+ "removing": 0.2016132,
+ "##ards": 0.30270204,
+ "analyze": 0.00829714,
+ "doc": 1.3125831,
+ "math": 0.30838686,
+ "card": 0.7110481,
+ "hash": 0.08456185,
+ "##ft": 0.030983409,
+ "server": 0.10971107,
+ "columns": 1.422577,
+ "pattern": 1.466769,
+ "distribution": 0.006348206,
+ "##hei": 1.3685969,
+ "scrap": 0.22995111,
+ "file": 0.61823,
+ "table": 0.69985163,
+ "include": 0.91822165,
+ "editor": 0.5836218,
+ "break": 0.076469555,
+ "display": 0.39722905,
+ "excel": 0.83089864,
+ "names": 0.8859301,
+ "removed": 0.064483024,
+ "report": 0.51967466,
+ "cod": 0.11726643,
+ "discreet": 0.04327519,
+ "checkpoint": 0.59444135,
+ "shed": 0.13037542,
+ "esq": 1.7568166,
+ "panda": 0.0047958344,
+ "data": 0.62345374,
+ "use": 0.19004685,
+ "dice": 0.59145194,
+ "replace": 0.093330994,
+ "section": 0.00976677,
+ "forensic": 0.4694998,
+ "spec": 1.6633162,
+ "protocol": 0.010828662,
+ "split": 0.03353603,
+ "tab": 0.7487035,
+ "brendan": 0.012145139,
+ "continuous": 0.8504835,
+ "lap": 0.36778006,
+ "html": 0.27564344,
+ "tag": 0.80871075,
+ "buffer": 0.25790274,
+ "all": 0.4953173,
+ "including": 0.41966206,
+ "format": 0.5791516,
+ "archive": 0.5631846,
+ "sort": 0.4224669,
+ "tool": 0.080039114,
+ "tutor": 0.11433104,
+ "core": 0.37930426,
+ "jamie": 0.28071734,
+ "sequence": 6.5615104E-4,
+ "disk": 0.0031087901,
+ "lists": 0.39749664,
+ "files": 0.15241013,
+ "##words": 0.026696784,
+ "##ada": 0.17077976,
+ "differentiation": 0.08783358,
+ "code": 0.009636551,
+ "bot": 0.25637367,
+ "cad": 0.41963533,
+ "technique": 0.04771541,
+ "gil": 0.3283472,
+ "storage": 0.28262842,
+ "error": 0.02747078,
+ "sql": 0.6716283,
+ "database": 0.6005915,
+ "synonym": 0.31156725,
+ "##cards": 1.006751,
+ "define": 0.22410135,
+ "sheet": 0.33525732,
+ "row": 0.21913755,
+ "##lib": 0.19374047,
+ "said": 0.19921352,
+ "included": 0.3320341,
+ "keyboard": 0.05047715,
+ "match": 0.612083,
+ "control": 0.31130394,
+ "rows": 0.19347723,
+ "command": 0.7074671,
+ "serial": 0.27192935,
+ "wild": 1.4881867
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-drop]]\n=== `DROP`\n\nUse `DROP` to remove columns:\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=dropheight]\n----\n\nRather than specify each column by name, you can use wildcards to drop all\ncolumns with a name that matches a pattern:\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=dropheightwithwildcard]\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "d391cdbd-7fde-45b4-8668-9a91889608d8",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/processing_commands/enrich.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.1884184,
+ "copyright": 0.24100813,
+ "named": 0.15776372,
+ "##d": 0.67049634,
+ "criteria": 0.24551088,
+ "##g": 0.22850747,
+ "##ng": 0.9947236,
+ "texas": 0.19446473,
+ "during": 0.06448604,
+ "##l": 1.0538864,
+ "setting": 0.60859895,
+ "fit": 0.45216388,
+ "enrichment": 0.4526831,
+ "guild": 0.030238384,
+ "tables": 0.12267442,
+ "introduced": 0.11762153,
+ "java": 1.0495012,
+ "peg": 0.24433728,
+ "notation": 0.21972834,
+ "xml": 0.019719742,
+ "record": 0.85920525,
+ "##x": 0.028934525,
+ "##z": 0.1466602,
+ "jerry": 0.36466566,
+ "defined": 0.29873374,
+ "algorithm": 0.81669873,
+ "databases": 0.40770715,
+ "images": 0.5231283,
+ "gene": 0.5197971,
+ "indexed": 0.41357145,
+ "tex": 0.3874494,
+ "enriched": 0.140017,
+ "'": 0.04885835,
+ "specify": 0.49241957,
+ "index": 1.2698042,
+ ")": 0.027719408,
+ "*": 0.3503392,
+ "analysis": 0.23125154,
+ "execute": 0.882931,
+ "matches": 0.7631051,
+ "an": 0.21493275,
+ "-": 0.17087804,
+ "script": 0.21512696,
+ "tags": 0.36732748,
+ "input": 0.47618622,
+ "miller": 0.37370083,
+ "field": 1.0543927,
+ "selection": 0.01498631,
+ "domain": 0.18181364,
+ "math": 0.62377197,
+ "jude": 0.20272753,
+ "arab": 0.07197222,
+ "template": 0.1483427,
+ "##ten": 0.19807641,
+ "miscellaneous": 0.09109269,
+ "aim": 0.12262265,
+ "columns": 1.0916739,
+ "document": 0.285239,
+ "pattern": 0.47204682,
+ "##raf": 0.24488342,
+ "mid": 0.14237675,
+ "executed": 0.32741958,
+ "global": 0.2114877,
+ "matrix": 0.08947002,
+ "distribution": 0.011158562,
+ "matching": 0.97190875,
+ "example": 0.5123219,
+ "foreign": 0.055017255,
+ "default": 0.69910383,
+ "search": 0.025478713,
+ "file": 0.38215604,
+ "same": 0.36312258,
+ "where": 0.061416306,
+ "fred": 0.38508254,
+ "[": 0.2997692,
+ "table": 0.8901015,
+ "policy": 1.5366062,
+ "_": 0.78670794,
+ "genetic": 0.123180225,
+ "editor": 0.50907135,
+ "mat": 0.39055538,
+ "set": 0.5564632,
+ "languages": 1.217317,
+ "d": 0.196566,
+ "change": 0.38622165,
+ "##ment": 0.13137996,
+ "column": 1.3165941,
+ "replaced": 0.40721816,
+ "sample": 0.24511099,
+ "performed": 0.14305599,
+ "excel": 0.4717602,
+ "p": 0.27283883,
+ "indices": 1.0525974,
+ "names": 0.59625626,
+ "bug": 0.20743161,
+ "normandy": 0.06832326,
+ "report": 0.046971943,
+ "cod": 0.42003596,
+ "z": 0.32683375,
+ "describe": 0.29320735,
+ "polish": 0.023275845,
+ "operation": 0.1280506,
+ "checkpoint": 0.5096245,
+ "ass": 0.1525613,
+ "esq": 1.8319417,
+ "data": 0.63813037,
+ "tx": 0.33119515,
+ "honor": 0.16494283,
+ "replace": 0.5843278,
+ "dice": 0.36919025,
+ "anne": 0.542941,
+ "language": 1.1494406,
+ "nur": 0.26407057,
+ "source": 0.7720873,
+ "accounting": 0.27937,
+ "align": 0.06701063,
+ "translate": 0.11841714,
+ "protocol": 0.20991442,
+ "apache": 0.077916615,
+ "tab": 0.17104162,
+ "continuous": 0.8128608,
+ "create": 0.55045044,
+ "html": 0.34043616,
+ "implement": 0.18211237,
+ "tip": 0.18019731,
+ "ren": 0.09958155,
+ "tag": 0.8152577,
+ "up": 0.61158186,
+ "buffer": 0.17275785,
+ "ed": 0.40218696,
+ "add": 0.5796132,
+ "par": 0.14576332,
+ "new": 1.3431304,
+ "image": 0.1971969,
+ "chess": 0.6671342,
+ "eh": 0.10379228,
+ "format": 0.37630394,
+ "en": 1.5041453,
+ "archive": 0.17563559,
+ "sort": 0.26192057,
+ "list": 0.18841426,
+ "tutor": 0.26037917,
+ "discrete": 1.8467468,
+ "jamie": 0.044996846,
+ "expand": 0.16995034,
+ "lists": 0.100644864,
+ "name": 0.6681258,
+ "enforce": 0.32792202,
+ "fields": 1.0642335,
+ "alignment": 0.061094057,
+ "parameters": 1.2320114,
+ "code": 0.26168743,
+ "differentiation": 0.08632777,
+ "legacy": 0.034212485,
+ "import": 0.47259912,
+ "string": 0.07476091,
+ "records": 0.80100894,
+ "student": 0.2113413,
+ "cad": 0.39299226,
+ "policies": 0.93316925,
+ "rule": 0.369671,
+ "description": 0.34122825,
+ "gil": 0.23525633,
+ "interface": 0.095434494,
+ "sql": 0.61716163,
+ "sid": 0.50934637,
+ "database": 0.62211126,
+ "marriage": 0.034291394,
+ "parameter": 0.6496273,
+ "define": 0.18364692,
+ "##lib": 0.18560717,
+ "lang": 0.17530371,
+ "class": 0.522914,
+ "value": 0.27286443,
+ "on": 0.844496,
+ "##rich": 2.0062175,
+ "execution": 0.82149076,
+ "center": 0.93703645,
+ "custom": 0.35434142,
+ "implementation": 0.038827322,
+ "match": 1.7946665,
+ "existing": 0.88287944,
+ "with": 0.6593195,
+ "management": 0.24030745,
+ "inherited": 0.056240126,
+ "syntax": 1.382749,
+ "pub": 0.25220412,
+ "strategy": 0.08338214,
+ "assign": 0.15628953
+ },
+ "is_truncated": true,
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-enrich]]\n=== `ENRICH`\n\n**Syntax**\n\n[source,txt]\n----\nENRICH policy [ON match_field] [WITH [new_name1 = ]field1, [new_name2 = ]field2, ...]\n----\n\n*Parameters*\n\n`policy`::\nThe name of the enrich policy. You need to <>\nand <> the enrich policy first.\n\n`ON match_field`::\nThe match field. `ENRICH` uses its value to look for records in the enrich\nindex. If not specified, the match will be performed on the column with the same\nname as the `match_field` defined in the <>.\n\n`WITH fieldX`::\nThe enrich fields from the enrich index that are added to the result as new\ncolumns. If a column with the same name as the enrich field already exists, the\nexisting column will be replaced by the new column. If not specified, each of\nthe enrich fields defined in the policy is added\n\n`new_nameX =`::\nEnables you to change the name of the column that's added for each of the enrich\nfields. Defaults to the enrich field name.\n\n*Description*\n\n`ENRICH` enables you to add data from existing indices as new columns using an\nenrich policy. Refer to <> for information about setting up a\npolicy.\n\nimage::images/esql/esql-enrich.png[align=\"center\"]\n\nTIP: Before you can use `ENRICH`, you need to <>.\n\n*Examples*\n\n// tag::examples[]\nThe following example uses the `languages_policy` enrich policy to add a new\ncolumn for each enrich field defined in the policy. The match is performed using\nthe `match_field` defined in the <> and\nrequires that the input table has a column with the same name (`language_code`\nin this example). `ENRICH` will look for records in the\n<> based on the match field value. \n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs-ignoreCsvTests.csv-spec[tag=enrich]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs-ignoreCsvTests.csv-spec[tag=enrich-result]\n|===\n\nTo use a column with a different name than the `match_field` defined in the\npolicy as the match field, use `ON `:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs-ignoreCsvTests.csv-spec[tag=enrich_on]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs-ignoreCsvTests.csv-spec[tag=enrich_on-result]\n|===\n\nBy default, each of the enrich fields defined in the policy is added as a\ncolumn. To explicitly select the enrich fields that are added, use \n`WITH , ...`:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs-ignoreCsvTests.csv-spec[tag=enrich_with]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs-ignoreCsvTests.csv-spec[tag=enrich_with-result]\n|===\n\nYou can rename the columns that are added using `WITH new_name=`:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs-ignoreCsvTests.csv-spec[tag=enrich_rename]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs-ignoreCsvTests.csv-spec[tag=enrich_rename-result]\n|===\n\nIn case of name collisions, the newly created columns will override existing\ncolumns.\n// end::examples[]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "efb6ed14-89fa-4679-9773-36de74b27b9a",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/processing_commands/eval.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.3352072,
+ "##d": 0.8704827,
+ "functions": 0.36364743,
+ "mixing": 0.24476163,
+ "del": 0.13804768,
+ "fin": 0.07997969,
+ "styled": 1.1613736,
+ "##l": 1.6169369,
+ "java": 0.8048263,
+ "##s": 0.115914315,
+ "styling": 0.7583088,
+ "dev": 0.18436256,
+ "##v": 1.1106327,
+ "jan": 0.30623856,
+ "notation": 0.11991952,
+ "merge": 1.7500821,
+ "calculate": 0.5278751,
+ "api": 0.123982266,
+ "addition": 0.47770426,
+ "app": 0.65427166,
+ "databases": 0.30053437,
+ "iris": 0.2564115,
+ "merging": 0.13960735,
+ "%": 0.52642554,
+ "tex": 0.22594875,
+ "old": 0.16300684,
+ "inspired": 0.02566649,
+ "analysis": 0.27562624,
+ "-": 0.1594311,
+ "tags": 0.349488,
+ "/": 0.12801452,
+ "styles": 0.12238303,
+ "calculations": 0.040118698,
+ "statistical": 0.08346066,
+ "miscellaneous": 0.24010383,
+ "##let": 0.016530108,
+ "##ler": 0.5144322,
+ "document": 0.4862676,
+ "monte": 0.06714039,
+ "matrix": 0.3267703,
+ "virus": 0.111944795,
+ "result": 0.83379626,
+ "##or": 0.41186693,
+ "si": 0.17021573,
+ "vector": 0.023493031,
+ "[": 0.835057,
+ "fred": 0.18378362,
+ "]": 0.1709964,
+ "##ending": 0.2443538,
+ "sep": 0.57205266,
+ "_": 0.4682098,
+ "ss": 0.0527966,
+ "contain": 0.12482849,
+ "d": 0.21173456,
+ "column": 1.4600961,
+ "cs": 1.3526658,
+ "deleted": 0.051705357,
+ "v": 0.14796205,
+ "|": 0.076189786,
+ "da": 0.1528423,
+ "chart": 0.14982493,
+ "font": 0.24940102,
+ "calculation": 0.9951854,
+ "dd": 0.25027663,
+ "ass": 0.13276625,
+ "dh": 0.5084072,
+ "separate": 0.006122287,
+ "din": 0.081541896,
+ "anne": 0.47768947,
+ "language": 0.26083738,
+ "source": 1.04891,
+ "accounting": 0.13695927,
+ "specifications": 0.6189708,
+ "ds": 1.1316432,
+ "ref": 0.03036826,
+ "apache": 0.42872977,
+ "separation": 0.08191299,
+ "results": 0.23907001,
+ "ed": 0.58986944,
+ "add": 0.50513124,
+ "which": 0.014178258,
+ "##se": 0.0026988294,
+ "eh": 0.04809199,
+ "batch": 0.3290851,
+ "eric": 0.07257218,
+ "duplicate": 0.14049816,
+ "##ended": 0.9515447,
+ "sha": 0.19592157,
+ "modification": 0.02386732,
+ "discrete": 1.9078872,
+ "fields": 0.042239904,
+ "useful": 0.41188958,
+ "support": 0.19269572,
+ "drop": 0.8407624,
+ "allow": 0.19036578,
+ "formats": 0.21364519,
+ "import": 0.44272393,
+ "changes": 0.3479521,
+ "interface": 0.47334412,
+ "remove": 0.5553955,
+ "sid": 0.7563779,
+ "mono": 1.1576734,
+ "button": 0.08813805,
+ "class": 0.5173871,
+ "digital": 0.050535295,
+ "previous": 0.17066549,
+ "custom": 0.24261671,
+ "multiple": 0.2095771,
+ "length": 0.110431224,
+ "specification": 0.71579486,
+ "calculating": 0.10929812,
+ "editing": 0.14816312,
+ "existing": 0.9870138,
+ "removal": 0.14273576,
+ "syntax": 0.5998588,
+ "formula": 0.1441611,
+ "merger": 0.031392913,
+ "fancy": 0.06559559,
+ "software": 0.22883184,
+ "dropped": 0.41306272,
+ "gage": 0.27597693,
+ "during": 0.03460639,
+ "tables": 0.5102975,
+ "peg": 0.5230031,
+ "enable": 0.5948272,
+ "##space": 1.2854213,
+ "##ep": 0.4563352,
+ "jerry": 0.27020162,
+ "text": 0.15716927,
+ "flow": 0.18169744,
+ "algorithm": 0.46581173,
+ "gene": 0.17643604,
+ "specify": 0.56084865,
+ "index": 0.6285609,
+ "##lace": 1.154833,
+ "script": 0.26771548,
+ "exist": 0.27522475,
+ "integration": 0.38520485,
+ "doc": 1.1852951,
+ "style": 0.97801,
+ "math": 0.5185409,
+ "jude": 0.013132978,
+ "server": 0.20118436,
+ "columns": 1.3912925,
+ "crystal": 0.38564083,
+ "pattern": 0.32985213,
+ "specified": 0.41754964,
+ "##arat": 0.8495829,
+ "file": 0.5213,
+ "composed": 0.27373943,
+ "julia": 0.3295146,
+ "table": 1.2365634,
+ "include": 0.93386114,
+ "editor": 0.6765896,
+ "heading": 0.27965567,
+ "change": 0.58817136,
+ "display": 0.49250117,
+ "excel": 0.7714294,
+ "framework": 0.043838985,
+ "organized": 0.23011231,
+ "report": 0.21331972,
+ "li": 0.014478153,
+ "checkpoint": 0.4328912,
+ "esq": 1.8125383,
+ "data": 0.538163,
+ "##end": 1.2610713,
+ "roman": 0.031796016,
+ "replace": 0.40564868,
+ "spec": 1.5852621,
+ "space": 0.5711455,
+ "##ling": 0.02937624,
+ "protocol": 0.14502612,
+ "split": 0.25426027,
+ "tab": 0.7087737,
+ "continuous": 0.83861667,
+ "function": 0.63234186,
+ "intro": 0.0482474,
+ "html": 0.5265334,
+ "lap": 0.27844253,
+ "tag": 0.8372651,
+ "buffer": 0.36484414,
+ "different": 0.035905525,
+ "combine": 0.41039315,
+ "new": 1.0484103,
+ "including": 0.43337327,
+ "already": 0.5049548,
+ "format": 1.0724251,
+ "archive": 0.3621631,
+ "sort": 0.050891783,
+ "revision": 0.37792832,
+ "core": 0.2855317,
+ "jamie": 0.093509495,
+ "sequence": 0.034319386,
+ "attached": 0.08077875,
+ "header": 1.1849562,
+ "code": 0.1060176,
+ "values": 0.51315624,
+ "cad": 0.414817,
+ "##lc": 0.16785523,
+ "link": 0.034127347,
+ "gil": 0.21546482,
+ "sql": 0.5324207,
+ "cal": 0.048707124,
+ "eva": 1.8350425,
+ "database": 0.5402568,
+ "sheet": 0.20270757,
+ "##lib": 0.6410634,
+ "value": 0.60592186,
+ "included": 0.30680043,
+ "process": 0.034702078,
+ "equation": 0.32141387,
+ "command": 0.123849675,
+ "serial": 0.5838241,
+ "##lr": 0.77575976
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-eval]]\n=== `EVAL`\n`EVAL` enables you to append new columns:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=eval]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=eval-result]\n|===\n\nIf the specified column already exists, the existing column will be dropped, and\nthe new column will be appended to the table:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=evalReplace]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=evalReplace-result]\n|===\n\n[discrete]\n==== Functions\n`EVAL` supports various functions for calculating values. Refer to\n<> for more information.\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "241c39a6-d9c8-42b2-a543-0017877bc537",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/processing_commands/grok.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##d": 0.87642837,
+ "fin": 0.08005144,
+ "del": 0.06470575,
+ "styled": 0.9553326,
+ "alphabet": 0.08005111,
+ "##l": 1.1064739,
+ "extracted": 0.41636842,
+ "##o": 0.5174093,
+ "robot": 0.014742601,
+ "java": 1.045267,
+ "##s": 0.1964232,
+ "styling": 0.4605384,
+ "dev": 0.082636416,
+ "len": 0.0013387775,
+ "##v": 0.96400404,
+ "xml": 0.45663816,
+ "merge": 1.4861029,
+ "databases": 0.109286256,
+ "merging": 0.12663223,
+ "%": 0.5658371,
+ "tex": 0.34720355,
+ "'": 0.20762071,
+ "documentation": 0.17458807,
+ "inspired": 0.038111757,
+ "##ok": 2.1514883,
+ "analysis": 0.38672447,
+ "processor": 0.7208281,
+ "-": 0.06510961,
+ "tags": 0.43647057,
+ "ar": 0.035506953,
+ "##ole": 0.24994616,
+ "processing": 0.29735407,
+ "extracts": 0.6251873,
+ "compression": 0.0766077,
+ "##ructured": 0.3867098,
+ "miscellaneous": 0.1713054,
+ "utility": 0.10910125,
+ "global": 0.2394255,
+ "matching": 0.72564334,
+ "example": 0.28300208,
+ "result": 0.78780943,
+ "search": 0.20899361,
+ "##os": 0.44353124,
+ "structured": 1.648988,
+ "vector": 0.0960161,
+ "[": 1.0480933,
+ "fred": 0.18456429,
+ "]": 0.58208746,
+ "escape": 0.49633482,
+ "_": 0.3656942,
+ "sep": 0.3480386,
+ "chip": 0.0075676665,
+ "expression": 0.7525778,
+ "d": 0.22993009,
+ "one": 0.48640424,
+ "column": 0.79969877,
+ "sample": 0.01553975,
+ "cs": 0.9762529,
+ "pull": 0.2430202,
+ "isa": 0.08095917,
+ "collaboration": 0.07573656,
+ "##uation": 0.011899558,
+ "information": 0.10190496,
+ "|": 0.47915882,
+ "da": 0.33661067,
+ "font": 0.015528718,
+ "ass": 0.056676593,
+ "dh": 0.30138975,
+ "##au": 0.06086301,
+ "din": 0.04695056,
+ "anne": 0.15106405,
+ "retrieved": 0.3747769,
+ "language": 0.18602125,
+ "source": 0.7141573,
+ "specifications": 0.5243915,
+ "ds": 0.9249665,
+ "apache": 0.54651415,
+ "##ak": 0.4004868,
+ "results": 0.24447274,
+ "ed": 0.6697963,
+ "which": 0.118397646,
+ "chess": 0.28434747,
+ "patterns": 1.420576,
+ "expressions": 0.54940945,
+ "sha": 0.35631925,
+ "discrete": 1.929769,
+ "extract": 1.5959873,
+ "geometric": 0.19773076,
+ "useful": 0.53476244,
+ "formats": 0.17827052,
+ "string": 1.2865301,
+ "import": 0.6102876,
+ "interface": 0.39220753,
+ "##son": 0.085394576,
+ "remove": 0.13464753,
+ "wave": 0.1225869,
+ "sid": 0.5292177,
+ "mono": 1.0538917,
+ "linux": 0.09049449,
+ "class": 0.4931911,
+ "mask": 0.095570154,
+ "cipher": 0.25824046,
+ "digital": 0.10828579,
+ "specification": 0.5552297,
+ "##un": 0.1930212,
+ "gr": 2.0822227,
+ "motifs": 0.4901425,
+ "syntax": 1.1758864,
+ "merger": 0.25514033,
+ "mark": 0.05238864,
+ "software": 0.5488846,
+ "bin": 0.005690091,
+ "processors": 0.17102394,
+ "during": 0.14651205,
+ "program": 0.06277895,
+ "peg": 0.3566718,
+ "enable": 0.38849467,
+ "##space": 1.2364932,
+ "text": 0.33245164,
+ "manipulation": 0.25293797,
+ "algorithm": 0.81996495,
+ "method": 0.0678014,
+ "gene": 0.33787262,
+ "specify": 0.34062526,
+ "index": 0.37857297,
+ "is": 0.20163913,
+ "extraction": 0.6960222,
+ "matches": 0.5681309,
+ "script": 0.36205918,
+ "anal": 0.14120269,
+ "analyze": 0.045292083,
+ "doc": 0.18079495,
+ "style": 0.74993867,
+ "math": 0.3760887,
+ "encoded": 0.25110707,
+ "server": 0.14928839,
+ "log": 0.10416605,
+ "columns": 0.96987027,
+ "against": 0.77398574,
+ "pattern": 1.4183229,
+ "irregular": 0.23633221,
+ "sequences": 0.22772138,
+ "specified": 0.11484522,
+ "##arat": 0.7583382,
+ "computer": 0.17212157,
+ "file": 0.4736181,
+ "tom": 0.13707891,
+ "composed": 0.062417604,
+ "web": 0.058642384,
+ "ability": 0.23996767,
+ "##gr": 0.094889626,
+ "copy": 0.015455357,
+ "regular": 1.1909089,
+ "editor": 0.72940683,
+ "include": 0.4887246,
+ "mat": 0.09941621,
+ "consolidation": 0.120936625,
+ "excel": 0.23411223,
+ "framework": 0.20197017,
+ "machine": 0.1271206,
+ "fetch": 0.2717844,
+ "organized": 0.14495897,
+ "report": 0.09809279,
+ "cod": 0.22407275,
+ "discreet": 0.16024147,
+ "checkpoint": 0.15535012,
+ "esq": 1.7517205,
+ "data": 1.109326,
+ "dice": 0.44545415,
+ "forensic": 0.12372876,
+ "spec": 1.4936427,
+ "space": 0.64952797,
+ "protocol": 0.0038993529,
+ "tab": 0.21460155,
+ "continuous": 0.7248528,
+ "html": 0.47057724,
+ "lap": 0.45322314,
+ "from": 0.13551205,
+ "tag": 0.85259557,
+ "buffer": 0.040760156,
+ "combine": 0.44895032,
+ "format": 0.92594445,
+ "capture": 0.3798914,
+ "archive": 0.55297023,
+ "sort": 0.24400969,
+ "tool": 0.19341367,
+ "tutor": 0.3945536,
+ "core": 0.23867056,
+ "sequence": 0.12966561,
+ "synth": 0.03892834,
+ "header": 0.87424463,
+ "retrieve": 0.6075485,
+ "dash": 0.22677161,
+ "##ada": 0.019427964,
+ "code": 0.19796619,
+ "differentiation": 0.041007563,
+ "boo": 0.032133847,
+ "bot": 0.22447656,
+ "blend": 0.08235727,
+ "cad": 0.20288238,
+ "exile": 0.36382672,
+ "gil": 0.083301194,
+ "sql": 0.32530928,
+ "database": 0.41744763,
+ "lang": 0.10168229,
+ "match": 0.9397973,
+ "command": 0.40186042,
+ "puppet": 0.0750497,
+ "serial": 0.4445872
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-grok]]\n=== `GROK`\n\n`GROK` enables you to extract structured data out of a string. `GROK` matches\nthe string against patterns, based on regular expressions, and extracts the\nspecified patterns as columns.\n\nRefer to the <> for the syntax for\nof grok patterns.\n\nFor example:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/grok.csv-spec[tag=grok]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/grok.csv-spec[tag=grok-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "f2f12166-dcfd-49c1-88fa-7aaf4f0695fd",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/processing_commands/keep.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.38956317,
+ "##d": 0.81381947,
+ "maintain": 0.7347782,
+ "fin": 0.07787361,
+ "styled": 1.0046331,
+ "##frame": 0.14337252,
+ "alphabet": 0.098262876,
+ "##l": 1.4151571,
+ "##ard": 1.2686809,
+ "java": 0.76426554,
+ "##s": 0.33633256,
+ "styling": 0.532308,
+ "len": 0.15694483,
+ "##v": 1.2931651,
+ "jan": 0.22315633,
+ "xml": 0.040351953,
+ "retrieval": 0.001966211,
+ "merge": 1.5105885,
+ "record": 0.103949904,
+ "rank": 0.24661304,
+ "limitations": 0.06496931,
+ "databases": 0.36562285,
+ "merging": 0.06109697,
+ "%": 0.49682352,
+ "'": 0.2070135,
+ "*": 0.24092242,
+ "inspired": 0.06748734,
+ "analysis": 0.37991104,
+ "-": 0.33773538,
+ "tags": 0.31241125,
+ "styles": 3.6304558E-4,
+ "=": 0.38586104,
+ "##ter": 0.12818085,
+ "statistical": 0.17177124,
+ "ordering": 0.34382376,
+ "document": 0.43343168,
+ "mid": 0.04358395,
+ "matrix": 0.2495593,
+ "virus": 0.38512844,
+ "matching": 0.4697336,
+ "result": 0.7297395,
+ "remember": 0.26549563,
+ "search": 0.02115717,
+ "by": 0.2616277,
+ "[": 0.6202564,
+ "fred": 0.3599281,
+ "after": 0.31903088,
+ "]": 0.0013116337,
+ "limits": 0.52859825,
+ "_": 0.31501582,
+ "sep": 0.23479304,
+ "cc": 0.16110902,
+ "ss": 0.0026430695,
+ "chip": 0.12401902,
+ "contain": 0.008220646,
+ "d": 0.36956826,
+ "keeping": 1.0478374,
+ "column": 1.5198401,
+ "h": 0.9335915,
+ "sample": 0.171392,
+ "stay": 0.5550323,
+ "cs": 1.45104,
+ "v": 0.32018203,
+ "collaboration": 0.13518919,
+ "##uation": 0.022732731,
+ "describe": 0.15735812,
+ "returned": 1.1352192,
+ "|": 0.2783521,
+ "da": 0.23389365,
+ "chart": 0.17999819,
+ "dd": 0.3536143,
+ "ass": 0.30213168,
+ "calculation": 0.036210243,
+ "##wil": 1.3866583,
+ "dh": 0.48613808,
+ "documents": 0.048102215,
+ "din": 0.21110757,
+ "anne": 0.54039735,
+ "retrieved": 0.19591981,
+ "source": 1.1215926,
+ "accounting": 0.1471393,
+ "specifications": 0.5620626,
+ "ds": 1.1771187,
+ "apache": 0.5033155,
+ "separation": 0.5184689,
+ "ren": 0.08562013,
+ "results": 0.24139842,
+ "commands": 0.0528113,
+ "ed": 0.6610812,
+ "eh": 0.06573323,
+ "##card": 0.98138803,
+ "query": 0.9364201,
+ "patterns": 0.8466225,
+ "batch": 0.38027704,
+ "eric": 0.054923832,
+ "list": 0.50245214,
+ "sha": 0.32900584,
+ "discrete": 1.935974,
+ "name": 0.576895,
+ "fields": 0.2687613,
+ "useful": 0.2823889,
+ "parameters": 0.046068788,
+ "que": 0.19297913,
+ "cards": 0.3075139,
+ "formats": 0.1821063,
+ "import": 0.29618946,
+ "sources": 0.19711047,
+ "inventory": 0.33470747,
+ "interface": 0.2362811,
+ "##dc": 0.92025816,
+ "sid": 0.7179404,
+ "mono": 0.9542105,
+ "button": 0.009022656,
+ "class": 0.1673085,
+ "citation": 0.05863429,
+ "separated": 0.936351,
+ "specification": 0.72502345,
+ "kept": 0.52202594,
+ "restricted": 0.73553425,
+ "colon": 0.09979141,
+ "syntax": 0.5672187,
+ "pub": 0.15863647,
+ "merger": 0.19543989,
+ "##mas": 0.4803814,
+ "fancy": 0.18773285,
+ "select": 0.014528086,
+ "##ble": 0.662848,
+ "gage": 0.11387829,
+ "during": 0.019537041,
+ "peg": 0.45669493,
+ "##dou": 0.80530727,
+ "##space": 0.96544814,
+ "narrow": 0.4520288,
+ "jerry": 0.57208186,
+ "text": 0.09027886,
+ "enter": 0.0017008614,
+ "flow": 0.2683902,
+ "order": 1.2939037,
+ "algorithm": 0.580967,
+ "reduce": 0.19145274,
+ "method": 0.040344737,
+ "gene": 0.27813053,
+ "##list": 0.26205543,
+ "specify": 1.2868127,
+ "index": 0.72801894,
+ "limiting": 0.66250175,
+ "script": 0.2745202,
+ "##ards": 0.33857924,
+ "determined": 0.26340777,
+ "restriction": 0.76391864,
+ "doc": 1.1396606,
+ "style": 0.8219233,
+ "orders": 0.24542814,
+ "math": 0.3308281,
+ "jude": 0.3155987,
+ "card": 0.7089407,
+ "server": 0.3059303,
+ "columns": 1.4357505,
+ "pattern": 1.414833,
+ "retain": 0.34508502,
+ "restrict": 0.24418536,
+ "specified": 0.53192276,
+ "##arat": 0.62555057,
+ "restricting": 0.15711457,
+ "file": 0.6634339,
+ "eddy": 0.077391244,
+ "table": 0.5335059,
+ "include": 0.8982344,
+ "editor": 0.5540533,
+ "display": 0.4260229,
+ "consolidation": 0.33472717,
+ "excel": 0.82087374,
+ "names": 0.93439484,
+ "report": 0.5127887,
+ "organized": 0.037847567,
+ "cod": 0.04743919,
+ "return": 0.96469116,
+ "discreet": 0.18057366,
+ "com": 0.5603052,
+ "checkpoint": 0.43965006,
+ "esq": 1.9378221,
+ "argument": 0.14984187,
+ "data": 0.6627495,
+ "dice": 0.29657093,
+ "spec": 1.6799191,
+ "space": 0.39210403,
+ "translate": 0.16549167,
+ "split": 0.08943645,
+ "tab": 0.45705622,
+ "find": 0.068906054,
+ "continuous": 0.91063637,
+ "limit": 1.3811736,
+ "html": 0.34865052,
+ "lap": 0.30896136,
+ "tag": 0.7732446,
+ "buffer": 0.25703222,
+ "keeps": 0.5855074,
+ "combine": 0.18354632,
+ "all": 0.28017464,
+ "including": 0.30120876,
+ "format": 0.9748898,
+ "restrictions": 0.016836213,
+ "archive": 0.5710319,
+ "sort": 0.35008582,
+ "preserve": 0.17977662,
+ "sequence": 0.6336697,
+ "jamie": 0.437577,
+ "core": 0.28620893,
+ "expand": 0.20546249,
+ "lists": 0.5254316,
+ "keep": 1.7792037,
+ "header": 0.9713121,
+ "retrieve": 0.21994421,
+ "files": 0.04053902,
+ "##ada": 0.117620476,
+ "bot": 0.15373929,
+ "cad": 0.22281648,
+ "gil": 0.440836,
+ "storage": 0.21311264,
+ "error": 0.022844126,
+ "percent": 0.05038285,
+ "sql": 0.6546432,
+ "database": 0.6081517,
+ "array": 0.107467845,
+ "##cards": 0.90588003,
+ "define": 0.48280954,
+ "row": 0.11300837,
+ "##lib": 0.051601887,
+ "included": 0.09413226,
+ "direction": 0.5902886,
+ "##isk": 0.28530848,
+ "##ma": 1.0100708,
+ "determine": 0.17994075,
+ "limited": 0.776257,
+ "match": 0.6207036,
+ "control": 0.16422196,
+ "specific": 0.030980982,
+ "command": 1.3493129,
+ "serial": 0.5272896,
+ "arguments": 0.18122527,
+ "wild": 1.5474871
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-keep]]\n=== `KEEP`\n\nThe `KEEP` command enables you to specify what columns are returned and the\norder in which they are returned.\n\nTo limit the columns that are returned, use a comma-separated list of column\nnames. The columns are returned in the specified order:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=keep]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=keep-result]\n|===\n\nRather than specify each column by name, you can use wildcards to return all\ncolumns with a name that matches a pattern:\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=keepWildcard]\n----\n\nThe asterisk wildcard (`*`) by itself translates to all columns that do not\nmatch the other arguments. This query will first return all columns with a name\nthat starts with an h, followed by all other columns:\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=keepDoubleWildcard]\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "443cfa24-a109-49e3-8e05-91541ecd2ad6",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/processing_commands/limit.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.61534536,
+ "mod": 0.094079964,
+ "##d": 0.5208682,
+ "software": 0.021448912,
+ "allowed": 0.2764822,
+ "gage": 0.12557621,
+ "del": 0.10839372,
+ "fin": 0.018107934,
+ "processors": 0.40553805,
+ "##l": 1.4521854,
+ "resolution": 0.43173385,
+ "setting": 0.14905949,
+ "number": 0.83420724,
+ "java": 0.84939003,
+ "peg": 0.70294404,
+ "##s": 0.06427937,
+ "len": 0.58103836,
+ "##v": 1.1529726,
+ "enable": 0.47117352,
+ "notation": 0.08526476,
+ "jan": 0.07136225,
+ "record": 0.17673008,
+ "narrow": 0.29209328,
+ "curt": 0.10459498,
+ "jerry": 0.18117951,
+ "ten": 0.16663888,
+ "flow": 0.27729675,
+ "10": 0.8534461,
+ "algorithm": 0.3611663,
+ "limitations": 0.08877944,
+ "reduce": 0.40383744,
+ "databases": 0.30241945,
+ "large": 0.12682378,
+ "gene": 0.18119434,
+ "'": 0.6085281,
+ "specify": 0.65577596,
+ "index": 0.7147046,
+ "limiting": 0.9355418,
+ "analysis": 0.22157992,
+ "processor": 0.9133361,
+ "-": 0.21972959,
+ "script": 0.48496965,
+ "tags": 0.6524937,
+ "000": 0.9810712,
+ "million": 0.5689752,
+ "size": 0.56729555,
+ "spectrum": 0.19614635,
+ "restriction": 1.0447285,
+ "processing": 1.7346275,
+ "doc": 1.4503834,
+ "math": 0.25141084,
+ "=": 0.14748096,
+ "server": 0.3562953,
+ "log": 0.26112112,
+ "columns": 0.5556187,
+ "document": 0.8329554,
+ "pattern": 0.023802485,
+ "mid": 0.14366055,
+ "restrict": 0.4993511,
+ "result": 0.23969333,
+ "default": 1.4567063,
+ "search": 0.31246758,
+ "computer": 0.073061414,
+ "restricting": 0.06495568,
+ "file": 0.65971607,
+ "partition": 0.05736279,
+ "[": 0.7739601,
+ "fred": 0.31083047,
+ "]": 0.41354,
+ "limits": 1.0983636,
+ "table": 0.5989583,
+ "_": 0.69737136,
+ "`": 0.92783254,
+ "include": 0.7102455,
+ "editor": 0.61312354,
+ "d": 0.293186,
+ "question": 0.16052102,
+ "max": 0.14858367,
+ "more": 0.5472535,
+ "unlimited": 0.14783187,
+ "display": 0.14959915,
+ "column": 0.51692843,
+ "many": 0.5024146,
+ "sample": 0.2551529,
+ "cs": 1.3241444,
+ "single": 0.9392218,
+ "excel": 0.701287,
+ "bug": 0.02347242,
+ "machine": 0.1319751,
+ "v": 0.018359369,
+ "report": 0.32628018,
+ "maximum": 0.845499,
+ "constraint": 0.4190715,
+ "returned": 0.51305586,
+ "minimum": 0.62661666,
+ "}": 0.3748197,
+ "da": 0.100331135,
+ "return": 0.78270966,
+ "checkpoint": 0.59401613,
+ "esq": 1.9405203,
+ "data": 0.46696335,
+ "documents": 0.26542395,
+ "anne": 0.45333737,
+ "source": 0.65187734,
+ "specifications": 0.67873615,
+ "spec": 1.7433171,
+ "operator": 0.1668781,
+ "protocol": 0.09805323,
+ "apache": 0.6471213,
+ "commander": 0.036809057,
+ "tab": 0.4027318,
+ "continuous": 0.80337685,
+ "limit": 2.1908312,
+ "lap": 0.52263504,
+ "html": 2.3266947E-4,
+ "tag": 0.9879879,
+ "buffer": 0.57884705,
+ "50": 0.025828794,
+ "commands": 0.18653747,
+ "ed": 0.42059135,
+ "par": 0.079522125,
+ "including": 0.3428729,
+ "chess": 0.06347149,
+ "mp": 0.03798013,
+ "eh": 0.024380852,
+ "ms": 0.15737014,
+ "query": 1.3051006,
+ "format": 0.5021904,
+ "count": 0.30460948,
+ "batch": 0.19461861,
+ "archive": 0.15949585,
+ "sort": 0.07911259,
+ "sha": 0.2575453,
+ "discrete": 1.9582982,
+ "core": 0.26619524,
+ "sequence": 0.18068112,
+ "expand": 0.4150217,
+ "fields": 0.33722082,
+ "decimal": 0.17545056,
+ "dash": 0.13882077,
+ "useful": 0.21076176,
+ "option": 0.08240777,
+ "que": 0.67864573,
+ "allow": 0.07107472,
+ "limitation": 0.47298813,
+ "import": 0.088904664,
+ "bot": 0.10624916,
+ "cad": 0.13899122,
+ "link": 0.076160185,
+ "rule": 0.15289152,
+ "gil": 0.33279434,
+ "storage": 0.1258507,
+ "interface": 0.13142553,
+ "inventory": 0.08479153,
+ "error": 0.0058121723,
+ "percent": 0.29286516,
+ "sid": 1.00472,
+ "sql": 0.88613564,
+ "button": 0.049580447,
+ "database": 0.6710806,
+ "total": 0.3512418,
+ "not": 0.1903517,
+ "security": 0.0230331,
+ "linux": 0.33673257,
+ "sorting": 0.25592503,
+ "define": 0.062476847,
+ "row": 1.1265948,
+ "##lib": 0.22906414,
+ "lang": 0.059562225,
+ "value": 0.7516543,
+ "class": 0.4364631,
+ "included": 0.06720772,
+ "process": 0.5530328,
+ "limited": 0.91338086,
+ "multiple": 0.5024031,
+ "length": 0.14708692,
+ "specification": 0.8308728,
+ "control": 0.30452976,
+ "rows": 1.2932835,
+ "command": 1.3776095,
+ "consecutive": 0.30028474,
+ "processed": 0.5656939,
+ "500": 1.589005,
+ "serial": 0.4373,
+ "management": 0.14796472,
+ "restricted": 0.6005065,
+ "syntax": 0.69496083,
+ "window": 0.047883265,
+ "pub": 0.4043511
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-limit]]\n=== `LIMIT`\n\nThe `LIMIT` processing command enables you to limit the number of rows:\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=limit]\n----\n\nIf not specified, `LIMIT` defaults to `500`. A single query will not return\nmore than 10,000 rows, regardless of the `LIMIT` value.\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "7469fa25-2b61-43a4-9827-a6f24ee01d88",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/processing_commands/mv_expand.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "expanding": 0.8376124,
+ "cluster": 0.41514164,
+ "##d": 0.59917676,
+ "styled": 1.2178082,
+ "##frame": 0.07854961,
+ "##l": 1.3209665,
+ "##m": 0.13838987,
+ "resolution": 0.13389854,
+ "java": 0.6334047,
+ "##s": 0.09180223,
+ "styling": 0.64067155,
+ "len": 0.08718503,
+ "##v": 1.2274412,
+ "xml": 0.1682726,
+ "notation": 0.0866527,
+ "jan": 0.036353137,
+ "merge": 1.6126717,
+ "record": 0.104152516,
+ "giant": 0.1212748,
+ "playback": 6.7112574E-5,
+ "addition": 0.16164453,
+ "merging": 0.27876985,
+ "grow": 0.41620034,
+ "%": 0.6642092,
+ "shrink": 0.47294417,
+ "tex": 0.20334376,
+ "module": 0.045096446,
+ "analysis": 0.32525522,
+ "processor": 0.79339474,
+ "-": 0.042307667,
+ "easy": 0.031075517,
+ "tags": 0.5011125,
+ "/": 0.16424511,
+ "extend": 0.5742334,
+ "node": 0.05799396,
+ "miller": 0.18126912,
+ "size": 0.56495774,
+ "processing": 1.6136667,
+ "statistical": 0.12722746,
+ "miscellaneous": 0.09482653,
+ "document": 0.26901212,
+ "mid": 0.21082394,
+ "##pl": 0.6405426,
+ "matrix": 0.28904542,
+ "extended": 0.26963052,
+ "result": 0.8334964,
+ "into": 0.36748308,
+ "sd": 0.016720042,
+ "si": 0.051828627,
+ "vector": 0.31732872,
+ "[": 0.6470376,
+ "fred": 0.36582047,
+ "multiplication": 0.14694676,
+ "]": 0.3872165,
+ "graphic": 0.2457797,
+ "_": 1.2421736,
+ "sep": 0.4455028,
+ "ss": 0.050005883,
+ "slicing": 0.026751451,
+ "chip": 0.083097935,
+ "contain": 0.03924486,
+ "d": 0.18843628,
+ "one": 0.40047035,
+ "column": 0.6127253,
+ "sample": 0.30670026,
+ "cs": 1.2452593,
+ "single": 0.0118629215,
+ "v": 0.94709104,
+ "collaboration": 0.1568904,
+ "##uation": 0.094185755,
+ "maximum": 0.17264119,
+ "|": 0.1301926,
+ "da": 0.25476563,
+ "operation": 0.23238511,
+ "font": 0.2626097,
+ "calculation": 0.062442243,
+ "dd": 0.047569692,
+ "dh": 0.37197128,
+ "separate": 0.029839283,
+ "anne": 0.3838347,
+ "express": 0.033263363,
+ "source": 0.46982965,
+ "specifications": 0.6372571,
+ "operator": 0.24416724,
+ "ds": 1.1801102,
+ "du": 1.1112208,
+ "apache": 0.32110143,
+ "##ting": 0.07861804,
+ "segment": 0.098180324,
+ "results": 0.26271683,
+ "ed": 0.5704286,
+ "batch": 0.44926554,
+ "sha": 0.2668711,
+ "modification": 0.08679272,
+ "discrete": 1.886797,
+ "fields": 1.3693316,
+ "formats": 0.24153766,
+ "memory": 0.059149377,
+ "import": 0.055400345,
+ "mass": 0.21138589,
+ "video": 0.18046707,
+ "interface": 0.26330388,
+ "inventory": 0.13949029,
+ "sid": 0.90753305,
+ "mono": 1.0348517,
+ "button": 0.18902764,
+ "expanded": 0.72751254,
+ "sorting": 0.26517096,
+ "divide": 0.098713785,
+ "class": 0.13150382,
+ "enhance": 0.021886716,
+ "##ue": 0.8330804,
+ "digital": 0.0315581,
+ "multiple": 0.81110406,
+ "length": 0.6103127,
+ "specification": 0.5451163,
+ "expands": 0.43542424,
+ "editing": 0.36637738,
+ "layout": 0.16881518,
+ "syntax": 0.4736051,
+ "window": 0.034724534,
+ "merger": 0.16771825,
+ "fancy": 0.19554901,
+ "software": 0.35217568,
+ "pun": 0.14373405,
+ "processors": 0.22518966,
+ "multi": 1.1605241,
+ "peg": 0.49092263,
+ "##space": 1.079121,
+ "model": 0.25266692,
+ "jerry": 0.17533313,
+ "text": 0.16399838,
+ "per": 0.6387121,
+ "flow": 0.26727504,
+ "algorithm": 0.29985866,
+ "val": 0.012874224,
+ "large": 0.3084149,
+ "gene": 0.25848848,
+ "index": 0.4488209,
+ "##cing": 0.26711333,
+ "script": 0.51940644,
+ "field": 1.1353022,
+ "integration": 0.40202615,
+ "style": 0.90475154,
+ "math": 0.37946993,
+ "bulk": 0.35772967,
+ "##val": 1.271138,
+ "extension": 0.27898046,
+ "columns": 0.4187421,
+ "pattern": 0.12678409,
+ "capacity": 0.11788687,
+ "##arat": 0.72747403,
+ "valid": 2.406546E-4,
+ "file": 0.7428863,
+ "composed": 0.0115129845,
+ "table": 0.044694453,
+ "include": 0.86807036,
+ "editor": 0.84571594,
+ "explore": 0.47698906,
+ "heading": 0.29691753,
+ "display": 0.34484836,
+ "ross": 0.03700161,
+ "consolidation": 0.3006027,
+ "excel": 0.6097758,
+ "overlapping": 0.07600552,
+ "organized": 0.34183517,
+ "report": 0.23040085,
+ "checkpoint": 0.60985565,
+ "esq": 1.8305154,
+ "data": 0.6548355,
+ "dice": 0.2192826,
+ "simple": 1.2673382,
+ "spec": 1.4780085,
+ "space": 0.5009188,
+ "split": 0.2510721,
+ "tab": 0.32090166,
+ "mc": 0.1353462,
+ "continuous": 0.7715747,
+ "limit": 0.56938875,
+ "html": 0.23212165,
+ "tag": 0.89406043,
+ "buffer": 0.3057913,
+ "combine": 0.57976115,
+ "mp": 0.6768034,
+ "including": 0.44954973,
+ "mr": 0.14113748,
+ "format": 1.0467892,
+ "mv": 2.1500943,
+ "archive": 0.36487898,
+ "sort": 0.14675078,
+ "interrupted": 0.061013646,
+ "tool": 0.35633078,
+ "expansion": 1.2591509,
+ "core": 0.4379796,
+ "sequence": 0.20638703,
+ "synth": 0.121641144,
+ "jamie": 0.044881735,
+ "expand": 1.7647634,
+ "unit": 0.20817159,
+ "header": 1.0393194,
+ "files": 0.1563921,
+ "option": 0.114516355,
+ "scala": 0.005561356,
+ "bot": 0.2755618,
+ "blend": 0.22221978,
+ "cad": 0.34836927,
+ "values": 0.22511038,
+ "technique": 0.086250015,
+ "percent": 0.08517017,
+ "sql": 0.08523203,
+ "database": 0.32280082,
+ "total": 0.1805666,
+ "array": 0.23705383,
+ "define": 0.015508412,
+ "##ica": 0.64710754,
+ "alias": 0.11589616,
+ "row": 1.2833264,
+ "##lib": 0.039864887,
+ "value": 0.93680865,
+ "included": 0.13636012,
+ "process": 0.6119544,
+ "limited": 0.07952476,
+ "zoom": 0.40599093,
+ "control": 0.24347158,
+ "rows": 0.8874521,
+ "increase": 0.47382963,
+ "command": 1.3112562,
+ "consecutive": 0.3626658,
+ "processed": 0.58532614,
+ "serial": 0.5504051,
+ "further": 0.31690305,
+ "collapse": 0.51919526
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-mv_expand]]\n=== `MV_EXPAND`\n\nThe `MV_EXPAND` processing command expands multivalued fields into one row per value, duplicating other fields:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/mv_expand.csv-spec[tag=simple]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/mv_expand.csv-spec[tag=simple-result]\n|===\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "9a45764d-f0f1-43c4-9753-264ddac88061",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/processing_commands/rename.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.5459474,
+ "reno": 0.23112893,
+ "named": 0.37363362,
+ "##d": 0.82649803,
+ "gage": 0.25370923,
+ "del": 0.089044586,
+ "during": 0.11337009,
+ "alphabet": 0.06773401,
+ "##l": 1.3958929,
+ "rid": 0.08571237,
+ "##n": 0.50617945,
+ "peg": 0.46561825,
+ "java": 0.3759517,
+ "##s": 0.3081651,
+ "##v": 1.0413893,
+ "notation": 0.23818366,
+ "jan": 0.038950585,
+ "##mu": 0.97674406,
+ "curt": 0.062139705,
+ "jerry": 0.3076821,
+ "flow": 0.22794615,
+ "databases": 0.50102913,
+ "using": 0.057179295,
+ "gene": 0.38504198,
+ "old": 1.2855287,
+ "'": 0.09187542,
+ "index": 0.4655306,
+ "analysis": 0.14459097,
+ "-": 0.17713898,
+ "script": 0.51018596,
+ "tags": 0.5657652,
+ "as": 0.11515018,
+ "##ns": 0.9192253,
+ "following": 0.24341933,
+ "domain": 0.2276178,
+ "doc": 1.1101732,
+ "math": 0.10414983,
+ "<": 0.1639057,
+ "server": 0.344007,
+ "statistical": 0.015747594,
+ "miscellaneous": 0.20876387,
+ "columns": 1.3452408,
+ "document": 0.41810593,
+ "virus": 0.42240274,
+ "two": 0.0062009557,
+ "file": 0.65526783,
+ "partition": 0.026226014,
+ "nickname": 0.49584028,
+ "[": 0.52535135,
+ "copy": 0.48989812,
+ "fred": 0.2831297,
+ "]": 0.05573616,
+ "table": 0.6169327,
+ "_": 0.44638932,
+ "include": 0.9622869,
+ "editor": 0.7373826,
+ "expression": 0.06857619,
+ "d": 0.27565265,
+ "change": 0.9097291,
+ "display": 0.3792891,
+ "column": 1.6786637,
+ "replaced": 0.7682989,
+ "abbreviation": 0.11062228,
+ "sample": 0.07324158,
+ "cs": 1.3185211,
+ "excel": 0.57371396,
+ "single": 0.15844654,
+ "names": 0.8321614,
+ "v": 0.3183104,
+ "report": 0.50507605,
+ "clan": 0.118538484,
+ "cod": 0.26024106,
+ "da": 0.42116302,
+ "chart": 0.062548295,
+ "checkpoint": 0.30433008,
+ "ass": 0.23321308,
+ "esq": 1.8662935,
+ "data": 0.5675793,
+ "separate": 0.275029,
+ "documents": 0.15307207,
+ "use": 0.3009607,
+ "replace": 0.9404449,
+ "dice": 0.4381386,
+ "din": 0.26504332,
+ "anne": 0.45230103,
+ "source": 1.260775,
+ "specifications": 0.6430097,
+ "spec": 1.7382015,
+ "operator": 0.0024610253,
+ "ref": 0.010131716,
+ "apache": 0.31139946,
+ "split": 0.009209415,
+ "tab": 0.6035576,
+ "separation": 0.035324927,
+ "continuous": 0.93306476,
+ "##ip": 0.7834969,
+ "create": 0.0629303,
+ "ren": 2.0379667,
+ "lap": 0.45259967,
+ "html": 0.104574904,
+ "tag": 0.9160357,
+ "different": 0.0357307,
+ "commands": 0.1417855,
+ "ed": 0.51603603,
+ "alter": 0.28517953,
+ "new": 1.0828545,
+ "including": 0.50552565,
+ "already": 0.19783933,
+ "##ame": 1.4450022,
+ "rey": 0.20915978,
+ "format": 0.60750425,
+ "batch": 0.47955388,
+ "mu": 0.37160495,
+ "eric": 0.15983951,
+ "archive": 0.40896866,
+ "sort": 0.21551527,
+ "replacing": 0.13915989,
+ "duplicate": 0.084327616,
+ "sha": 0.28576866,
+ "tool": 0.0014860312,
+ "revision": 0.16759233,
+ "discrete": 1.9465406,
+ "core": 0.35444078,
+ "jamie": 0.29105642,
+ "sequence": 0.14984156,
+ "disk": 0.15950449,
+ "name": 0.91972846,
+ "files": 0.058926538,
+ "fields": 0.1362066,
+ "replacement": 0.31608886,
+ "changed": 0.1648832,
+ "##ada": 0.13638395,
+ "differentiation": 0.27165756,
+ "code": 0.1271501,
+ "import": 0.29199257,
+ "sources": 0.22396109,
+ "bot": 0.27400187,
+ "cad": 0.3829245,
+ "changes": 0.17379466,
+ "##le": 0.764567,
+ "gil": 0.366532,
+ "storage": 0.16024055,
+ "interface": 0.2005155,
+ "inventory": 0.024859352,
+ "remove": 0.19263703,
+ "redundant": 0.14800975,
+ "sid": 0.8477439,
+ "sql": 0.56034535,
+ "button": 0.059007116,
+ "database": 0.6493694,
+ "synonym": 0.25815,
+ "##zone": 0.02300642,
+ "alias": 0.33263108,
+ "sheet": 0.18133147,
+ "row": 0.2453498,
+ "##lib": 0.043524485,
+ "said": 0.13355553,
+ "included": 0.30496183,
+ "class": 0.25668588,
+ "##col": 0.90813434,
+ "digital": 0.0076953154,
+ "previous": 0.26754683,
+ "citation": 0.10762618,
+ "custom": 0.21414283,
+ "multiple": 0.79123616,
+ "##um": 0.77667594,
+ "specification": 0.72496086,
+ "control": 0.20476054,
+ "label": 0.050255887,
+ "command": 1.123696,
+ "editing": 0.03343735,
+ "existing": 0.31321198,
+ "serial": 0.41764802,
+ "##lt": 0.9554923,
+ "colon": 0.2367689,
+ "clone": 0.025527287,
+ "syntax": 1.3757224,
+ "step": 0.08697852,
+ "pub": 0.17468858,
+ "renamed": 0.9781751
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-rename]]\n=== `RENAME`\n\nUse `RENAME` to rename a column using the following syntax:\n\n[source,esql]\n----\nRENAME AS \n----\n\nFor example:\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=rename]\n----\n\nIf a column with the new name already exists, it will be replaced by the new\ncolumn.\n\nMultiple columns can be renamed with a single `RENAME` command:\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=renameMultipleColumns]\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "8707f4ac-6d69-46c1-884c-df9b3f3da1f2",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/processing_commands/sort.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "##breaker": 0.7748497,
+ "cluster": 0.39967844,
+ "##c": 1.166328,
+ "mod": 0.07054174,
+ "select": 0.019422118,
+ "##d": 0.7655706,
+ "software": 0.27176476,
+ "gage": 0.050817344,
+ "fin": 0.1938433,
+ "alphabet": 0.26038843,
+ "during": 0.03720194,
+ "##l": 1.3651594,
+ "##rst": 1.1441717,
+ "setting": 0.2558619,
+ "division": 0.32596502,
+ "des": 0.89364046,
+ "java": 0.8922142,
+ "peg": 0.5273618,
+ "##s": 0.08749156,
+ "##v": 1.2793145,
+ "notation": 0.2535173,
+ "jan": 0.11558346,
+ "merge": 0.06075151,
+ "rank": 0.6249647,
+ "jerry": 0.34293517,
+ "flow": 0.1750767,
+ "order": 1.2679188,
+ "algorithm": 0.80058956,
+ "databases": 0.06822651,
+ "using": 0.057728104,
+ "gene": 0.15042038,
+ "tex": 0.040350005,
+ "'": 0.13444622,
+ "specify": 0.10066373,
+ "index": 0.72036576,
+ "analysis": 0.3844083,
+ "-": 0.14883414,
+ "script": 0.12565349,
+ "tags": 0.31724766,
+ "explicit": 0.9990817,
+ "sorted": 0.91464984,
+ "as": 0.57107604,
+ "##fi": 0.07641599,
+ "field": 0.9789542,
+ "provide": 0.26725706,
+ "##nu": 1.1100262,
+ "grade": 0.25726274,
+ "analyze": 0.0820495,
+ "doc": 1.355852,
+ "orders": 0.255141,
+ "math": 0.5768366,
+ "jude": 0.0982109,
+ "server": 0.14015265,
+ "statistical": 0.104013294,
+ "miscellaneous": 0.20860025,
+ "ordering": 0.65452874,
+ "columns": 0.4955663,
+ "document": 0.6743652,
+ "pattern": 0.13370812,
+ "students": 9.029602E-4,
+ "##des": 1.1082132,
+ "virus": 0.30489215,
+ "two": 0.16150387,
+ "matching": 0.2747747,
+ "default": 1.1901028,
+ "computer": 0.07888964,
+ "search": 0.059125107,
+ "file": 0.61122906,
+ "same": 0.07237426,
+ "peter": 0.012880814,
+ "ian": 0.08063436,
+ "fred": 0.28844714,
+ "[": 0.22891699,
+ "after": 0.18380207,
+ "equality": 0.384075,
+ "key": 0.7150452,
+ "table": 0.5215022,
+ "_": 0.13236898,
+ "cc": 0.01649962,
+ "editor": 0.65692246,
+ "include": 0.41613287,
+ "mat": 0.13839443,
+ "expression": 0.839119,
+ "set": 0.37146106,
+ "d": 0.08257517,
+ "break": 0.3000789,
+ "heading": 0.1325135,
+ "display": 0.3865475,
+ "column": 0.60833085,
+ "ascending": 1.1317788,
+ "##lls": 1.2108829,
+ "sample": 0.11806782,
+ "cs": 1.400958,
+ "excel": 0.89373934,
+ "v": 0.41385883,
+ "report": 0.49037123,
+ "da": 0.36527947,
+ "chart": 0.18273795,
+ "operation": 0.016181447,
+ "checkpoint": 0.21983914,
+ "calculation": 0.10330506,
+ "ass": 0.012957424,
+ "esq": 1.8761836,
+ "breaker": 1.2596112,
+ "data": 0.55792063,
+ "documents": 0.10476171,
+ "anne": 0.5495565,
+ "source": 0.77295125,
+ "accounting": 0.11051576,
+ "specifications": 0.5358192,
+ "spec": 1.6253959,
+ "descending": 0.8511081,
+ "dr": 0.031042928,
+ "arrangement": 0.1265961,
+ "cloud": 0.019194923,
+ "tie": 1.5212679,
+ "barr": 0.22678073,
+ "apache": 0.30323455,
+ "tab": 0.4221139,
+ "continuous": 0.8311949,
+ "create": 0.06309103,
+ "html": 0.36229852,
+ "implement": 0.35533443,
+ "lap": 0.050287176,
+ "breakers": 1.0976702,
+ "tag": 0.70655036,
+ "buffer": 0.12191481,
+ "commands": 0.0813496,
+ "ed": 0.5772948,
+ "treated": 0.23003352,
+ "chess": 0.22287686,
+ "eh": 0.16466856,
+ "last": 0.041380614,
+ "level": 0.02080475,
+ "query": 0.081677474,
+ "format": 0.6072912,
+ "batch": 0.28261018,
+ "eric": 0.14510973,
+ "archive": 0.40694523,
+ "sort": 1.8630756,
+ "expressions": 0.5166809,
+ "sha": 0.33345518,
+ "tool": 0.15685606,
+ "tutor": 0.39414218,
+ "discrete": 1.8728067,
+ "sequence": 0.41954303,
+ "core": 0.2176968,
+ "jamie": 0.20597634,
+ "null": 1.1862127,
+ "files": 0.035707813,
+ "fields": 1.2751814,
+ "import": 0.27829552,
+ "student": 0.021514485,
+ "keys": 0.43845755,
+ "bot": 0.112831935,
+ "cad": 0.4867461,
+ "values": 0.47827074,
+ "additional": 0.07375772,
+ "gil": 0.15803927,
+ "interface": 0.32831302,
+ "inventory": 0.26267466,
+ "##tie": 1.2770468,
+ "sql": 0.57953185,
+ "sid": 0.5399534,
+ "button": 0.029413745,
+ "database": 0.5298848,
+ "array": 0.0312723,
+ "sorting": 1.0810521,
+ "sheet": 0.2409598,
+ "row": 0.8489526,
+ "##lib": 0.12480986,
+ "said": 0.034715895,
+ "class": 0.50374013,
+ "value": 0.50338084,
+ "direction": 0.21487957,
+ "digital": 0.20933674,
+ "multiple": 0.45674342,
+ "length": 0.05285076,
+ "specification": 0.6826871,
+ "control": 0.16410573,
+ "rows": 0.9881161,
+ "command": 1.1340616,
+ "##ec": 0.031451367,
+ "equal": 1.0440563,
+ "##ll": 0.8429562,
+ "serial": 0.28026292,
+ "management": 0.027527262,
+ "syntax": 0.69180626,
+ "step": 0.017263737,
+ "pub": 0.29449925
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-sort]]\n=== `SORT`\nUse the `SORT` command to sort rows on one or more fields:\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=sort]\n----\n\nThe default sort order is ascending. Set an explicit sort order using `ASC` or\n`DESC`:\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=sortDesc]\n----\n\nTwo rows with the same sort key are considered equal. You can provide additional\nsort expressions to act as tie breakers:\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=sortTie]\n----\n\n[discrete]\n==== `null` values\nBy default, `null` values are treated as being larger than any other value. With\nan ascending sort order, `null` values are sorted last, and with a descending\nsort order, `null` values are sorted first. You can change that by providing\n`NULLS FIRST` or `NULLS LAST`:\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=sortNullsFirst]\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "b7de66ea-5aa1-45e8-98a7-5ee31b9760b5",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/processing_commands/stats.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.6494305,
+ "##c": 0.2757776,
+ "##d": 0.8340523,
+ "functions": 0.62106454,
+ "allowed": 0.11751438,
+ "##g": 0.7590667,
+ "styled": 1.0281944,
+ "##frame": 0.29469255,
+ "##l": 1.4138906,
+ "java": 0.9043002,
+ "##s": 0.21974997,
+ "styling": 0.44468915,
+ "dev": 0.072939515,
+ "stats": 1.6400722,
+ "##v": 1.1373155,
+ "jan": 0.025721796,
+ "merge": 1.425162,
+ "##mu": 0.84567606,
+ "rank": 0.25925076,
+ "calculate": 0.8862706,
+ "databases": 0.1947653,
+ "using": 0.081572,
+ "grouped": 1.3077351,
+ "##roup": 0.25343922,
+ "%": 0.14297478,
+ "ag": 1.2196203,
+ "tex": 0.19210586,
+ "'": 0.1695403,
+ "league": 0.09451194,
+ "optional": 0.12797056,
+ "analysis": 0.5957739,
+ "-": 0.16531152,
+ "tags": 0.30551556,
+ "as": 0.19051082,
+ "omitted": 0.5022946,
+ "calculations": 0.20077543,
+ "statistical": 0.7232803,
+ "##lev": 0.75817704,
+ "miscellaneous": 0.045029327,
+ "document": 0.2627657,
+ "sum": 0.22170208,
+ "matrix": 0.35391024,
+ "virus": 0.049735058,
+ "long": 0.658461,
+ "result": 0.6861433,
+ "##or": 0.0919536,
+ "si": 0.25151876,
+ "by": 1.5170761,
+ "[": 0.5402785,
+ "fred": 0.3788118,
+ "multiplication": 0.036966573,
+ "graphic": 0.08869687,
+ "_": 0.3336534,
+ "sep": 0.30279908,
+ "stat": 1.0417084,
+ "contain": 0.13040075,
+ "d": 0.1290097,
+ "joined": 0.40944687,
+ "aggregator": 0.06879989,
+ "column": 0.6944807,
+ "possible": 0.5438852,
+ "sample": 0.22321373,
+ "cs": 1.3948392,
+ "v": 0.14952616,
+ "stan": 0.06995191,
+ "combined": 0.02185954,
+ "|": 0.26232865,
+ "##ues": 0.6359235,
+ "chart": 0.44744015,
+ "da": 0.27877274,
+ "supported": 0.5502364,
+ "font": 0.013307209,
+ "calculation": 1.1168345,
+ "ass": 0.4262415,
+ "dd": 0.27324274,
+ "dh": 0.36092106,
+ "separate": 0.0865108,
+ "documents": 0.04567755,
+ "anne": 0.3150869,
+ "source": 0.90140355,
+ "accounting": 0.13139868,
+ "specifications": 0.34285218,
+ "ds": 1.0773896,
+ "##cal": 1.0809425,
+ "apache": 0.29597205,
+ "implement": 0.0418251,
+ "##al": 0.2647173,
+ "results": 0.14564523,
+ "weighted": 0.07151198,
+ "export": 0.02399116,
+ "ed": 0.53633386,
+ "par": 0.049487986,
+ "chess": 0.24767669,
+ "eh": 0.03049176,
+ "##by": 0.74039435,
+ "batch": 0.12526947,
+ "list": 0.39555743,
+ "sha": 0.2859469,
+ "##ca": 0.023478942,
+ "discrete": 1.8524997,
+ "measure": 0.13838105,
+ "##word": 0.53406453,
+ "fields": 0.8277867,
+ "support": 0.1805033,
+ "formats": 0.49971142,
+ "import": 0.3762433,
+ "aggregation": 1.581231,
+ "interface": 0.20260128,
+ "inventory": 0.11498709,
+ "sid": 0.5696921,
+ "mono": 0.95890784,
+ "compiled": 0.24337383,
+ "common": 1.0621824,
+ "##ci": 1.1032032,
+ "missing": 0.40155792,
+ "##cm": 0.33759156,
+ "gb": 0.010273551,
+ "class": 0.33176002,
+ "lump": 0.22321317,
+ "over": 0.15726604,
+ "##ue": 0.07012718,
+ "multiple": 0.99995947,
+ "specification": 0.4021117,
+ "with": 0.25548488,
+ "##with": 0.92426836,
+ "syntax": 0.57177186,
+ "formula": 0.1709104,
+ "family": 0.18146332,
+ "pub": 0.13430782,
+ "fancy": 0.21826613,
+ "software": 0.22804599,
+ "gage": 0.2847602,
+ "whole": 0.012160095,
+ "##group": 1.0254326,
+ "during": 0.1718611,
+ "entire": 0.03377152,
+ "multi": 0.45408243,
+ "output": 0.6863509,
+ "##out": 0.46520194,
+ "tables": 0.45043164,
+ "compatible": 0.13688298,
+ "peg": 0.5928742,
+ "##space": 1.2259375,
+ "jerry": 0.3232447,
+ "text": 0.13388821,
+ "join": 0.0031114046,
+ "manipulation": 0.09809981,
+ "algorithm": 0.5840659,
+ "gene": 0.07816867,
+ "index": 0.585784,
+ "grouping": 1.1348697,
+ "script": 0.18480432,
+ "field": 0.49217594,
+ "analyze": 0.07394075,
+ "following": 0.0608537,
+ "integration": 0.45449242,
+ "doc": 1.0149889,
+ "style": 0.7718667,
+ "math": 0.6559268,
+ "columns": 0.6749902,
+ "pattern": 0.025030272,
+ "##arat": 0.65769607,
+ "file": 0.28441396,
+ "composed": 0.14540602,
+ "table": 1.1060685,
+ "include": 0.78087026,
+ "editor": 0.61434704,
+ "mat": 0.17401636,
+ "heading": 0.13124323,
+ "clustered": 0.3712809,
+ "display": 0.30257502,
+ "##id": 0.5208598,
+ "consolidation": 0.37695718,
+ "computation": 0.032502726,
+ "excel": 0.79683447,
+ "report": 0.27252954,
+ "organized": 0.2690848,
+ "cod": 0.07825554,
+ "statistics": 1.2191104,
+ "checkpoint": 0.2550559,
+ "esq": 1.8608004,
+ "panda": 0.07483369,
+ "data": 0.883478,
+ "use": 0.16012883,
+ "dice": 0.23107037,
+ "spec": 1.5207506,
+ "space": 0.45973313,
+ "tab": 0.5199376,
+ "function": 0.8984785,
+ "continuous": 0.8336567,
+ "##ip": 0.628176,
+ "poole": 0.007409236,
+ "html": 0.39986834,
+ "lap": 0.1163047,
+ "dax": 0.05792714,
+ "tag": 0.78085685,
+ "buffer": 0.26368952,
+ "group": 1.3582047,
+ "##ult": 0.8143202,
+ "including": 0.231061,
+ "format": 1.1147479,
+ "##ido": 1.3445141,
+ "archive": 0.18875535,
+ "sort": 0.22925581,
+ "tool": 0.022623302,
+ "sequence": 0.40340233,
+ "jamie": 0.37526858,
+ "core": 0.25460717,
+ "unit": 0.11282235,
+ "lists": 0.3212293,
+ "##ida": 0.2813049,
+ "header": 0.81062585,
+ "files": 0.068315804,
+ "##ada": 0.18470116,
+ "differentiation": 0.099527486,
+ "values": 0.8965736,
+ "cad": 0.3818054,
+ "according": 0.3650853,
+ "mixed": 0.14220531,
+ "gil": 0.22094426,
+ "aggregate": 1.3346772,
+ "sql": 0.65864426,
+ "can": 0.08510317,
+ "database": 0.5850817,
+ "predict": 0.0011773328,
+ "sheet": 0.1374628,
+ "row": 1.1061741,
+ "##lib": 0.16130443,
+ "value": 0.79536164,
+ "included": 0.14216746,
+ "__": 0.30862996,
+ "equation": 0.41415945,
+ "groups": 0.8703368,
+ "harold": 0.019843396,
+ "rows": 1.0777535,
+ "families": 0.3806745,
+ "command": 0.039947018,
+ "serial": 0.38153136,
+ "##lt": 0.6179069,
+ "##set": 1.0045462
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-stats-by]]\n=== `STATS ... BY`\nUse `STATS ... BY` to group rows according to a common value and calculate one\nor more aggregated values over the grouped rows.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=stats]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=stats-result]\n|===\n\nIf `BY` is omitted, the output table contains exactly one row with the\naggregations applied over the entire dataset:\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=statsWithoutBy]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/docs.csv-spec[tag=statsWithoutBy-result]\n|===\n\nIt's possible to calculate multiple values:\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=statsCalcMultipleValues]\n----\n\nIt's also possible to group by multiple values (only supported for long and\nkeyword family fields):\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=statsGroupByMultipleValues]\n----\n\nThe following aggregation functions are supported:\n\ninclude::../functions/aggregation-functions.asciidoc[tag=agg_list]\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "a1af79c2-086d-449c-9030-bd9fa5e0c59d",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/processing_commands/where.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.16856654,
+ "##d": 0.9793579,
+ "functions": 0.6111629,
+ "##nction": 0.54312146,
+ "fin": 0.06350505,
+ "##l": 1.4525478,
+ "evaluation": 0.07894384,
+ "java": 1.0869464,
+ "##v": 1.1468164,
+ "notation": 0.4121964,
+ "jan": 0.0011156532,
+ "understanding": 0.13589852,
+ "hired": 1.5637088,
+ "calculate": 0.52987653,
+ "api": 0.004968558,
+ "##lean": 1.2143668,
+ "using": 0.2643245,
+ "tex": 0.089038156,
+ "'": 0.5333149,
+ "league": 0.11906417,
+ "analysis": 0.33654714,
+ "-": 0.16115518,
+ "##ol": 0.09141151,
+ "tags": 0.4175054,
+ "input": 1.0801917,
+ "contains": 0.22575112,
+ "as": 0.01084411,
+ "##ole": 1.4307044,
+ "calculations": 0.014133126,
+ "conditions": 0.70642674,
+ "=": 0.4060686,
+ "functional": 0.06422482,
+ "document": 0.25049603,
+ "monte": 0.107385404,
+ "sum": 0.07655613,
+ "algebra": 0.014232556,
+ "matrix": 0.28948516,
+ "bo": 0.045743145,
+ "si": 0.17628923,
+ "supports": 0.4180535,
+ "where": 1.8040833,
+ "[": 1.2224773,
+ "fred": 0.21498333,
+ "]": 0.70992327,
+ "_": 0.9154921,
+ "`": 0.7258276,
+ "contain": 0.558885,
+ "expression": 0.25284013,
+ "c": 0.090125374,
+ "d": 0.3176662,
+ "column": 0.40026203,
+ "cs": 1.315553,
+ "v": 0.06117031,
+ "operation": 0.5230058,
+ "da": 0.2513553,
+ "chart": 0.21116355,
+ "}": 0.03340922,
+ "supported": 0.99277705,
+ "calculation": 0.9265029,
+ "ass": 0.2155832,
+ "documents": 0.045456473,
+ "inputs": 0.35332215,
+ "anne": 0.6451005,
+ "language": 0.07573391,
+ "source": 0.7659437,
+ "accounting": 0.22814667,
+ "specifications": 0.3822717,
+ "operator": 1.057465,
+ "apache": 0.27783126,
+ "implement": 0.26240668,
+ "##an": 0.8059136,
+ "generate": 0.23128389,
+ "ed": 0.64403695,
+ "which": 0.3481141,
+ "par": 0.26584822,
+ "chess": 0.37030864,
+ "eh": 0.063130766,
+ "eric": 0.03487409,
+ "list": 0.07698879,
+ "sha": 0.22093374,
+ "discrete": 1.9516788,
+ "fields": 0.7063633,
+ "##bo": 1.2441795,
+ "support": 0.71934396,
+ "useful": 0.04046747,
+ "hire": 1.3736289,
+ "import": 0.00374901,
+ "provided": 1.1837035,
+ "for": 0.0379294,
+ "interface": 0.36988124,
+ "sid": 0.3962262,
+ "sim": 0.5278463,
+ "now": 0.013800795,
+ "class": 0.5725266,
+ "false": 0.027967513,
+ "specification": 0.6286323,
+ "calculating": 0.11341383,
+ "management": 0.119195804,
+ "interpret": 0.19904248,
+ "syntax": 0.8268948,
+ "pub": 0.29557776,
+ "software": 0.3236002,
+ "criteria": 0.31234208,
+ "gage": 0.040541537,
+ "arithmetic": 0.3095316,
+ "construct": 0.24547748,
+ "type": 0.010369118,
+ "division": 0.026177473,
+ "tables": 1.0878533,
+ "compatible": 0.053279214,
+ "peg": 0.49898517,
+ "jerry": 0.34735727,
+ "enter": 0.14507426,
+ "algorithm": 0.53888506,
+ "order": 0.054733794,
+ "still": 1.2496142,
+ "gene": 0.130874,
+ "index": 0.57770705,
+ "script": 0.24200954,
+ "certification": 0.09380682,
+ "field": 0.88722426,
+ "provide": 0.70429593,
+ "analyze": 0.22403446,
+ "integration": 0.22002016,
+ "doc": 0.98121303,
+ "math": 0.86203676,
+ "evaluate": 0.9921567,
+ "##fu": 0.8659603,
+ "columns": 0.3782752,
+ "distribution": 0.29753956,
+ "valid": 0.10717831,
+ "computer": 0.07884513,
+ "file": 0.07611875,
+ "operators": 1.106154,
+ "place": 0.7494406,
+ "table": 1.571772,
+ "include": 0.47111735,
+ "editor": 0.36607388,
+ "mat": 0.07838914,
+ "display": 0.08600776,
+ "produce": 0.09025108,
+ "computation": 0.112798385,
+ "excel": 0.7586729,
+ "framework": 0.00552994,
+ "cod": 0.31766275,
+ "mathematical": 0.12332935,
+ "checkpoint": 0.13026649,
+ "esq": 1.8979062,
+ "data": 0.35895422,
+ "use": 0.34778398,
+ "dice": 0.079986624,
+ "employee": 0.39377806,
+ "spec": 1.5451362,
+ "tab": 0.34904453,
+ "continuous": 1.0402343,
+ "function": 0.80857337,
+ "create": 0.5723915,
+ "html": 0.5206945,
+ "lap": 0.51524895,
+ "dax": 0.1439234,
+ "tag": 0.783317,
+ "all": 0.32498962,
+ "format": 0.46098882,
+ "tutor": 0.28472677,
+ "core": 0.2586201,
+ "jamie": 0.10548512,
+ "condition": 1.4420953,
+ "simplified": 0.9669476,
+ "recruit": 0.39930394,
+ "true": 0.7901866,
+ "virginia": 0.07344031,
+ "job": 0.8530945,
+ "algebraic": 0.066987894,
+ "boo": 0.93444914,
+ "code": 0.3033055,
+ "student": 0.031097936,
+ "values": 0.52246726,
+ "cad": 0.47303167,
+ "gil": 0.22235121,
+ "sql": 0.7417275,
+ "database": 0.4410951,
+ "operations": 0.12004101,
+ "define": 0.15615289,
+ "sheet": 0.2275387,
+ "row": 0.7962214,
+ "##lib": 0.15905587,
+ "said": 0.035643738,
+ "value": 0.54846394,
+ "equation": 0.211515,
+ "harold": 0.06052319,
+ "rows": 0.9454197,
+ "command": 0.013481056,
+ "serial": 0.2711596
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-where]]\n=== `WHERE`\n\nUse `WHERE` to produce a table that contains all the rows from the input table\nfor which the provided condition evaluates to `true`:\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=where]\n----\n\nWhich, if `still_hired` is a boolean field, can be simplified to:\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=whereBoolean]\n----\n\n[discrete]\n==== Operators\n\nRefer to <> for an overview of the supported operators.\n\n[discrete]\n==== Functions\n`WHERE` supports various functions for calculating values. Refer to\n<> for more information.\n\n[source,esql]\n----\ninclude::{esql-specs}/docs.csv-spec[tag=whereFunction]\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "cce2dc5d-712e-45da-abca-81161b5333e4",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/source_commands/from.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "01": 0.25623444,
+ "cluster": 0.07841063,
+ "metadata": 1.1137989,
+ "##d": 0.65128237,
+ "year": 0.10018318,
+ "del": 0.08902965,
+ "##frame": 0.4484524,
+ "##l": 1.4678986,
+ "java": 0.92585486,
+ "jan": 0.07796899,
+ "notation": 0.069879204,
+ "xml": 0.05558225,
+ "record": 0.21888722,
+ "api": 1.6105232,
+ "10": 0.80489784,
+ "databases": 0.5172772,
+ "apr": 0.22984028,
+ "tex": 0.34080425,
+ "'": 0.5257879,
+ "pool": 0.12876625,
+ "analysis": 0.43082857,
+ "-": 0.36715317,
+ "each": 0.1932709,
+ "000": 0.994359,
+ "size": 0.06532292,
+ "<": 0.80598265,
+ "=": 0.3971769,
+ "accessible": 0.08958894,
+ "access": 1.2668852,
+ "document": 1.3373941,
+ "association": 0.13420556,
+ "mid": 0.09943154,
+ "result": 0.2691575,
+ "search": 0.33542997,
+ "si": 0.2248209,
+ "[": 1.079348,
+ "fred": 0.22508574,
+ "workers": 1.0015899,
+ "]": 0.5650538,
+ "_": 0.57549685,
+ "latest": 0.06672855,
+ "`": 1.0934856,
+ "chip": 0.040992916,
+ "c": 0.1773205,
+ "expression": 0.052035175,
+ "d": 0.4608992,
+ "column": 1.0254056,
+ "staff": 0.032994658,
+ "many": 0.5597448,
+ "people": 0.045760114,
+ "##00": 0.0028166405,
+ "##01": 0.9070468,
+ "indices": 1.203572,
+ "series": 0.8279707,
+ "maximum": 0.5170556,
+ "timeline": 0.08829173,
+ "describe": 0.104655646,
+ "returned": 0.5815631,
+ "corresponds": 0.5438601,
+ "da": 0.5382873,
+ "chart": 0.006263981,
+ "db": 0.09402614,
+ "represent": 0.5242913,
+ "calculation": 0.23368739,
+ "documents": 1.3147523,
+ "dj": 0.07239699,
+ "anne": 0.52496827,
+ "retrieved": 0.18320137,
+ "language": 0.039211392,
+ "source": 1.9360642,
+ "accounting": 0.5077436,
+ "research": 0.0020203434,
+ "ata": 0.20934467,
+ "view": 0.42870525,
+ "apache": 0.61002916,
+ "separation": 0.15204322,
+ "up": 0.5791589,
+ "commands": 0.3307334,
+ "ed": 0.5315644,
+ "par": 0.24745648,
+ "peoples": 0.051631887,
+ "oracle": 0.0031652371,
+ "##card": 0.57476693,
+ "query": 0.8837396,
+ "eric": 0.121062316,
+ "list": 0.57904065,
+ "discrete": 1.9084196,
+ "colleagues": 0.08371494,
+ "name": 0.26070216,
+ "employees": 1.4011438,
+ "fields": 0.9297152,
+ "useful": 0.59072,
+ "que": 0.36538395,
+ "memory": 0.25933135,
+ "cards": 0.06506951,
+ "sources": 0.72405964,
+ "import": 0.36625573,
+ "destination": 0.013944226,
+ "interface": 0.23018874,
+ "inventory": 0.226928,
+ "representation": 0.4484381,
+ "sid": 0.67895174,
+ "yesterday": 0.12374182,
+ "compiled": 0.13348606,
+ "terminology": 0.0051303403,
+ "now": 0.51820683,
+ "linux": 0.0797457,
+ "class": 0.43959838,
+ "citation": 0.14549033,
+ "multiple": 0.67563295,
+ "length": 0.021690877,
+ "separated": 0.69979376,
+ "directive": 0.99028623,
+ "target": 0.39743224,
+ "##form": 0.20179649,
+ "refer": 0.23822914,
+ "management": 0.14424986,
+ "500": 0.13555713,
+ "colon": 0.1374579,
+ "syntax": 0.8361531,
+ "time": 0.9888667,
+ "articles": 0.36001858,
+ "##mas": 0.29714853,
+ "named": 0.0449426,
+ "software": 0.21129355,
+ "pun": 0.08160134,
+ "accessed": 1.026026,
+ "number": 0.05427051,
+ "tables": 0.9716736,
+ "peg": 0.50275075,
+ "enable": 0.14876275,
+ "jerry": 0.5375529,
+ "enter": 0.35529196,
+ "id": 0.16751692,
+ "text": 0.0041609146,
+ "##es": 0.3813841,
+ "flow": 0.33825272,
+ "algorithm": 0.03469874,
+ "indexed": 0.35772252,
+ "gene": 0.12636982,
+ "streams": 1.2192546,
+ "index": 1.446342,
+ "dates": 0.72099715,
+ "thousands": 0.18378888,
+ "script": 0.409957,
+ "resulting": 0.3478722,
+ "books": 0.12906146,
+ "field": 1.0234625,
+ "million": 0.62593603,
+ "doc": 0.5570054,
+ "math": 1.0247897,
+ "card": 0.30079764,
+ "server": 0.12270237,
+ "flag": 0.16784263,
+ "log": 1.0325627,
+ "columns": 0.9136234,
+ "distribution": 0.088189356,
+ "streaming": 0.873732,
+ "computer": 0.18957612,
+ "file": 0.6386276,
+ "stream": 1.652574,
+ "copy": 0.12882893,
+ "table": 1.4674019,
+ "editor": 0.6636968,
+ "mat": 0.03675746,
+ "explore": 0.15253082,
+ "display": 0.23145793,
+ "excel": 0.7044295,
+ "names": 0.83588046,
+ "report": 0.2638135,
+ "cod": 0.404853,
+ "return": 0.82223034,
+ "transaction": 0.028887969,
+ "mathematical": 0.50482595,
+ "date": 0.9870177,
+ "com": 0.15221994,
+ "checkpoint": 0.0042872187,
+ "esq": 1.9024876,
+ "data": 1.1939149,
+ "dice": 0.30637878,
+ "employee": 1.3368737,
+ "correspond": 0.11386424,
+ "pages": 0.18343142,
+ "commander": 0.0015926784,
+ "tab": 0.19319849,
+ "find": 0.087531425,
+ "continuous": 0.8295542,
+ "function": 0.06278545,
+ "from": 1.9157435,
+ "html": 0.17157274,
+ "lap": 0.124862365,
+ "logs": 0.934678,
+ "read": 0.3029745,
+ "format": 0.48021546,
+ "archive": 0.36280018,
+ "sort": 0.16802554,
+ "tool": 0.1376636,
+ "jamie": 0.4630063,
+ "core": 0.4380887,
+ "entry": 0.011111288,
+ "lists": 0.99185675,
+ "files": 0.47509795,
+ "retrieve": 0.2184271,
+ "code": 0.2611356,
+ "cad": 0.68023276,
+ "nu": 0.39857835,
+ "gil": 0.25852382,
+ "sql": 0.8931735,
+ "total": 0.75291765,
+ "database": 0.7493647,
+ "##cards": 0.6540205,
+ "today": 0.6314736,
+ "alias": 1.6778101,
+ "dated": 0.19149378,
+ "row": 1.0832359,
+ "##lib": 0.10771149,
+ "sap": 0.079400346,
+ "##ma": 0.9425419,
+ "control": 0.0715385,
+ "rows": 0.65032744,
+ "command": 1.4556398,
+ "corresponding": 0.61374474,
+ "serial": 0.31944507,
+ "##stream": 0.41335353,
+ "wild": 1.3063877
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-from]]\n=== `FROM`\n\nThe `FROM` source command returns a table with up to 10,000 documents from a\ndata stream, index, or alias. Each row in the resulting table represents a\ndocument. Each column corresponds to a field, and can be accessed by the name\nof that field.\n\n[source,esql]\n----\nFROM employees\n----\n\nYou can use <> to refer to indices, aliases\nand data streams. This can be useful for time series data, for example to access\ntoday's index:\n\n[source,esql]\n----\nFROM \n----\n\nUse comma-separated lists or wildcards to query multiple data streams, indices,\nor aliases:\n\n[source,esql]\n----\nFROM employees-00001,other-employees-*\n----\n\nUse the `METADATA` directive to enable <>:\n\n[source,esql]\n----\nFROM employees [METADATA _id]\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "b103f2f3-aa7f-469c-b0e7-8bcbf612c8d2",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/source_commands/row.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "cluster": 0.51635194,
+ "##d": 0.72212976,
+ "functions": 0.028639283,
+ "fin": 0.049762167,
+ "styled": 1.0570996,
+ "##frame": 0.10961054,
+ "##l": 1.4208071,
+ "java": 0.79498225,
+ "##s": 0.04772541,
+ "styling": 0.580106,
+ "##v": 1.2269298,
+ "jan": 0.16456068,
+ "xml": 0.13998923,
+ "notation": 0.13757801,
+ "merge": 1.5068544,
+ "databases": 0.24404696,
+ "merging": 0.24632888,
+ "%": 0.7236839,
+ "tex": 0.1359648,
+ "'": 0.47565353,
+ "squares": 0.37856236,
+ "analysis": 0.2773132,
+ "-": 0.2959461,
+ "tags": 0.49478614,
+ "/": 0.12703808,
+ "triangular": 0.007329597,
+ "=": 0.09268665,
+ "statistical": 0.03135941,
+ "document": 0.11070403,
+ "matrix": 0.47633895,
+ "virus": 0.2019465,
+ "example": 0.5603425,
+ "matching": 0.112743646,
+ "result": 0.5627708,
+ "sd": 0.08528282,
+ "si": 0.08038095,
+ "vector": 0.34375614,
+ "[": 0.8997548,
+ "fred": 0.3409582,
+ "]": 0.25857538,
+ "graphic": 0.18453723,
+ "sq": 0.053681385,
+ "_": 0.53203803,
+ "sep": 0.4609222,
+ "`": 0.6351967,
+ "ss": 0.16671143,
+ "chip": 0.27986753,
+ "contain": 0.099752896,
+ "c": 0.041653823,
+ "d": 0.28629595,
+ "column": 1.1529005,
+ "sample": 0.07652366,
+ "cs": 1.4175965,
+ "collaboration": 0.4064261,
+ "v": 0.27531028,
+ "##uation": 0.10162888,
+ "|": 0.28347614,
+ "da": 0.29260468,
+ "chart": 0.17549917,
+ "font": 0.16626564,
+ "dd": 0.22178383,
+ "ass": 0.16617134,
+ "dh": 0.46460342,
+ "separate": 0.032621577,
+ "anne": 0.5730372,
+ "source": 1.7053484,
+ "specifications": 0.47604418,
+ "ds": 1.1956908,
+ "apache": 0.45314464,
+ "bracket": 0.8036595,
+ "generate": 0.6416054,
+ "commands": 0.1535749,
+ "ed": 0.58813155,
+ "par": 0.07770884,
+ "which": 0.06870942,
+ "eh": 0.09799412,
+ "test": 0.67568755,
+ "batch": 0.27392882,
+ "bold": 0.06360428,
+ "sha": 0.49333698,
+ "discrete": 1.9138976,
+ "fields": 0.2285496,
+ "useful": 0.6472799,
+ "parameters": 0.11355133,
+ "support": 0.109871395,
+ "formats": 0.28146413,
+ "sources": 0.33940598,
+ "import": 0.31458876,
+ "production": 0.2026776,
+ "interface": 0.19964527,
+ "sid": 0.8128939,
+ "mono": 1.0036665,
+ "plot": 0.033258058,
+ "linux": 0.11893219,
+ "divide": 0.08162177,
+ "class": 0.32152322,
+ "##ue": 0.5973712,
+ "citation": 0.062254526,
+ "multiple": 0.70467734,
+ "specification": 0.6285371,
+ "target": 0.059465405,
+ "layout": 0.079660945,
+ "syntax": 0.7605286,
+ "pub": 0.14691886,
+ "merger": 0.24169803,
+ "fancy": 0.09872556,
+ "select": 0.34971893,
+ "software": 0.14050034,
+ "construct": 0.13231383,
+ "multi": 1.0947797,
+ "peg": 0.65346897,
+ "##space": 1.1179781,
+ "jerry": 0.38071355,
+ "text": 0.26234964,
+ "flow": 0.0892244,
+ "algorithm": 0.40437463,
+ "parentheses": 0.10075718,
+ "gene": 0.2728285,
+ "liga": 0.064380534,
+ "testing": 0.73534846,
+ "specify": 1.2205752,
+ "index": 0.60396373,
+ "script": 0.4018067,
+ "brackets": 1.1807524,
+ "integration": 0.15484655,
+ "style": 0.8512685,
+ "math": 0.39115834,
+ "##val": 1.03636,
+ "server": 0.19722715,
+ "columns": 1.2680931,
+ "pattern": 0.31374112,
+ "layer": 0.10451703,
+ "##arat": 0.6702061,
+ "file": 0.6471033,
+ "tom": 0.02611151,
+ "copy": 0.07735969,
+ "table": 0.491194,
+ "include": 0.8787108,
+ "editor": 0.74991804,
+ "mat": 0.049044173,
+ "heading": 0.21894996,
+ "display": 0.5845421,
+ "consolidation": 0.0394664,
+ "produce": 0.4991845,
+ "excel": 0.71465814,
+ "framework": 0.010932077,
+ "report": 0.1889326,
+ "organized": 0.15044685,
+ "cod": 0.17116328,
+ "checkpoint": 0.26372522,
+ "esq": 1.9459969,
+ "data": 0.54524165,
+ "roman": 0.020556498,
+ "dice": 0.27161697,
+ "spec": 1.6245661,
+ "space": 0.509748,
+ "split": 0.056710046,
+ "tab": 0.27555856,
+ "continuous": 0.8456504,
+ "function": 0.4514881,
+ "create": 0.71055293,
+ "html": 0.4740356,
+ "lap": 0.3084713,
+ "tag": 0.8383094,
+ "buffer": 0.18468183,
+ "combine": 0.51572174,
+ "including": 0.39182186,
+ "created": 0.0016943159,
+ "format": 1.0492587,
+ "brace": 0.062200084,
+ "archive": 0.46453348,
+ "sort": 0.12709709,
+ "tool": 0.09688437,
+ "produced": 0.5491441,
+ "tutor": 0.19610217,
+ "square": 1.3358537,
+ "core": 0.37476766,
+ "jamie": 0.218186,
+ "sequence": 0.11593353,
+ "header": 1.0872356,
+ "bot": 0.10553242,
+ "blend": 0.051046077,
+ "values": 0.95822084,
+ "cad": 0.56674147,
+ "nu": 0.008909472,
+ "gil": 0.09185824,
+ "percent": 0.1781988,
+ "sql": 0.35486254,
+ "database": 0.52309114,
+ "array": 0.33173925,
+ "define": 0.38351735,
+ "sheet": 0.012340854,
+ "row": 2.1486108,
+ "##lib": 0.09326237,
+ "said": 0.003351193,
+ "value": 0.8166037,
+ "included": 0.12806906,
+ "control": 0.06360775,
+ "rows": 1.0968384,
+ "command": 1.3242794,
+ "serial": 0.6654321,
+ "compilation": 0.029469537
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-row]]\n=== `ROW`\n\nThe `ROW` source command produces a row with one or more columns with values\nthat you specify. This can be useful for testing.\n\n[source.merge.styled,esql]\n----\ninclude::{esql-specs}/row.csv-spec[tag=example]\n----\n[%header.monospaced.styled,format=dsv,separator=|]\n|===\ninclude::{esql-specs}/row.csv-spec[tag=example-result]\n|===\n\nUse square brackets to create multi-value columns:\n\n[source,esql]\n----\ninclude::{esql-specs}/row.csv-spec[tag=multivalue]\n----\n\n`ROW` supports the use of <>:\n\n[source,esql]\n----\ninclude::{esql-specs}/row.csv-spec[tag=function]\n----\n"
+ }
+ },
+ {
+ "_index": ".kibana-elastic-ai-assistant-kb",
+ "_id": "a8c31510-2d20-42d9-a753-e27f503933d0",
+ "_score": 1.0,
+ "_ignored": [
+ "text.keyword"
+ ],
+ "_source": {
+ "metadata": {
+ "source": "/kibana-main/x-pack/plugins/elastic_assistant/server/knowledge_base/esql/documentation/source_commands/show.asciidoc"
+ },
+ "vector": {
+ "tokens": {
+ "explain": 0.060540248,
+ "cluster": 0.3941216,
+ "functions": 0.8865504,
+ "software": 0.61448324,
+ "##d": 0.35716352,
+ "simulation": 0.13956463,
+ "about": 0.19181237,
+ "##i": 0.007917213,
+ "program": 0.19199145,
+ "during": 0.09428024,
+ "##l": 1.3997104,
+ "remote": 0.2165571,
+ "java": 0.8236497,
+ "peg": 0.78770965,
+ "dev": 0.22483575,
+ "retrieval": 0.09921944,
+ "jerry": 0.14476468,
+ "state": 0.1283719,
+ "api": 0.039955035,
+ "azure": 0.32590127,
+ "hardware": 0.1630672,
+ "item": 1.4544362,
+ "'": 0.015376943,
+ "(": 0.10047389,
+ "index": 0.14386621,
+ "dates": 0.3509445,
+ "analysis": 0.46714127,
+ "version": 1.0852,
+ "-": 0.26536015,
+ "script": 0.5606341,
+ "certification": 0.15230757,
+ "/": 0.14346164,
+ "node": 0.21173659,
+ "ar": 0.028697435,
+ "provide": 0.21170226,
+ "versions": 0.3993249,
+ "analyze": 0.081621446,
+ "integration": 0.86408544,
+ "gui": 0.039653406,
+ "<": 1.0177811,
+ "items": 0.74905336,
+ "device": 0.0748703,
+ "hash": 1.3827399,
+ "status": 0.3215646,
+ "server": 0.522128,
+ "functional": 0.22561699,
+ "miscellaneous": 0.12157971,
+ "log": 0.44711804,
+ "document": 0.37893268,
+ "mid": 0.14120083,
+ "sum": 0.19451243,
+ "into": 0.052014127,
+ "capability": 0.5273103,
+ "see": 0.084393576,
+ "computer": 0.051113814,
+ "file": 0.66574526,
+ "adoption": 0.56277734,
+ "tom": 0.043748386,
+ "encryption": 0.15059677,
+ "web": 0.1375431,
+ "julia": 0.04173329,
+ "installation": 0.7995318,
+ "assembly": 0.10079512,
+ "[": 0.707011,
+ "fred": 0.3605931,
+ "ability": 0.046853762,
+ "]": 0.46609527,
+ "table": 0.06550928,
+ "deployment": 2.0784588,
+ "_": 0.680473,
+ "latest": 0.35972363,
+ "editor": 0.4164099,
+ "continuum": 0.103609376,
+ "chip": 0.08054605,
+ "c": 0.059135333,
+ "d": 0.45783275,
+ "display": 1.0713024,
+ "##etta": 0.03921907,
+ "summarized": 0.020505346,
+ "excel": 0.43757802,
+ "hide": 0.20146966,
+ "framework": 0.081018314,
+ "bug": 0.40691054,
+ "returning": 0.22301804,
+ "v": 0.028768787,
+ "##opsis": 0.9428378,
+ "report": 0.32467648,
+ "cod": 0.14623699,
+ "information": 1.08597,
+ "describe": 0.1806064,
+ "returned": 0.5130999,
+ "powers": 0.15957259,
+ "da": 0.369976,
+ "chart": 0.17542586,
+ "return": 1.0796846,
+ "supported": 0.96299756,
+ "date": 0.80121726,
+ "checkpoint": 0.3706916,
+ "ass": 0.1337611,
+ "esq": 1.7619041,
+ "reveal": 0.7473637,
+ "data": 0.5926615,
+ "use": 0.47054046,
+ "dj": 0.26649255,
+ "dice": 0.38850936,
+ "anne": 0.19182585,
+ "source": 1.6951433,
+ "microsoft": 0.09370544,
+ "operator": 0.0210729,
+ "deploy": 1.0925218,
+ "mode": 0.1809773,
+ "protocol": 0.035459783,
+ "apache": 0.6668967,
+ "commander": 0.40036994,
+ "tab": 0.42625892,
+ "function": 1.0285546,
+ "continuous": 0.8101676,
+ "lap": 0.49391255,
+ "details": 0.23596856,
+ "ren": 0.0324246,
+ "commands": 0.67191976,
+ "info": 0.97004294,
+ "ed": 0.5817114,
+ "notebook": 0.20384479,
+ "all": 0.2126805,
+ "development": 0.14059345,
+ "test": 0.28380427,
+ "format": 0.13781297,
+ "capture": 0.06870073,
+ "archive": 0.24509774,
+ "check": 0.013754821,
+ "list": 0.91815245,
+ "sha": 0.104700305,
+ "tool": 0.27221096,
+ "discrete": 1.9687479,
+ "amazon": 0.07794595,
+ "core": 0.41125634,
+ "synth": 0.024463682,
+ "lists": 0.583975,
+ "retrieve": 0.38998145,
+ "know": 0.08078337,
+ "dash": 0.17884718,
+ "support": 0.64324796,
+ "useful": 0.3087708,
+ "code": 0.072173096,
+ "sources": 0.21650372,
+ "configuration": 0.32942122,
+ "cad": 0.7238169,
+ "nu": 0.0029086447,
+ "show": 2.0936058,
+ "destination": 0.07574717,
+ "deployed": 1.1550113,
+ "syn": 0.8052629,
+ "description": 0.07108393,
+ "inventory": 0.5572227,
+ "interface": 0.3877567,
+ "platform": 0.18630774,
+ "sid": 0.8154919,
+ "sql": 0.20745458,
+ "button": 0.2502204,
+ "database": 0.38744512,
+ "linux": 0.23942408,
+ "client": 0.43027923,
+ "class": 0.40874147,
+ "summary": 0.07997936,
+ "execution": 0.03525899,
+ "console": 0.008242519,
+ "capabilities": 0.8913807,
+ "os": 0.22953027,
+ "built": 0.5715707,
+ "implementation": 0.18621355,
+ "control": 0.51616025,
+ "windows": 0.1191538,
+ "command": 1.535876,
+ "##ec": 0.046429943,
+ "target": 0.5081651,
+ "application": 0.41719523,
+ "build": 1.0621488,
+ "serial": 0.38678947,
+ "management": 0.1808237,
+ "migration": 0.26950133,
+ "jason": 0.004634117,
+ "syntax": 0.70869935,
+ "setup": 0.05093132,
+ "window": 0.040554814,
+ "showing": 0.18070978
+ },
+ "model_id": ".elser_model_2"
+ },
+ "text": "[discrete]\n[[esql-show]]\n=== `SHOW