docs.rs failed to build post-cortex-memory-0.4.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
post-cortex-memory-0.3.1
post-cortex-memory
Conversation memory orchestrator for post-cortex.
Ties post-cortex-core, post-cortex-storage, post-cortex-embeddings, and post-cortex-proto into a single lock-free memory hierarchy with async pipelines and a canonical service trait.
Writes go through MemoryServiceImpl::update_context: the request is redacted (see post_cortex_core::redact), validated, and returned only after the storage write is acknowledged (durable in the response). Embedding, entity-graph merge and summary refresh then run on the bounded background pipeline. Session persists are coalesced and ordered per session, so the newest snapshot is always written last.
Install
[]
= "0.4"
What's inside
| Module | Contents |
|---|---|
ConversationMemorySystem |
Top-level orchestrator |
MemoryServiceImpl |
Implementation of post_cortex_core::services::PostCortexService |
Pipeline / PipelineConfig |
Bounded MPSC work queues for the derived work after a write (embeddings, graph, summaries) |
memory_system::* |
Session manager, storage actor, coalescing per-session persister, circuit breaker |
content_vectorizer::* |
Embedding ingestion + semantic search over per-session vector indexes |
semantic_query_engine |
High-level query API over vector + storage |
query_cache |
Semantic-search result cache keyed by a hash of the full query parameters, checked before the query is embedded and invalidated per session on writes |
context_assembly |
Graph-aware context retrieval (entity match, one-hop graph, impact analysis, recency — no embeddings) |
jsonpath |
JSONPath subset behind the select parameter of semantic_search / assemble_context |
scoring |
Relevance scoring helpers (temporal decay, composite) |
Example
use PostCortexService; // from post-cortex-core
use ;
use Arc;
use Duration;
async
Features
| Feature | Default | What it enables |
|---|---|---|
embeddings |
yes | Embedding-backed code paths (vectorization, semantic search). The Model2Vec backend of post-cortex-embeddings is always compiled in |
bert |
no | BERT backend (post-cortex-embeddings/bert); selecting a BERT model without it fails at engine load |
surrealdb-storage |
no | Forward to post-cortex-storage/surrealdb-storage |
otel |
no | Pulls the OpenTelemetry crates (opentelemetry, opentelemetry_sdk, opentelemetry-otlp, tracing-opentelemetry) |
License
MIT — see LICENSE.