Skip to main content
The client.semantic namespace manages the structured “Knowledge Graph” of your projects. Unlike episodic memory, which is a stream of events, semantic memory is used for organized facts, user preferences, and entity relationships.

Semantic Sets

Sets are the top-level containers for structured data within a project (e.g., a “User Preferences” set or a “Product Catalog” set).

create_set_type

Defines a new type of semantic set that can be instantiated.

Categories

Categories live inside Sets and define specific schemas for the data being stored.

add_category

Adds a new category to an existing semantic set.

Tags

Tags are the individual “facts” or “labels” stored within a category.

add_tag

Adds a specific semantic tag to a category.

Retrieval

get_features

Retrieves all semantic features (sets, categories, and tags) associated with a project or specific filter.

Deletion

delete_tag

Removes a specific tag from a category.
Deleting a Set Type will recursively delete all Categories and Tags associated with it. This action cannot be undone.