Interface IGenerativeAIRatingJob

Represents bounded rating job ready to be run or streamed.

interface IGenerativeAIRatingJob {
    id: string;
    options: IGenerativeAIRatingOptions;
    rate: (() => Promise<IGenerativeAIRatingResult>);
    rating: GenerativeAIRating;
}

Hierarchy (view full)

Properties

Properties

id: string

The job ID.

The options for the rating.

Run the rating job.

Type declaration

The rating for the job.