Home > llm-ops > createMessageSchema > role
createMessageSchema.role property
Signature:
typescript
role?: "system" | "user" | "assistant" | "function";
role?: "system" | "user" | "assistant" | "function";