Appearance
Templates
Templates are pre-built content snippets shipped with Sosyabot and grouped by category. Use them as starting points; clone into a personal prompt to customize.
Endpoint
GET /api/v1/ai-templates list (filters: category, search)Templates are read-only from the user surface — admins manage the catalog directly.
Model shape
typescript
{
category: ObjectId, // → AiCategories
content: string, // template body
}Templates vs prompts
| Templates | Prompts | |
|---|---|---|
| Owned by | Admin (workspace-shared) | User |
| Editable from UI | No | Yes |
| Grouped by | Category | Free-form |
| Lifecycle | Long-lived catalog | Personal scratchpad |