Add Semantic Category Template
Semantic Memory: Categories
Add Semantic Category Template
Add a semantic category template to a set type.
Creates a category that will be inherited by all sets mapped to this set type. Template categories provide default extraction behavior that can be customized or disabled per-set.
Returns the unique identifier of the created category template.
POST
Add Semantic Category Template
Documentation Index
Fetch the complete documentation index at: https://docs.memmachine.ai/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
Specification model for adding a semantic category template.
Unique identifier for the semantic set type.Human-readable name for the category. Categories group related features
together for extraction and organization.The prompt template used for extracting features in this category.
This drives the LLM's feature extraction behavior.The unique identifier of the organization.
- Must not contain slashes (`/`).
- Must contain only letters, numbers, underscores, hyphens, colon, and Unicode
characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols
are allowed.
This value determines the namespace the project belongs to.Examples:
"MemVerge"
"AI_Labs"
The identifier of the project.
- Must be unique within the organization.
- Must not contain slashes (`/`).
- Must contain only letters, numbers, underscores, hyphens, colon, and Unicode
characters (e.g., Chinese/Japanese/Korean). No slashes or other symbols
are allowed.
This ID is used in API paths and resource locations.Examples:
"memmachine"
"research123"
"qa_pipeline"
Optional human-readable description of the category's purpose.Response
Successful Response
Response model for adding a semantic category.
Unique identifier for the semantic category.
