Module inference

Module inference 

Source
Expand description

Language model inference abstractions and implementations.

This module provides the core abstraction for language model inference, including the base trait that all providers must implement.

Structs§

InferenceConfig
Inference configuration parameters
InferenceOutputError
Error type for inference operations that don’t produce any outputs
ScoredOutput
A scored output from a language model

Traits§

BaseLanguageModel
Abstract base trait for language model inference