Skip to content

@chinmaymk/aikit v0.0.40


@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>

Released under the MIT License.