@chinmaymk/aikit / GenerateFunction
Type Alias: GenerateFunction()<T>
GenerateFunction<
T> = (messages,options?) =>Promise<StreamResult>
Defined in: types.ts:752
Type utility for non-streaming generation functions
Type Parameters
T
T = Record<string, unknown>
Parameters
messages
Message[]
options?
Partial<T>
Returns
Promise<StreamResult>