Interface IGenerativeAIRatingWorkerParameters

AI rating job parameters Interface

interface IGenerativeAIRatingWorkerParameters {
    feedback?: string;
    functions?: Map<string, IPromptFunction>;
    history?: IPromptHistory[];
    instructions?: 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.

history?: IPromptHistory[]

The context for the AI job.

instructions?: string

The instructions 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.