nat.data_models.llm#

Attributes#

Classes#

APITypeEnum

Enum where members are also (and must be) strings

LLMBaseConfig

Base configuration for LLM providers.

Module Contents#

class APITypeEnum#

Bases: enum.StrEnum

Enum where members are also (and must be) strings

Initialize self. See help(type(self)) for accurate signature.

CHAT_COMPLETION = 'chat_completion'#
RESPONSES = 'responses'#
class LLMBaseConfig#

Bases: nat.data_models.common.TypedBaseModel, nat.data_models.common.BaseModelRegistryTag

Base configuration for LLM providers.

api_type: APITypeEnum = None#
LLMBaseConfigT#