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:None
chat_history
(Any
) - The chat history Default:None
kwargs
(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:None
kwargs
(Any
) -
Returns
Any
: The agent object