Variable MJFeaturePipelineVersionSchemaConst
MJFeaturePipelineVersionSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
ActivatedAt: ZodNullable<ZodDate>;
AIModel: ZodNullable<ZodString>;
AIModelID: ZodNullable<ZodString>;
ApprovedByUser: ZodNullable<ZodString>;
ApprovedByUserID: ZodNullable<ZodString>;
BackfilledAt: ZodNullable<ZodDate>;
Gated: ZodBoolean;
GoldenSetTest: ZodNullable<ZodString>;
GoldenSetTestID: ZodNullable<ZodString>;
GoldenSetTestRun: ZodNullable<ZodString>;
GoldenSetTestRunID: ZodNullable<ZodString>;
ID: ZodString;
Metric: ZodNullable<ZodLiteral<"accuracy">>;
ParametersHash: ZodNullable<ZodString>;
PinHash: ZodString;
Prompt: ZodNullable<ZodString>;
PromptID: ZodNullable<ZodString>;
PromptVersionHash: ZodNullable<ZodString>;
RecordProcess: ZodString;
RecordProcessID: ZodString;
ResultDetails: ZodNullable<ZodString>;
ResultLower: ZodNullable<ZodNumber>;
ResultN: ZodNullable<ZodNumber>;
ResultUpper: ZodNullable<ZodNumber>;
ResultValue: ZodNullable<ZodNumber>;
RetiredAt: ZodNullable<ZodDate>;
SpecHash: ZodString;
Status: ZodUnion<
[
ZodLiteral<"Active">,
ZodLiteral<"Candidate">,
ZodLiteral<"Refused">,
ZodLiteral<"Retired">,
],
>;
Threshold: ZodNullable<ZodNumber>;
Version: ZodNumber;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ActivatedAt?: Date;
AIModel?: string;
AIModelID?: string;
ApprovedByUser?: string;
ApprovedByUserID?: string;
BackfilledAt?: Date;
Gated?: boolean;
GoldenSetTest?: string;
GoldenSetTestID?: string;
GoldenSetTestRun?: string;
GoldenSetTestRunID?: string;
ID?: string;
Metric?: "accuracy";
ParametersHash?: string;
PinHash?: string;
Prompt?: string;
PromptID?: string;
PromptVersionHash?: string;
RecordProcess?: string;
RecordProcessID?: string;
ResultDetails?: string;
ResultLower?: number;
ResultN?: number;
ResultUpper?: number;
ResultValue?: number;
RetiredAt?: Date;
SpecHash?: string;
Status?: "Active"
| "Candidate"
| "Refused"
| "Retired";
Threshold?: number;
Version?: number;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ActivatedAt?: Date;
AIModel?: string;
AIModelID?: string;
ApprovedByUser?: string;
ApprovedByUserID?: string;
BackfilledAt?: Date;
Gated?: boolean;
GoldenSetTest?: string;
GoldenSetTestID?: string;
GoldenSetTestRun?: string;
GoldenSetTestRunID?: string;
ID?: string;
Metric?: "accuracy";
ParametersHash?: string;
PinHash?: string;
Prompt?: string;
PromptID?: string;
PromptVersionHash?: string;
RecordProcess?: string;
RecordProcessID?: string;
ResultDetails?: string;
ResultLower?: number;
ResultN?: number;
ResultUpper?: number;
ResultValue?: number;
RetiredAt?: Date;
SpecHash?: string;
Status?: "Active"
| "Candidate"
| "Refused"
| "Retired";
Threshold?: number;
Version?: number;
},
> = ...
zod schema definition for the entity MJ: Feature Pipeline Versions