Skip to main content

chat

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

Signature

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

Parameters

messages
&
required
No description available.

Returns

Returns
Result<LlmResponse>
The result of the operation.