Functions
invoke_agent​
Invoke an agent. This is not for users to call directly.Parameters
llm() - The language model object in a specific framework (e.g. LangChain)client(AgentClient) - The agent clientmessage(str) - The message (question)system_prompt(Optional[str]) - The name of the system prompt in the service Default:Nonechat_history(Any) - The chat history Default:Nonekwargs(Any) -
Returns
str: The response
make_agent​
Make an agent. This is not for users to call directly.Parameters
llm() - The language model object in a specific framework (e.g. LangChain)client(AgentClient) - The agent clientsystem_prompt(Optional[str]) - The name of the system prompt in the service Default:Nonekwargs(Any) -
Returns
Any: The agent object