CLI Chatbot

Here's an example showing you how to setup the config and interact with the CLI Client

Config

CLI client CAN NOT be ran with other clients. Set the flag to true as shown below.

Completion provider can be ANY provider you'd like, and "embedding_provider" "db" are not required so those can default to "local".

{
    "clients": {
        "cli": true
    },
    "completion_provider": "anthropic",
    "embedding_provider": "local",
    "db": "local"
}

Interaction

Here's a sample screenshot of interacting with the agent. Type your prompt after You: and the agent will print the response. This agent keeps a message history.

Last updated