Variable MJAIAgentExampleSchemaConst
MJAIAgentExampleSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
AccessCount: ZodNumber;
Agent: ZodNullable<ZodString>;
AgentID: ZodString;
Comments: ZodNullable<ZodString>;
Company: ZodNullable<ZodString>;
CompanyID: ZodNullable<ZodString>;
EmbeddingModel: ZodNullable<ZodString>;
EmbeddingModelID: ZodNullable<ZodString>;
EmbeddingVector: ZodNullable<ZodString>;
ExampleInput: ZodString;
ExampleOutput: ZodString;
ExpiresAt: ZodNullable<ZodDate>;
ID: ZodString;
IsAutoGenerated: ZodBoolean;
LastAccessedAt: ZodNullable<ZodDate>;
PrimaryScopeEntity: ZodNullable<ZodString>;
PrimaryScopeEntityID: ZodNullable<ZodString>;
PrimaryScopeRecordID: ZodNullable<ZodString>;
SecondaryScopes: ZodNullable<ZodString>;
SourceAIAgentRun: ZodNullable<ZodString>;
SourceAIAgentRunID: ZodNullable<ZodString>;
SourceConversation: ZodNullable<ZodString>;
SourceConversationDetail: ZodNullable<ZodString>;
SourceConversationDetailID: ZodNullable<ZodString>;
SourceConversationID: ZodNullable<ZodString>;
Status: ZodUnion<
[
ZodLiteral<"Active">,
ZodLiteral<"Archived">,
ZodLiteral<"Pending">,
ZodLiteral<"Revoked">,
],
>;
SuccessScore: ZodNullable<ZodNumber>;
Type: ZodUnion<
[
ZodLiteral<"Constraint">,
ZodLiteral<"Context">,
ZodLiteral<"Example">,
ZodLiteral<"Issue">,
ZodLiteral<"Preference">,
],
>;
User: ZodNullable<ZodString>;
UserID: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AccessCount?: number;
Agent?: string;
AgentID?: string;
Comments?: string;
Company?: string;
CompanyID?: string;
EmbeddingModel?: string;
EmbeddingModelID?: string;
EmbeddingVector?: string;
ExampleInput?: string;
ExampleOutput?: string;
ExpiresAt?: Date;
ID?: string;
IsAutoGenerated?: boolean;
LastAccessedAt?: Date;
PrimaryScopeEntity?: string;
PrimaryScopeEntityID?: string;
PrimaryScopeRecordID?: string;
SecondaryScopes?: string;
SourceAIAgentRun?: string;
SourceAIAgentRunID?: string;
SourceConversation?: string;
SourceConversationDetail?: string;
SourceConversationDetailID?: string;
SourceConversationID?: string;
Status?: "Active"
| "Pending"
| "Revoked"
| "Archived";
SuccessScore?: number;
Type?: "Context" | "Constraint" | "Example" | "Issue" | "Preference";
User?: string;
UserID?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AccessCount?: number;
Agent?: string;
AgentID?: string;
Comments?: string;
Company?: string;
CompanyID?: string;
EmbeddingModel?: string;
EmbeddingModelID?: string;
EmbeddingVector?: string;
ExampleInput?: string;
ExampleOutput?: string;
ExpiresAt?: Date;
ID?: string;
IsAutoGenerated?: boolean;
LastAccessedAt?: Date;
PrimaryScopeEntity?: string;
PrimaryScopeEntityID?: string;
PrimaryScopeRecordID?: string;
SecondaryScopes?: string;
SourceAIAgentRun?: string;
SourceAIAgentRunID?: string;
SourceConversation?: string;
SourceConversationDetail?: string;
SourceConversationDetailID?: string;
SourceConversationID?: string;
Status?: "Active"
| "Pending"
| "Revoked"
| "Archived";
SuccessScore?: number;
Type?: "Context" | "Constraint" | "Example" | "Issue" | "Preference";
User?: string;
UserID?: string;
},
> = ...
zod schema definition for the entity MJ: AI Agent Examples