Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-nodes / AnthropicLLMConfig

Class: AnthropicLLMConfig

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/anthropic-llm-call.node.ts:162

Main configuration for the Anthropic LLM

Constructors

Constructor

new AnthropicLLMConfig(): AnthropicLLMConfig

Returns

AnthropicLLMConfig

Properties

apiKey?

optional apiKey: EncryptedSecretValue<"anthropic">

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/anthropic-llm-call.node.ts:169


max_tokens

max_tokens: number = 16000

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/anthropic-llm-call.node.ts:201


max_tool_calls

max_tool_calls: number = 20

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/anthropic-llm-call.node.ts:286


metadata?

optional metadata: MessageMetadata

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/anthropic-llm-call.node.ts:252


model

model: AntropicModelTypes = AntropicModelTypes.ClaudeHaiku4_5_20251001

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/anthropic-llm-call.node.ts:191


stop_sequences?

optional stop_sequences: string[]

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/anthropic-llm-call.node.ts:244


stream

stream: boolean = true

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/anthropic-llm-call.node.ts:277


temperature

temperature: number = 0

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/anthropic-llm-call.node.ts:216


thinking?

optional thinking: ThinkingConfig

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/anthropic-llm-call.node.ts:260


tool_choice?

optional tool_choice: ToolChoice

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/anthropic-llm-call.node.ts:268


top_k?

optional top_k: number = undefined

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/anthropic-llm-call.node.ts:234


top_p?

optional top_p: number = undefined

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/anthropic-llm-call.node.ts:226

Licensed under BUSL-1.1