Skip to main content

AnalysisFn

AnalysisFn = (prompt) => Promise<string>

Defined in: types.ts:775

User-provided LLM function. AgentFlow constructs prompts and delegates the actual LLM call to this function. Any provider can be wrapped as an AnalysisFn.

Parameters

ParameterType
promptstring

Returns

Promise<string>