Module builder

Source
Expand description

Builder pattern for configuring and instantiating LLM providers Builder module for configuring and instantiating LLM providers.

This module provides a flexible builder pattern for creating and configuring LLM (Large Language Model) provider instances with various settings and options.

Structs§

FunctionBuilder
Builder for function tools
LLMBuilder
Builder for configuring and instantiating LLM providers.
ParamBuilder
Builder for function parameters

Enums§

LLMBackend
Supported LLM backend providers.

Type Aliases§

ValidatorFn
A function type for validating LLM provider outputs. Takes a response string and returns Ok(()) if valid, or Err with an error message if invalid.