yera.models.context_factory.llm

Module for the LLM implementation of BaseModelContextFactory.

Symbols

class LLMContextFactory — Context factory class for LLM context objects.

LLMContextFactory

Context factory class for LLM context objects.

Methods

__call__ — Build an LLM context for the configured model and connection.

LLMContextFactory.__call__

__call__(
    **kwargs,
) → LLMContext

Build an LLM context for the configured model and connection.

Parameters

**kwargs
type: str | int | float | bool

Provider-specific inference overrides.

Returns

type: LLMContext

An unstarted context wrapping the selected provider interface.