Class: Anthropic
Hierarchy
-
ToolCallLLM
<AnthropicAdditionalChatOptions
>↳
Anthropic
Constructors
constructor
• new Anthropic(init?
): Anthropic
Parameters
Name | Type |
---|---|
init? | Partial <Anthropic > |
Returns
Overrides
ToolCallLLM<AnthropicAdditionalChatOptions>.constructor
Defined in
packages/core/src/llm/anthropic.ts:115
Properties
apiKey
• Optional
apiKey: string
= undefined
Defined in
packages/core/src/llm/anthropic.ts:110
maxRetries
• maxRetries: number
Defined in
packages/core/src/llm/anthropic.ts:111
maxTokens
• Optional
maxTokens: number
Defined in
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"
Defined in
packages/core/src/llm/anthropic.ts:104
session
• session: AnthropicSession
Defined in
packages/core/src/llm/anthropic.ts:113
temperature
• temperature: number
Defined in
packages/core/src/llm/anthropic.ts:105
timeout
• Optional
timeout: number
Defined in
packages/core/src/llm/anthropic.ts:112
topP
• topP: number
Defined in
packages/core/src/llm/anthropic.ts:106
Accessors
metadata
• get
metadata(): Object
Returns
Object
Name | Type |
---|---|
contextWindow | number |
maxTokens | undefined | number |
model | "claude-3-opus" | "claude-3-sonnet" | "claude-3-haiku" | "claude-2.1" | "claude-instant-1.2" |
temperature | number |
tokenizer | undefined |
topP | number |