Skip to main content

startLLM

startLLM(opts): LLM Start an LLM span as a child of the current Turn. Throws if no Turn is active.

Parameters

NameType
optsLLMInit

Returns

LLM

Defined in

genai/api.ts:32