Skip to main content

Python class

MaxProviderOptions

MaxProviderOptionsโ€‹

class max.pipelines.request.provider_options.MaxProviderOptions(*, target_endpoint=None)

source

Bases: BaseModel

Universal MAX provider options.

These options are applicable to all requests regardless of pipeline or modality.

Parameters:

target_endpoint (str | None)

model_configโ€‹

model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True}

source

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

target_endpointโ€‹

target_endpoint: str | None

source