Interface IGenerativeAIWorkerParameters

Base AI job parameters Interface

interface IGenerativeAIWorkerParameters {
    feedback?: string;
    functions?: Map<string, IPromptFunction>;
    history?: IPromptHistory[];
    instructions?: string;
    maxTokens?: number;
    temperature?: number;
    threadId: string;
    type: GenerativeAIJobType;
}

Hierarchy (view full)

Properties

feedback?: string

The user feedback for the AI job.

functions?: Map<string, IPromptFunction>

The functions that can be called by the LLM.

history?: IPromptHistory[]

The context for the AI job.

instructions?: string

The instructions for the AI job.

maxTokens?: number

The maximum number of tokens to generate.

temperature?: number

The temperature for the LLM.

threadId: string

The thread id

The AI job type.