chatbot
ChatBot
Agent class represents an LLM chat agent.
__init__
Initializes the ChatBot object, wrapped around a client.
Arguments:
client
- The Client instance to wrap the chatbot logic around.
properties
client
Get the client object.
Returns:
The client.
setters
set_client
Set the client.
Arguments:
value
- The unify client.
methods
clear_chat_history
Clears the chat history.
run
Starts the chat interaction loop.
Arguments:
show_credits
- Whether to show credit consumption. Defaults to False.show_endpoint
- Whether to show the endpoint used. Defaults to False.