Update Semantic Memory Config
Configuration
Update Semantic Memory Config
Update semantic memory configuration.
This endpoint updates the semantic memory configuration at runtime. Only the fields you supply are modified; omitted fields retain their current values.
The configuration includes:
- enabled: Whether semantic memory is enabled
- database: The database resource to use for storing semantic memories
- llm_model: The language model to use for feature extraction
- embedding_model: The embedder to use for semantic similarity
- ingestion_trigger_messages: Number of messages before triggering ingestion
- ingestion_trigger_age_seconds: Age threshold for triggering ingestion
PUT
Update Semantic Memory Config
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
Partial update for semantic memory configuration.
Whether semantic memory is enabled. When set to true, the required
fields (database, llm_model, embedding_model) must also be configured.
Set to false to disable semantic memory entirely.The ID of the database to use for semantic memory storage.
Must reference a database configured in the resources section. Used by
legacy semantic storage backends.The storage backend used for semantic memory.The ID of the relational database resource used to store semantic feature
data when the semantic storage backend is `vector_store`.The ID of the vector store resource used to store semantic feature
embeddings when the semantic storage backend is `vector_store`.The vector dimensions used for semantic memory embeddings. If omitted for
vector store storage, the configured embedder dimensions are used.Required range:
x > 0The ID of the language model to use for semantic memory extraction.
Must reference a language model configured in the resources section.The ID of the embedder to use for semantic memory vector search.
Must reference an embedder configured in the resources section.The number of uningested messages that triggers an ingestion cycle.Required range:
x > 0The maximum age (in seconds) of uningested messages before
triggering an ingestion cycle.Required range:
x > 0
