OpenAIPictureAltSettings
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 OpenAIPictureAltSettingsMethods
set_api_endpoint
def set_api_endpoint(self, value: str) -> NoneSets the ApiEndpoint property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | str | The value to set for the ApiEndpoint property. |
set_api_key
def set_api_key(self, value: str) -> NoneSets the ApiKey property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | str | The value to set for the ApiKey property. |
set_detail
def set_detail(self, value: str) -> NoneSets the Detail property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | str | The value to set for the Detail property. |
set_max_tokens
def set_max_tokens(self, value: int) -> NoneSets the MaxTokens property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | int | The value to set for the MaxTokens property. |
set_model
def set_model(self, value: str) -> NoneSets the Model property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | str | The value to set for the Model property. |
set_temperature
def set_temperature(self, value: float) -> NoneSets the Temperature property.
Parameters:
| Name | Type | Description |
|---|---|---|
value | float | The value to set for the Temperature property. |
Properties
api_endpoint
@propertydef api_endpoint(self) -> strGets the ApiEndpoint property.
Type: str
Read-only property.
api_key
@propertydef api_key(self) -> strGets the ApiKey property.
Type: str
Read-only property.
detail
@propertydef detail(self) -> strGets the Detail property.
Type: str
Read-only property.
max_tokens
@propertydef max_tokens(self) -> intGets the MaxTokens property.
Type: int
Read-only property.
model
@propertydef model(self) -> strGets the Model property.
Type: str
Read-only property.
temperature
@propertydef temperature(self) -> floatGets the Temperature property.
Type: float
Read-only property.