Class: Anthropic
Hierarchy
-
BaseLLM
↳
Anthropic
Constructors
constructor
• new Anthropic(init?
): Anthropic
Parameters
Name | Type |
---|---|
init? | Partial <Anthropic > |
Returns
Overrides
BaseLLM.constructor
Defined in
packages/core/src/llm/anthropic.ts:97
Properties
apiKey
• Optional
apiKey: string
= undefined
Defined in
packages/core/src/llm/anthropic.ts:92
maxRetries
• maxRetries: number
Defined in
packages/core/src/llm/anthropic.ts:93
maxTokens
• Optional
maxTokens: number
Defined in
packages/core/src/llm/anthropic.ts:89
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:86
session
• session: AnthropicSession
Defined in
packages/core/src/llm/anthropic.ts:95
temperature
• temperature: number