yera.models.context_factory.base
Module containing the base class for all module factories.
Symbols
BaseModelContextFactory
Inherits:
ABCSubclasses:
LLMContextFactoryThe base model context factory class.
Model context factories build model contexts based on the information in a model config object and a provider connection config object.
Inheritors must implement call which will return a model context of some model type. This will also allow keyword arguments that override the model's inference and other parameters.
Methods
__call__ — The factory call method that builds model context objects.
BaseModelContextFactory.__call__
__call__(
**kwargs,
) → BaseModelContextThe factory call method that builds model context objects.