Skip to main content

Model Configurations

Model configurations register AI models (like GPT-4, Claude, or custom models) for use in prompts, scores, experiments, and evaluations. Each configuration includes the provider, model name, API keys, and other settings needed to make calls.

Configurations - AI Models


What you see​

The AI Models tab shows a table of all registered model configurations:

ColumnDescription
NameFriendly name for this configuration (e.g., "GPT-4 Production")
AdapterThe provider or adapter (OpenAI, Anthropic, Google Vertex, Bedrock, etc.)
Model NameThe specific model identifier (e.g., "gpt-4", "claude-3-opus")
Created DateWhen the configuration was created
ActionsEdit and Delete buttons

Creating a model configuration​

Click New Model Configuration to register a model for use in experiments and evaluations.

Common fields​

All model configurations require these fields:

FieldRequiredDescription
NameYesA friendly name to identify this configuration (e.g., "GPT-4 Production", "Claude Staging")
AdapterYesChoose the provider: OpenAI, Anthropic, Azure OpenAI, AWS Bedrock, Google Vertex AI, or Google AI Studio
Model NameYesThe specific model identifier (e.g., "gpt-4", "claude-3-opus-20240229", "gemini-pro")

Tip: Use descriptive names that indicate the environment (e.g., "Production", "Staging") or purpose. This makes it easier to choose the right model when creating experiments.


Adapter configurations​

Each adapter has specific fields. Choose an adapter to see its requirements:

OpenAI​

OpenAI Configuration

FieldRequiredDescription
API KeyYesYour OpenAI API key (starts with sk-)

Example model names: gpt-4, gpt-4-turbo, gpt-3.5-turbo, o1-preview


Anthropic​

Anthropic Configuration

FieldRequiredDescription
API KeyYesYour Anthropic API key
Base URLNoCustom API endpoint (default: https://api.anthropic.com)
Timeout (seconds)NoRequest timeout in seconds (default: 240)

Example model names: claude-3-opus-20240229, claude-3-sonnet-20240229, claude-3-haiku-20240307


Azure OpenAI​

Azure OpenAI Configuration

FieldRequiredDescription
API KeyYesYour Azure OpenAI API key
EndpointYesYour Azure OpenAI endpoint URL (e.g., https://your-resource.openai.azure.com)
API VersionNoAPI version (e.g., 2024-02-15-preview)
Deployment NameNoThe deployment name for your model

Example model names: gpt-4, gpt-35-turbo


AWS Bedrock​

AWS Bedrock Configuration

FieldRequiredDescription
API KeyNoOptional placeholder (not used for authentication)
RegionYesAWS region where Bedrock is available (e.g., us-east-1, us-west-2)
Endpoint URLNoCustom endpoint URL (default: https://bedrock-runtime.{region}.amazonaws.com)
AWS Access Key IDYesAWS access key ID (required for the Python worker)
AWS Secret Access KeyYesAWS secret access key (required for the Python worker)

Example model names: anthropic.claude-3-opus-20240229-v1:0, anthropic.claude-3-sonnet-20240229-v1:0, amazon.titan-text-premier-v1:0

Tip: Make sure your AWS Access Key ID and Secret Access Key have permissions to access Bedrock in the specified region.


Google Vertex AI​

Google Vertex AI Configuration

FieldRequiredDescription
Service Account Credentials (JSON)YesFull JSON credentials from GCP Console → IAM & Admin → Service Accounts → Keys. Paste the entire JSON object.
ProjectNoGCP project ID (can be extracted from credentials JSON)
LocationNoGCP region/location (e.g., us-central1, europe-west1)

Example model names: gemini-pro, gemini-pro-vision, text-bison@001

Tip: To get your service account credentials:

  1. Go to GCP Console → IAM & Admin → Service Accounts
  2. Select or create a service account
  3. Go to Keys → Add Key → Create new key → JSON
  4. Copy the entire JSON and paste it into the credentials field

Google AI Studio​

Google AI Studio Configuration

FieldRequiredDescription
API KeyYesYour Google AI Studio API key
ProjectNoGCP project ID
Base URLNoCustom API endpoint (default: https://generativelanguage.googleapis.com)

Example model names: gemini-pro, gemini-pro-vision


Editing a model configuration​

Click Edit on a model configuration to update its settings, API key, or other parameters.

Note: Changing a model configuration affects all experiments and evaluations that use it. Make sure your changes are intentional.


Deleting a model configuration​

Click Delete on a model configuration to remove it. This prevents it from being used in new experiments, but doesn't affect existing experiments or evaluations.

Warning: Make sure no active experiments or evaluations depend on a configuration before deleting it.


When to use​

  • Before creating experiments — Register models you'll use in experiments
  • Multiple environments — Create separate configurations for production and staging models
  • Different models — Register all the models you want to compare in evaluations
  • API key management — Use different configurations with different API keys for security

Tips​

  • Test configurations — Verify API keys work before using configurations in experiments
  • Use clear names — Name configurations so it's obvious which model and environment they represent
  • Secure API keys — API keys are stored securely, but only grant access to trusted team members
  • One per model/environment — Create separate configurations for different models or environments
  • AWS Bedrock — Use IAM roles when possible instead of storing AWS credentials