Skip to content

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

Function: isOpenAI() ​

isOpenAI(model): boolean

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

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

Parameters ​

model ​

LLMModels

Returns ​

boolean

Licensed under BUSL-1.1