Interface AnthropicModelDescription

interface AnthropicModelDescription {
    apiKey: undefined | string | true;
    defaultRequestSettings?: {
        [key: string]: unknown;
    };
    enableStreaming: boolean;
    id: string;
    model: string;
}

Properties

apiKey: undefined | string | true

The key for the model. If 'true' is provided the global Anthropic API key will be used.

defaultRequestSettings?: {
    [key: string]: unknown;
}

Default request settings for the Anthropic model.

Type declaration

  • [key: string]: unknown
enableStreaming: boolean

Indicate whether the streaming API shall be used.

id: string

The identifier of the model which will be shown in the UI.

model: string

The model ID as used by the Anthropic API.