Type alias AnthropicConfig

AnthropicConfig: {
    maxTokens: number;
    model: AnthropicModel;
    stopSequences?: string[];
    stream?: boolean;
    temperature: number;
    topK?: number;
    topP: number;
}

Anthropic: Model options for text generation

Type declaration

  • maxTokens: number
  • model: AnthropicModel
  • Optional stopSequences?: string[]
  • Optional stream?: boolean
  • temperature: number
  • Optional topK?: number
  • topP: number

Export