Description
Description
elastic/kibana#225033
There is a client side error occurring on 9.0.3
that blocks the assistant knowledge base settings.
This blocks the UI of Setup knowledge base button
and the options of how many alerts should be sent to the assistant.
Resources
The UI for setting up knowledge base is not working in 9.0.3, but we can still set it up from an empty conversation https://www.elastic.co/docs/solutions/security/ai/ai-assistant-knowledge-base#_option_1_enable_knowledge_base_from_an_ai_assistant_conversation
Workaround for creating and listing knowledge base entries:
To list knowledge base entries with an API: https://www.elastic.co/docs/api/doc/kibana/operation/operation-findknowledgebaseentries
example:
GET /api/security_ai_assistant/knowledge_base/entries/_find?page=1&per_page=100
To create a knowledge base index entry with an API:
example:
POST /api/security_ai_assistant/knowledge_base/entries
{"type":"index","name":"test","index":"test-index","field":"mock","outputFields":["example"],"description":"test description","queryDescription":"test query description"}
To create a knowledge base document entry with an API:
example:
POST /api/security_ai_assistant/knowledge_base/entries
{"type":"document","kbResource":"user","source":"user","name":"doc","text":"doc"}
Which documentation set does this change impact?
Elastic On-Prem and Cloud (all)
Feature differences
issue and expected results: elastic/kibana#225033
What release is this request related to?
9.0
Serverless release
Serverless should not be affected.
Collaboration model
The documentation team
Point of contact.
Main contact: @angorayc
Stakeholders: @peluja1012 @jamesspi @dhru42