Skip to content

EvalProviderConfig

PromptScript API


Defined in: core/src/types/config.ts:382

One model provider that eval suites can call.

Properties

apiKeyEnvVar?

optional apiKeyEnvVar?: string

Defined in: core/src/types/config.ts:396

Environment variable that holds the provider API key. The key itself is never read from the config.

Pattern

^[A-Z_][A-Z0-9_]*$

Example

"ANTHROPIC_API_KEY"

baseUrl?

optional baseUrl?: string

Defined in: core/src/types/config.ts:389

Base URL of the provider API.

Example

"https://llm.corp.example/v1"

kind

kind: EvalProviderKind

Defined in: core/src/types/config.ts:384

Request and response format: the Anthropic Messages API or an OpenAI-compatible chat API