Merged view of OpenAIPictureAltSettings, combining immutable defaults, SDK overrides, and document overrides. Property writes automatically target the appropriate level (document if available, otherwise SDK).

from nutrient import OpenAIPictureAltSettings

Methods

set_api_endpoint

def set_api_endpoint(self, value: str) -> None

Sets the ApiEndpoint property.

Parameters:

NameTypeDescription
valuestrThe value to set for the ApiEndpoint property.

set_api_key

def set_api_key(self, value: str) -> None

Sets the ApiKey property.

Parameters:

NameTypeDescription
valuestrThe value to set for the ApiKey property.

set_detail

def set_detail(self, value: str) -> None

Sets the Detail property.

Parameters:

NameTypeDescription
valuestrThe value to set for the Detail property.

set_max_tokens

def set_max_tokens(self, value: int) -> None

Sets the MaxTokens property.

Parameters:

NameTypeDescription
valueintThe value to set for the MaxTokens property.

set_model

def set_model(self, value: str) -> None

Sets the Model property.

Parameters:

NameTypeDescription
valuestrThe value to set for the Model property.

set_temperature

def set_temperature(self, value: float) -> None

Sets the Temperature property.

Parameters:

NameTypeDescription
valuefloatThe value to set for the Temperature property.

Properties

api_endpoint

@property
def api_endpoint(self) -> str

Gets the ApiEndpoint property.

Type: str

Read-only property.


api_key

@property
def api_key(self) -> str

Gets the ApiKey property.

Type: str

Read-only property.


detail

@property
def detail(self) -> str

Gets the Detail property.

Type: str

Read-only property.


max_tokens

@property
def max_tokens(self) -> int

Gets the MaxTokens property.

Type: int

Read-only property.


model

@property
def model(self) -> str

Gets the Model property.

Type: str

Read-only property.


temperature

@property
def temperature(self) -> float

Gets the Temperature property.

Type: float

Read-only property.