Skip to content

Commit d5dce23

Browse files
committed
removes query
1 parent 37e9b9f commit d5dce23

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

docs/AI-for-security/knowledge-base.asciidoc

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,7 @@
33

44
AI Assistant's knowledge base feature enables it to recall specific documents and other specified information, and to use it as context when responding to your queries. This page describes how to enable and add information to knowledge base.
55

6-
NOTE: When you upgrade from {elastic-sec} version 8.15 to a newer version, information previously stored by AI Assistant will be lost. Before upgrade, you can retrieve all stored knowledge using the following query:
7-
8-
.Query
9-
[%collapsible]
10-
====
11-
GET /.kibana-elastic-ai-assistant-knowledge-base-*/_search
12-
{
13-
"size": 10000,
14-
"query": {
15-
"bool": {
16-
"must_not": [
17-
{
18-
"term": {
19-
"metadata.kbResource": "esql"
20-
}
21-
}
22-
]
23-
}
24-
}
25-
}
26-
====
6+
NOTE: When you upgrade from {elastic-sec} version 8.15 to a newer version, information previously stored by AI Assistant will be lost.
277

288
.Requirements
299
[sidebar]

0 commit comments

Comments
 (0)