The edbctl chat command lets you chat with the AI assistant using natural language. The assistant can help answer questions about your clusters, provide guidance on database operations, and assist with troubleshooting.
Commands
edbctl chat command has the following options:
- edbctl chat list — List chat conversations.
- edbctl chat start — Start a chat with the AI assistant.
edbctl chat list
Displays a list of all chat conversations with their ID, creation time, subject, and last update time.
edbctl chat list [options]
Where options are:
-c, --credential string The credential which you created via the `credential create` command, the default is fetched from `context_credential`. -o, --output string [table json yaml xml json-raw] (default "table") -h, --help Help for list.
These examples show how to list chat conversations:
# List all conversations edbctl chat list # List conversations in JSON format edbctl chat list -o json
edbctl chat start
Starts a chat with the AI assistant using natural language. Use single-shot mode (--message) to ask a question directly, or interactive mode (-i) to start a conversation. You can also resume an existing conversation with --resume-conversation.
edbctl chat start [options]
Where options are:
-m, --message string Message to send in single-shot mode.
-i, --interactive-session Interactive conversation mode.
-r, --resume-conversation string Conversation ID to resume an existing conversation.
--restore-messages int Number of messages to restore when resuming a conversation (default 4).
--model string Model override (for example, openai/gpt-oss-120b).
--timeout int Request timeout in seconds (default 300).
-c, --credential string The credential which you created via the `credential create` command, the default is fetched from `context_credential`.
-P, --project string The project that groups your clusters and other resources, the default is taken from `context_project`.
-h, --help Help for start.These examples show how to start a chat:
# Single-shot mode - ask a question directly edbctl chat start --message "What clusters do I have?" # Interactive mode - start a conversation edbctl chat start -i # Continue an existing conversation edbctl chat start --resume-conversation cnv_abc123 --message "Tell me more"