Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

before_llm_call

Method
This is a method of the LLMPluginProtocol class in the plugins module.
Called before LLM call

Signature

def before_llm_call(&self, _messages: &[LLMMessage]) -> Result<Option<Vec<LLMMessage>>, String>

Parameters

_messages
&
required
No description available.

Returns

Returns
Result<Option<Vec<LLMMessage>>, String>
The result of the operation.

Rust LLM

Rust Providers

Rust Failover