Class: Anthropic
Anthropic LLM implementation
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/LLM.ts:596
Properties
apiKey
• Optional
apiKey: string
= undefined
Defined in
packages/core/src/llm/LLM.ts:589
callbackManager
• Optional
callbackManager: CallbackManager
Defined in
packages/core/src/llm/LLM.ts:594
maxRetries
• maxRetries: number
Defined in
packages/core/src/llm/LLM.ts:590
maxTokens
• Optional
maxTokens: number
Defined in
packages/core/src/llm/LLM.ts:586
model
• model: "claude-2"
| "claude-instant-1"
Defined in
packages/core/src/llm/LLM.ts:583
session
• session: AnthropicSession
Defined in
packages/core/src/llm/LLM.ts:592
temperature
• temperature: number
Defined in
packages/core/src/llm/LLM.ts:584
timeout
• Optional
timeout: number
Defined in
packages/core/src/llm/LLM.ts:591