Skip to content

PersistentAI API Documentation / @persistentai/fireflow-nodes / isOpenAI

Function: isOpenAI()

isOpenAI(model): boolean

Defined in: packages/fireflow-nodes/src/nodes/ai/llm-call.node.ts:519

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

Parameters

model

LLMModels

Returns

boolean

Licensed under BUSL-1.1