Class: Anthropic
Anthropic LLM implementation
Implements
Constructors
constructor
• new Anthropic(init?
)
Parameters
Name | Type |
---|---|
init? | Partial <Anthropic > |
Defined in
packages/core/src/llm/LLM.ts:667
Properties
apiKey
• Optional
apiKey: string
= undefined
Defined in
packages/core/src/llm/LLM.ts:660
callbackManager
• Optional
callbackManager: CallbackManager
Defined in
packages/core/src/llm/LLM.ts:665
hasStreaming
• hasStreaming: boolean
= true
Implementation of
Defined in
packages/core/src/llm/LLM.ts:651
maxRetries
• maxRetries: number
Defined in
packages/core/src/llm/LLM.ts:661
maxTokens
• Optional
maxTokens: number
Defined in
packages/core/src/llm/LLM.ts:657
model
• model: "claude-2"
| "claude-instant-1"
Defined in
packages/core/src/llm/LLM.ts:654
session
• session: AnthropicSession
Defined in
packages/core/src/llm/LLM.ts:663
temperature
• temperature: number
Defined in
packages/core/src/llm/LLM.ts:655
timeout
• Optional
timeout: number
Defined in
packages/core/src/llm/LLM.ts:662
topP
• topP: number
Defined in
packages/core/src/llm/LLM.ts:656
Accessors
metadata
• get
metadata(): Object
Returns
Object
Name | Type |
---|---|
contextWindow | number |
maxTokens | undefined | number |
model | "claude-2" | "claude-instant-1" |
temperature | number |
tokenizer | undefined |
topP | number |