LiteLLmConfigFactory

LiteLLmConfigFactory()

Helper class that provides a standard way to create an ABC using inheritance.

Static Methods

accepts

accepts(first_llm_config: dict[str, Any]) -> bool
Parameters:
NameDescription
first_llm_configType: dict[str, typing.Any]

create

create(first_llm_config: dict[str, Any]) -> dict[str, Any]
Parameters:
NameDescription
first_llm_configType: dict[str, typing.Any]

create_lite_llm_config

create_lite_llm_config(llm_config: dict[str, Any]) -> dict[str, Any]
Parameters:
NameDescription
llm_configType: dict[str, typing.Any]

get_api_type

get_api_type() -> str

register_factory

register_factory() -> Callable[[type[~T]], type[~T]]