Variable MJAIPromptSchemaConst
MJAIPromptSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
AIModelType: ZodNullable<ZodString>;
AIModelTypeID: ZodNullable<ZodString>;
AssistantPrefill: ZodNullable<ZodString>;
CacheMatchType: ZodUnion<[ZodLiteral<"Exact">, ZodLiteral<"Vector">]>;
CacheMustMatchAgent: ZodBoolean;
CacheMustMatchConfig: ZodBoolean;
CacheMustMatchModel: ZodBoolean;
CacheMustMatchVendor: ZodBoolean;
CacheSimilarityThreshold: ZodNullable<ZodNumber>;
CacheTTLSeconds: ZodNullable<ZodNumber>;
Category: ZodNullable<ZodString>;
CategoryID: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
EffortLevel: ZodNullable<ZodNumber>;
EnableCaching: ZodBoolean;
FailoverDelaySeconds: ZodNullable<ZodNumber>;
FailoverErrorScope: ZodUnion<
[
ZodLiteral<"All">,
ZodLiteral<"All">,
ZodLiteral<"NetworkOnly">,
ZodLiteral<"NetworkOnly">,
ZodLiteral<"RateLimitOnly">,
ZodLiteral<"RateLimitOnly">,
ZodLiteral<"ServiceErrorOnly">,
ZodLiteral<"ServiceErrorOnly">,
],
>;
FailoverMaxAttempts: ZodNullable<ZodNumber>;
FailoverModelStrategy: ZodUnion<
[
ZodLiteral<"PreferDifferentModel">,
ZodLiteral<"PreferDifferentModel">,
ZodLiteral<"PreferSameModel">,
ZodLiteral<"PreferSameModel">,
ZodLiteral<"RequireSameModel">,
ZodLiteral<"RequireSameModel">,
],
>;
FailoverStrategy: ZodUnion<
[
ZodLiteral<"NextBestModel">,
ZodLiteral<"NextBestModel">,
ZodLiteral<"None">,
ZodLiteral<"None">,
ZodLiteral<"PowerRank">,
ZodLiteral<"PowerRank">,
ZodLiteral<"SameModelDifferentVendor">,
ZodLiteral<"SameModelDifferentVendor">,
],
>;
FrequencyPenalty: ZodNullable<ZodNumber>;
ID: ZodString;
IncludeLogProbs: ZodNullable<ZodBoolean>;
MaxRetries: ZodNumber;
MinP: ZodNullable<ZodNumber>;
MinPowerRank: ZodNullable<ZodNumber>;
ModelSpecificResponseFormat: ZodNullable<ZodString>;
Name: ZodString;
OutputExample: ZodNullable<ZodString>;
OutputType: ZodUnion<
[
ZodLiteral<"boolean">,
ZodLiteral<"date">,
ZodLiteral<"number">,
ZodLiteral<"object">,
ZodLiteral<"string">,
],
>;
ParallelConfigParam: ZodNullable<ZodString>;
ParallelCount: ZodNullable<ZodNumber>;
ParallelizationMode: ZodUnion<
[
ZodLiteral<"ConfigParam">,
ZodLiteral<"ModelSpecific">,
ZodLiteral<"None">,
ZodLiteral<"StaticCount">,
],
>;
PowerPreference: ZodUnion<
[ZodLiteral<"Balanced">, ZodLiteral<"Highest">, ZodLiteral<"Lowest">],
>;
PrefillFallbackMode: ZodUnion<
[
ZodLiteral<"Ignore">,
ZodLiteral<"None">,
ZodLiteral<"SystemInstruction">,
],
>;
PresencePenalty: ZodNullable<ZodNumber>;
PromptPosition: ZodUnion<[ZodLiteral<"First">, ZodLiteral<"Last">]>;
PromptRole: ZodUnion<
[
ZodLiteral<"Assistant">,
ZodLiteral<"System">,
ZodLiteral<"SystemOrUser">,
ZodLiteral<"User">,
],
>;
RequireSpecificModels: ZodBoolean;
ResponseFormat: ZodUnion<
[
ZodLiteral<"Any">,
ZodLiteral<"JSON">,
ZodLiteral<"Markdown">,
ZodLiteral<"ModelSpecific">,
ZodLiteral<"Text">,
],
>;
ResultSelectorPrompt: ZodNullable<ZodString>;
ResultSelectorPromptID: ZodNullable<ZodString>;
RetryDelayMS: ZodNumber;
RetryStrategy: ZodUnion<
[ZodLiteral<"Exponential">, ZodLiteral<"Fixed">, ZodLiteral<"Linear">],
>;
RootResultSelectorPromptID: ZodNullable<ZodString>;
Seed: ZodNullable<ZodNumber>;
SelectionStrategy: ZodUnion<
[ZodLiteral<"ByPower">, ZodLiteral<"Default">, ZodLiteral<"Specific">],
>;
Status: ZodUnion<
[ZodLiteral<"Active">, ZodLiteral<"Disabled">, ZodLiteral<"Pending">],
>;
StopSequences: ZodNullable<ZodString>;
Temperature: ZodNullable<ZodNumber>;
Template: ZodString;
TemplateID: ZodString;
TopK: ZodNullable<ZodNumber>;
TopLogProbs: ZodNullable<ZodNumber>;
TopP: ZodNullable<ZodNumber>;
Type: ZodString;
TypeID: ZodString;
ValidationBehavior: ZodUnion<
[ZodLiteral<"None">, ZodLiteral<"Strict">, ZodLiteral<"Warn">],
>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AIModelType?: string;
AIModelTypeID?: string;
AssistantPrefill?: string;
CacheMatchType?: "Exact"
| "Vector";
CacheMustMatchAgent?: boolean;
CacheMustMatchConfig?: boolean;
CacheMustMatchModel?: boolean;
CacheMustMatchVendor?: boolean;
CacheSimilarityThreshold?: number;
CacheTTLSeconds?: number;
Category?: string;
CategoryID?: string;
Description?: string;
EffortLevel?: number;
EnableCaching?: boolean;
FailoverDelaySeconds?: number;
FailoverErrorScope?:
| "All"
| "NetworkOnly"
| "RateLimitOnly"
| "ServiceErrorOnly";
FailoverMaxAttempts?: number;
FailoverModelStrategy?: | "PreferDifferentModel"
| "PreferSameModel"
| "RequireSameModel";
FailoverStrategy?: | "None"
| "PowerRank"
| "NextBestModel"
| "SameModelDifferentVendor";
FrequencyPenalty?: number;
ID?: string;
IncludeLogProbs?: boolean;
MaxRetries?: number;
MinP?: number;
MinPowerRank?: number;
ModelSpecificResponseFormat?: string;
Name?: string;
OutputExample?: string;
OutputType?: "string"
| "number"
| "boolean"
| "object"
| "date";
ParallelConfigParam?: string;
ParallelCount?: number;
ParallelizationMode?:
| "None"
| "ConfigParam"
| "StaticCount"
| "ModelSpecific";
PowerPreference?: "Balanced"
| "Highest"
| "Lowest";
PrefillFallbackMode?: "None" | "Ignore" | "SystemInstruction";
PresencePenalty?: number;
PromptPosition?: "First" | "Last";
PromptRole?: "User" | "System" | "Assistant" | "SystemOrUser";
RequireSpecificModels?: boolean;
ResponseFormat?: "Any" | "JSON" | "Markdown" | "ModelSpecific" | "Text";
ResultSelectorPrompt?: string;
ResultSelectorPromptID?: string;
RetryDelayMS?: number;
RetryStrategy?: "Exponential" | "Fixed" | "Linear";
RootResultSelectorPromptID?: string;
Seed?: number;
SelectionStrategy?: "ByPower" | "Default" | "Specific";
Status?: "Active" | "Disabled" | "Pending";
StopSequences?: string;
Temperature?: number;
Template?: string;
TemplateID?: string;
TopK?: number;
TopLogProbs?: number;
TopP?: number;
Type?: string;
TypeID?: string;
ValidationBehavior?: "None" | "Warn" | "Strict";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AIModelType?: string;
AIModelTypeID?: string;
AssistantPrefill?: string;
CacheMatchType?: "Exact"
| "Vector";
CacheMustMatchAgent?: boolean;
CacheMustMatchConfig?: boolean;
CacheMustMatchModel?: boolean;
CacheMustMatchVendor?: boolean;
CacheSimilarityThreshold?: number;
CacheTTLSeconds?: number;
Category?: string;
CategoryID?: string;
Description?: string;
EffortLevel?: number;
EnableCaching?: boolean;
FailoverDelaySeconds?: number;
FailoverErrorScope?:
| "All"
| "NetworkOnly"
| "RateLimitOnly"
| "ServiceErrorOnly";
FailoverMaxAttempts?: number;
FailoverModelStrategy?: | "PreferDifferentModel"
| "PreferSameModel"
| "RequireSameModel";
FailoverStrategy?: | "None"
| "PowerRank"
| "NextBestModel"
| "SameModelDifferentVendor";
FrequencyPenalty?: number;
ID?: string;
IncludeLogProbs?: boolean;
MaxRetries?: number;
MinP?: number;
MinPowerRank?: number;
ModelSpecificResponseFormat?: string;
Name?: string;
OutputExample?: string;
OutputType?: "string"
| "number"
| "boolean"
| "object"
| "date";
ParallelConfigParam?: string;
ParallelCount?: number;
ParallelizationMode?:
| "None"
| "ConfigParam"
| "StaticCount"
| "ModelSpecific";
PowerPreference?: "Balanced"
| "Highest"
| "Lowest";
PrefillFallbackMode?: "None" | "Ignore" | "SystemInstruction";
PresencePenalty?: number;
PromptPosition?: "First" | "Last";
PromptRole?: "User" | "System" | "Assistant" | "SystemOrUser";
RequireSpecificModels?: boolean;
ResponseFormat?: "Any" | "JSON" | "Markdown" | "ModelSpecific" | "Text";
ResultSelectorPrompt?: string;
ResultSelectorPromptID?: string;
RetryDelayMS?: number;
RetryStrategy?: "Exponential" | "Fixed" | "Linear";
RootResultSelectorPromptID?: string;
Seed?: number;
SelectionStrategy?: "ByPower" | "Default" | "Specific";
Status?: "Active" | "Disabled" | "Pending";
StopSequences?: string;
Temperature?: number;
Template?: string;
TemplateID?: string;
TopK?: number;
TopLogProbs?: number;
TopP?: number;
Type?: string;
TypeID?: string;
ValidationBehavior?: "None" | "Warn" | "Strict";
},
> = ...
zod schema definition for the entity MJ: AI Prompts