Skip to main content

PromptSnapshotConfig

Configuration types for prompt deployments in the Python SDK.

PromptSnapshotConfig

The model and provider configuration returned as part of a deployment’s prompt snapshot.

Fields

provider_name
str
required
The AI provider name (e.g., "openai", "anthropic", "google", "azure", "bedrock").
provider_id
str
required
Adaline’s internal provider identifier.
model
str
required
The model identifier (e.g., "gpt-4o", "claude-sonnet-4-20250514").
settings
dict
required
Normalized model settings. Adaline uses provider-agnostic parameter names that map to each provider’s native parameters.

Settings

The settings dict uses Adaline’s normalized parameter names. When you configure a prompt in Adaline, these are automatically mapped to the correct provider-specific parameter names.

Examples

Accessing Config from a Deployment

Using Config with a Provider SDK