-
Notifications
You must be signed in to change notification settings - Fork 0
Category Settings Guide
github-actions[bot] edited this page Apr 27, 2026
·
1 revision
This document was generated on 2026-04-27, 09:12:28 UTC. Please do not edit this page directly.
This page explains how to configure categories in Settings -> Category.
In the UI, each category card has these required fields:
-
Name (
name) -
Flow Type (
flow.name) with valuesSimpleorProduct -
Description (
description) -
Structured Response Schema (JSON Object) (
flow.structured_response_schema)
Minimal working example:
{
"name": "Complaint",
"description": "Customer reports dissatisfaction or a problem.",
"flow": {
"name": "simple",
"structured_response_schema": {
"type": "object",
"properties": {
"complaints": {
"type": "array",
"items": { "type": "string" }
},
"urgency": { "type": "integer" }
},
"required": ["complaints", "urgency"]
}
}
}| UI field label | JSON key |
|---|---|
Name |
name |
Flow Type dropdown (Simple / Product) |
flow.name (simple / product) |
Description |
description |
Structured Response Schema (JSON Object) |
flow.structured_response_schema |
Structured Response Prompt (Optional) |
flow.structured_response_prompt |
Summary Prompt (Optional) |
flow.summary_prompt |
DB Step Prompt (Product Flow only) |
flow.db_step_prompt |
Email Response Prompt (Optional) |
flow.email_response_prompt |
-
name: category label in output and category matching. -
description: context text used during categorization and per-category prompting. -
flow.name:-
simple: summary + structured output + optional response drafting. -
product: same as simple, plus product DB step.
-
-
flow.structured_response_schema: schema passed to structured output generation.
Practical required keys are:
"type": "object""properties": { ... }
Why these are required:
- The Settings UI validation rejects schema JSON without root
type: "object"andproperties. - The structured output step expects an object schema.
Additional schema notes:
-
"required"is optional but strongly recommended for stable outputs. -
"title"is optional.- If missing, backend auto-generates one from category name.
- If present and containing spaces, backend sanitizes it before provider call.
{
"name": "Product Inquiry",
"description": "Customer asks about product availability or ordering.",
"flow": {
"name": "product",
"structured_response_schema": {
"type": "object",
"title": "Product Inquiry",
"properties": {
"products": {
"type": "array",
"items": {
"type": "object",
"properties": {
"product_name": { "type": "string" },
"quantity": { "type": "integer" }
},
"required": ["product_name", "quantity"]
}
},
"urgency": { "type": "integer" }
},
"required": ["products", "urgency"]
},
"db_step_prompt": "Database hints: product names are stored in German.",
"structured_response_prompt": "Be concise and use exact quantities from the email.",
"summary_prompt": "Summarize in one short paragraph.",
"email_response_prompt": "If product is unclear, ask follow-up questions."
}
}Currently maintained by Jonas Lilienbecker,
Moritz Beck, and Moritz Wieland.
Under supervision of Innolizer as part of the Software Engineering project in the winter
term 25/26.