Skip to content

HarnessModelConfiguration

Union Type

Union Member Types

HarnessModelConfigurationBedrockModelConfig dataclass

Bases: _SerdeShape

Configuration for an Amazon Bedrock model.

Attributes

value instance-attribute

HarnessModelConfigurationOpenAiModelConfig dataclass

Bases: _SerdeShape

Configuration for an OpenAI model.

Attributes

value instance-attribute

HarnessModelConfigurationGeminiModelConfig dataclass

Bases: _SerdeShape

Configuration for a Google Gemini model.

Attributes

value instance-attribute

HarnessModelConfigurationLiteLlmModelConfig dataclass

Bases: _SerdeShape

The LiteLLM model configuration for connecting to third-party model providers.

Attributes

value instance-attribute

HarnessModelConfigurationUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str