Skip to main content

chat_with_tools

AsyncMethod
This is a method of the LlmProtocol class in the protocols module.
Chat with tools

Signature

async def chat_with_tools(
        &self,
        messages: &[LlmMessage],
        tools: &[ToolSchema],
    ) -> Result<LlmResponse>

Parameters

messages
&
required
No description available.
tools
&
required
No description available.

Returns

Returns
Result<LlmResponse>
The result of the operation.