Interface IGenerativeAIRatingWorkerParameters

AI rating job parameters Interface

interface IGenerativeAIRatingWorkerParameters {
    feedback?: string;
    functions?: Map<string, IPromptFunction>;
    grammar?: string;
    history?: IPromptHistory[];
    instructions?: string;
    internalContext?: {
        [key: string]: string;
    };
    jobId: string;
    maxTokens?: number;
    rating: GenerativeAIRating;
    temperature?: number;
    threadId: string;
    type: Rating;
}

Hierarchy (view full)

Properties

feedback?: string

The feedback for the AI prompt

functions?: Map<string, IPromptFunction>

The functions that can be called by the LLM.

grammar?: string

The grammar to use for the AI job.

history?: IPromptHistory[]

The context for the AI job.

instructions?: string

The instructions for the AI job.

internalContext?: {
    [key: string]: string;
}

The internal context for the AI job.

jobId: string

The job ID.

maxTokens?: number

The maximum number of tokens to generate.

The rating for the AI prompt.

temperature?: number

The temperature for the LLM.

threadId: string

The thread ID

type: Rating

The AI job type.