Skip to content

AiRoleSchema

katanakit-js / AiRoleSchema

const AiRoleSchema: ZodEnum<{
assistant: "assistant";
system: "system";
tool: "tool";
user: "user";
}>;

Defined in: schemas/ai.schema.ts:4

Role of a chat message in the OpenAI-compatible protocol.