Knowledge Command
Last updated
Was this helpful?
Last updated
Was this helpful?
This guide documents the knowledge
command in the Kubiya CLI, which allows you to create, read, update, and delete knowledge items in your Kubiya knowledge base.
The knowledge
command enables you to manage information that your AI teammates can access. With this command, you can create, view, update, and delete knowledge items, helping your AI teammates provide more accurate and context-aware assistance.
View all knowledge items in your environment:
Example output:
Retrieve the content of a specific knowledge item:
Example output:
Add a new knowledge item:
Modify an existing knowledge item:
Remove a knowledge item:
Interactively edit a knowledge item's content:
Knowledge commands support these parameters:
list
--output, -o
: Output format (text, json)
get
--output, -o
: Output format (text, json)
create
--name, -n
: Knowledge item name (required)
--desc, -d
: Knowledge item description
--labels, -l
: Labels (comma-separated)
--groups, -g
: Groups (comma-separated)
--content-file, -f
: File containing the content
update
--name, -n
: New name
--desc, -d
: New description
--labels, -l
: New labels (comma-separated)
--groups, -g
: New groups (comma-separated)
--content-file, -f
: File containing new content
--editor, -e
: Open content in editor
--yes, -y
: Skip confirmation prompt
delete
No additional options
edit
No additional options
Knowledge UUID Not Found
Verify the UUID is correct
Use kubiya knowledge list
to see all valid UUIDs
Content Not Updating
Ensure the file path is correct
Check file permissions
Use the --editor
flag to see changes in real-time
Editor Issues
Set your preferred editor with the $EDITOR
environment variable
If no editor is set, the command defaults to vim
kubiya chat
- Interact with AI assistants that use knowledge
kubiya integration
- Set up integrations for knowledge sources
The knowledge
command provides essential functionality for managing the information that powers your AI teammates. By maintaining accurate and up-to-date knowledge items, you ensure your AI teammates can provide helpful and contextually relevant assistance.