Class: Anthropic
Extends
ToolCallLLM
<AnthropicAdditionalChatOptions
>
Constructors
new Anthropic()
new Anthropic(
init
?):Anthropic
Parameters
• init?: Partial
<Anthropic
>
Returns
Overrides
Source
packages/core/src/llm/anthropic.ts:115
Properties
apiKey?
optional
apiKey:string
=undefined
Source
packages/core/src/llm/anthropic.ts:110
maxRetries
maxRetries:
number
Source
packages/core/src/llm/anthropic.ts:111
maxTokens?
optional
maxTokens:number
Source
packages/core/src/llm/anthropic.ts:107
model
model:
"claude-3-opus"
|"claude-3-sonnet"
|"claude-3-haiku"
|"claude-2.1"
|"claude-instant-1.2"
Source
packages/core/src/llm/anthropic.ts:104
session
session:
AnthropicSession
Source
packages/core/src/llm/anthropic.ts:113