Skip to content

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

Function: isAnthropic()

isAnthropic(model): boolean

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

Determines whether the given model belongs to the Anthropic category of models.

Parameters

model

LLMModels

Returns

boolean

Licensed under BUSL-1.1