smartmemory-core 0.7.2__tar.gz → 0.7.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/PKG-INFO +1 -1
- smartmemory_core-0.7.4/VERSION +1 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/handlers/__init__.py +3 -1
- smartmemory_core-0.7.4/smartmemory/memory/ingestion/handlers/document.py +80 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/structured.py +1 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/memory_item.py +1 -0
- smartmemory_core-0.7.4/smartmemory/search/recall_profile.py +56 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory_core.egg-info/SOURCES.txt +2 -0
- smartmemory_core-0.7.2/VERSION +0 -1
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/.env.example +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/CLA.md +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/LICENSE +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/LICENSE.agpl-v3 +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/LICENSE.header +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/MANIFEST.in +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/README.md +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/config.json +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/pyproject.toml +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/scripts/add_license_headers.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/scripts/migrate_agent_type.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/scripts/migrate_claude_memory.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/setup.cfg +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/__version__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/anchors/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/anchors/drift.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/anchors/manager.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/anchors/models.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/anchors/queries.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/background/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/background/extraction_worker.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/background/id_resolver.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/clear_all.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/cli.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/clustering/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/clustering/deduplicator.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/clustering/embedding.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/clustering/global_cluster.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/clustering/graph_aggregator.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/clustering/llm.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/code/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/code/indexer.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/code/models.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/code/parser.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/code/search.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/code/ts_parser.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/configuration/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/configuration/environment.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/configuration/loader.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/configuration/manager.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/configuration/models.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/configuration/validator.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/conversation/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/conversation/context.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/conversation/manager.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/conversation/session.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/corpus/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/corpus/exporter.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/corpus/format.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/corpus/importer.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/corpus/pack.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/corpus/reader.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/corpus/rebel.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/corpus/registry.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/corpus/triplet_parser.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/corpus/writer.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/data/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/data/public_knowledge/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/data/seed_patterns.jsonl +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/decisions/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/decisions/manager.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/decisions/queries.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/drift_detector.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evaluation/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evaluation/cli.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evaluation/dataset.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evaluation/judge.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evaluation/metrics.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evaluation/report.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evaluation/runner.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evolution/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evolution/batcher.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evolution/cycle.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evolution/diff_engine.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evolution/events.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evolution/flow.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evolution/models.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evolution/queue.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evolution/registry.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evolution/router.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evolution/store.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evolution/tracker.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evolution/utilities.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/evolution/worker.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/extraction/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/extraction/extractor.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/extraction/models.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/feedback/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/feedback/agentic_improvement.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/feedback/agentic_routines.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/feedback/cli.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/feedback/manager.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/feedback/slack.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/algos.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/analytics/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/analytics/edge.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/analytics/episodes.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/analytics/export.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/analytics/prune.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/analytics/temporal.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/backends/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/backends/async_backend.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/backends/async_falkordb.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/backends/backend.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/backends/falkordb.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/backends/queries.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/backends/sqlite.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/base.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/compute.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/core/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/core/edges.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/core/memory_path.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/core/nodes.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/core/search.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/cypher_algos.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/indexes.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/models/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/models/canonical_types.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/models/node_types.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/models/schema_validator.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/networkx_algos.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/ontology_graph.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/smartgraph.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/types/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/types/episodic.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/types/interfaces.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/types/procedural.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/types/semantic.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/types/zettel.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/benchmark.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/executors.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/falkordb_store.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/miner.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/models.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/public_knowledge_grounder.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/registry.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/schemas.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/snapshot.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/sparql_client.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/sqlite_store.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/store.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/type_map.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/inference/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/inference/engine.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/inference/rules.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/archive/archive_provider.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/chat/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/chat/hitl.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/chat/integration.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/llm/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/llm/llm_client.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/llm/prompts/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/llm/prompts/prompt_manager.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/llm/prompts/prompt_provider.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/llm/prompts/prompts.json +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/llm/prompts/prompts_loader.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/llm/providers.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/llm/response_parser.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/integration/wikipedia_client.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/interfaces.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/managers/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/managers/debug.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/managers/enrichment.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/managers/evolution.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/managers/monitoring.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/base.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/canonical_store.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/context_types.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/enrichment.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/extraction.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/flow.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/grounding.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/handlers/anchor.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/handlers/code_entity.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/handlers/conversation_turn.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/handlers/decision.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/handlers/hook_capture.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/handlers/plan.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/handlers/plan_task.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/handlers/seed_item.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/handlers/tool_call.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/observer.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/registry.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/storage.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/utils.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/memory_factory.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/migrate.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/mixins.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/models/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/models/memory_item.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/classification.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/components.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/config.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/enrichment.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/extractor.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/grounding.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/input_adapter.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/linking.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/plugin_base.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/stages/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/stages/analytics.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/stages/clustering.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/stages/coreference.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/stages/crud.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/stages/enrichment.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/stages/evolution.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/stages/graph_operations.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/stages/grounding.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/stages/linking.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/stages/monitoring.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/stages/personalization.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/stages/search.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/stages/validation.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/state.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/storage.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/transactions/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/transactions/change_set.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/transactions/ops.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/pipeline/transactions/transaction.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/types/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/types/episodic_memory.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/types/factory_memory_creator.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/types/procedural_memory.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/types/semantic_memory.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/types/wikilink_parser.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/types/working_memory.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/types/zettel_extensions.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/types/zettel_memory.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/utils.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/metrics/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/metrics/graph_health.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/base.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/compat/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/compat/boundary_converter.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/compat/dataclass_model.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/compat/simple_boundary.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/concept.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/conditional_step.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/corpus.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/decision.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/drift_event.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/entity.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/entity_types.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/ingestion_strategy.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/library.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/link_types.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/note.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/ontology.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/opinion.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/procedure.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/reasoning.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/schema_snapshot.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/status.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/step.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/tag.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/models/user_model.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/observability/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/observability/events.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/observability/instrumentation.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/observability/json_formatter.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/observability/logging_filter.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/observability/retrieval_tracking.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/observability/tracing.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/entity_pair_cache.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/falkordb_pattern_store.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/governance.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/governance_manager.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/hitl/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/hitl/hitl_interface.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/in_memory_store.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/inference/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/inference/inference.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/inference/ontogpt.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/ir_models.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/layered.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/llm_manager.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/manager.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/models.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/pattern_manager.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/promotion.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/reasoning_validator.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/registry.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/sqlite_store.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/template_service.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/templates/_manifest.json +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/templates/business.json +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/templates/general.json +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/ontology/templates/software.json +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/origin_policy.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/config.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/metrics_consumer.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/protocol.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/runner.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/stages/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/stages/classify.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/stages/coreference.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/stages/enrich.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/stages/entity_ruler.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/stages/evolve.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/stages/ground.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/stages/link.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/stages/llm_extract.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/stages/ontology_constrain.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/stages/reasoning_detect.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/stages/simplify.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/stages/store.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/state.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/token_tracker.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/transport/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/pipeline/transport/event_bus.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plans/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plans/failure_journal.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plans/manager.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plans/queries.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/base.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/embedding.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/enrichers/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/enrichers/basic.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/enrichers/link_expansion.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/enrichers/sentiment.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/enrichers/skills_tools.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/enrichers/temporal.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/enrichers/topic.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/enrichers/usage_tracking.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/base.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/decision_confidence.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/enhanced/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/enhanced/exponential_decay.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/enhanced/hebbian_co_retrieval.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/enhanced/interference_based_consolidation.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/enhanced/retrieval_based_strengthening.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/enhanced/working_to_episodic.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/episodic_decay.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/episodic_to_semantic.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/episodic_to_zettel.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/observation_synthesis.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/opinion_reinforcement.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/opinion_synthesis.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/semantic_decay.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/stale_memory.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/working_to_episodic.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/working_to_procedural.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/evolvers/zettel_prune.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/executor.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/extractors/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/extractors/conversation_aware_llm.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/extractors/decision.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/extractors/llm.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/extractors/llm_single.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/extractors/reasoning.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/extractors/spacy.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/grounders/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/grounders/wikipedia.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/manager.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/registry.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/resolvers/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/resolvers/external_resolver.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/plugins/security.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/procedure_matcher.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/procedures/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/procedures/candidate_namer.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/procedures/candidate_scorer.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/procedures/models.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/procedures/pattern_detector.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/py.typed +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/challenger.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/confidence.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/detection/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/detection/base.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/detection/cascade.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/detection/embedding.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/detection/graph.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/detection/heuristic.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/detection/llm.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/fuzzy_confidence.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/models.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/proof_tree.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/query_router.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/reasoner.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/residuation.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/resolution/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/resolution/base.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/resolution/cascade.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/resolution/grounding.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/resolution/llm.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/resolution/recency.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/reasoning/resolution/wikipedia.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/relations/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/relations/benchmark.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/relations/discovery.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/relations/normalizer.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/relations/overlays.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/relations/schema.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/relations/scorer.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/relations/validator.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/retrieval/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/retrieval/ssg_traversal.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/schema_diff.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/schema_providers.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/scope_provider.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/search/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/search/query_decomposer.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/search/rrf_merge.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/similarity/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/similarity/enhanced_metrics.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/similarity/framework.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/smart_memory.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/base.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/converters/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/converters/episodic_converter.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/converters/procedural_converter.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/converters/semantic_converter.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/converters/zettel_converter.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/corpus/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/corpus/store.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/example_memory_handler.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/external/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/external/file_handler.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/external/mcp_handler.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/external/s3_handler.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/external/web_handler.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/factory.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/json_store.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/mixins.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/ontology/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/ontology/falkordb.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/ontology/redis_service.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/persistence/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/persistence/base.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/persistence/entity_handler.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/persistence/json.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/persistence/model.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/persistence/ontology_handlers.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/registrations.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/registry.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/vector/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/vector/backends/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/vector/backends/base.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/vector/backends/falkor.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/vector/backends/usearch.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/stores/vector/vector_store.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/streams/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/streams/pipeline_producer.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/temporal/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/temporal/context.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/temporal/performance.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/temporal/queries.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/temporal/relationships.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/temporal/version_tracker.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/tools/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/tools/factory.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/tools/markdown_writer.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/utils/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/utils/cache.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/utils/chunking.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/utils/context.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/utils/deduplication.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/utils/hybrid_retrieval.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/utils/llm.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/utils/llm_client/dspy.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/utils/llm_client/litellm.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/utils/llm_client/openai.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/utils/llm_client/openai_chat.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/utils/pipeline_utils.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/utils/serialization.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/utils/token_tracking.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/validation/__init__.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/validation/edge_validator.py +0 -0
- {smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/validation/memory_validator.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.7.4
|
{smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/handlers/__init__.py
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Structured ingestion handlers (CORE-STRUCT-1 Phase 1b/1c, CORE-GAPS-2).
|
|
1
|
+
"""Structured ingestion handlers (CORE-STRUCT-1 Phase 1b/1c/2, CORE-GAPS-2).
|
|
2
2
|
|
|
3
3
|
Each handler implements the StructuredHandler protocol for a specific schema type.
|
|
4
4
|
"""
|
|
@@ -6,6 +6,7 @@ Each handler implements the StructuredHandler protocol for a specific schema typ
|
|
|
6
6
|
from smartmemory.memory.ingestion.handlers.code_entity import CodeEntityHandler
|
|
7
7
|
from smartmemory.memory.ingestion.handlers.conversation_turn import ConversationTurnHandler
|
|
8
8
|
from smartmemory.memory.ingestion.handlers.decision import DecisionHandler
|
|
9
|
+
from smartmemory.memory.ingestion.handlers.document import DocumentHandler
|
|
9
10
|
from smartmemory.memory.ingestion.handlers.hook_capture import HookCaptureHandler
|
|
10
11
|
from smartmemory.memory.ingestion.handlers.plan import PlanHandler
|
|
11
12
|
from smartmemory.memory.ingestion.handlers.plan_task import PlanTaskHandler
|
|
@@ -16,6 +17,7 @@ __all__ = [
|
|
|
16
17
|
"CodeEntityHandler",
|
|
17
18
|
"ConversationTurnHandler",
|
|
18
19
|
"DecisionHandler",
|
|
20
|
+
"DocumentHandler",
|
|
19
21
|
"HookCaptureHandler",
|
|
20
22
|
"PlanHandler",
|
|
21
23
|
"PlanTaskHandler",
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"""DocumentHandler — structured ingestion for document content (CORE-STRUCT-1 Phase 2).
|
|
2
|
+
|
|
3
|
+
Strategy: FULL — documents are user-facing knowledge that needs embedding for search.
|
|
4
|
+
Accepts pre-parsed document content with optional metadata (title, author, source,
|
|
5
|
+
file_type, page_count). Callers handle file I/O and parsing; this handler handles
|
|
6
|
+
storage, embedding, and indexing.
|
|
7
|
+
|
|
8
|
+
For large documents, callers should chunk content before calling ingest_structured()
|
|
9
|
+
multiple times with the same source_url to link chunks. The existing chunking utilities
|
|
10
|
+
in smartmemory/utils/chunking.py can be used for this.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import annotations
|
|
14
|
+
|
|
15
|
+
from typing import Optional
|
|
16
|
+
|
|
17
|
+
from smartmemory.models.ingestion_strategy import IngestionStrategy
|
|
18
|
+
from smartmemory.models.memory_item import MemoryItem
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class DocumentHandler:
|
|
22
|
+
"""Structured handler for document records."""
|
|
23
|
+
|
|
24
|
+
strategy = IngestionStrategy.FULL
|
|
25
|
+
schema_name = "document"
|
|
26
|
+
embed: Optional[bool] = None # defer to FULL default (embed)
|
|
27
|
+
|
|
28
|
+
def validate(self, data: dict) -> bool:
|
|
29
|
+
"""Require non-empty content."""
|
|
30
|
+
content = data.get("content")
|
|
31
|
+
return isinstance(content, str) and len(content.strip()) > 0
|
|
32
|
+
|
|
33
|
+
def to_memory_item(self, data: dict) -> MemoryItem:
|
|
34
|
+
# Pass through caller metadata first, then overlay known fields (known fields win)
|
|
35
|
+
meta: dict = {}
|
|
36
|
+
if data.get("metadata"):
|
|
37
|
+
meta.update(data["metadata"])
|
|
38
|
+
|
|
39
|
+
# Document metadata — set after passthrough so known fields are never overwritten
|
|
40
|
+
if data.get("title"):
|
|
41
|
+
meta["title"] = data["title"]
|
|
42
|
+
if data.get("author"):
|
|
43
|
+
meta["author"] = data["author"]
|
|
44
|
+
if data.get("source_url"):
|
|
45
|
+
meta["source_url"] = data["source_url"]
|
|
46
|
+
if data.get("file_type"):
|
|
47
|
+
meta["file_type"] = data["file_type"]
|
|
48
|
+
if data.get("page_count") is not None:
|
|
49
|
+
meta["page_count"] = data["page_count"]
|
|
50
|
+
if data.get("section"):
|
|
51
|
+
meta["section"] = data["section"]
|
|
52
|
+
if data.get("chunk_index") is not None:
|
|
53
|
+
meta["chunk_index"] = data["chunk_index"]
|
|
54
|
+
meta["total_chunks"] = data.get("total_chunks", 1)
|
|
55
|
+
|
|
56
|
+
return MemoryItem(
|
|
57
|
+
content=data["content"],
|
|
58
|
+
memory_type="document",
|
|
59
|
+
metadata=meta,
|
|
60
|
+
origin=data.get("origin", "structured:document"),
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
def get_edges(self, data: dict, item_id: str) -> list[tuple[str, str, str, dict]]:
|
|
64
|
+
"""Create PART_OF edge if this is a chunk of a larger document."""
|
|
65
|
+
edges = []
|
|
66
|
+
parent_id = data.get("parent_document_id")
|
|
67
|
+
if parent_id:
|
|
68
|
+
edges.append((
|
|
69
|
+
item_id,
|
|
70
|
+
parent_id,
|
|
71
|
+
"PART_OF",
|
|
72
|
+
{"origin": "structured:document", "confidence": 1.0},
|
|
73
|
+
))
|
|
74
|
+
return edges
|
|
75
|
+
|
|
76
|
+
def get_indexes(self) -> list[str]:
|
|
77
|
+
return [
|
|
78
|
+
"CREATE INDEX IF NOT EXISTS idx_document_file_type ON nodes(json_extract(properties, '$.file_type'))",
|
|
79
|
+
"CREATE INDEX IF NOT EXISTS idx_document_source_url ON nodes(json_extract(properties, '$.source_url'))",
|
|
80
|
+
]
|
{smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/memory/ingestion/structured.py
RENAMED
|
@@ -75,6 +75,7 @@ class StructuredHandlerRegistry:
|
|
|
75
75
|
("code_entity", "smartmemory.memory.ingestion.handlers.code_entity", "CodeEntityHandler"),
|
|
76
76
|
("plan", "smartmemory.memory.ingestion.handlers.plan", "PlanHandler"),
|
|
77
77
|
("anchor", "smartmemory.memory.ingestion.handlers.anchor", "AnchorHandler"),
|
|
78
|
+
("document", "smartmemory.memory.ingestion.handlers.document", "DocumentHandler"),
|
|
78
79
|
]
|
|
79
80
|
for schema_name, module_path, class_name in _defaults:
|
|
80
81
|
try:
|
|
@@ -28,6 +28,7 @@ MEMORY_TYPES = {
|
|
|
28
28
|
"hook_capture", # APPEND: hook event telemetry (CORE-STRUCT-1 Phase 1b)
|
|
29
29
|
"plan", # INDEXED: plan containers (CORE-GAPS-2 Phase 1)
|
|
30
30
|
"anchor", # INDEXED: spec anchors for anti-drift (CORE-GAPS-1)
|
|
31
|
+
"document", # FULL: document content with metadata (CORE-STRUCT-1 Phase 2)
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"""Recall profile re-ranking (CORE-MULTI-AGENT-1 Phase 3).
|
|
2
|
+
|
|
3
|
+
Applies per-agent memory type weight multipliers to search results,
|
|
4
|
+
enabling different agents to get different rankings from the same
|
|
5
|
+
knowledge base. Default profile (empty/None) preserves current behavior.
|
|
6
|
+
|
|
7
|
+
Recall profiles are dicts with optional keys:
|
|
8
|
+
memory_type_weights: dict[str, float] — multipliers per memory type (default 1.0)
|
|
9
|
+
|
|
10
|
+
channel_weights support is deferred until CORE-SEARCH-2 Phase 3 delivers
|
|
11
|
+
named channel attribution. When available, channel_weights will multiply
|
|
12
|
+
per-channel scores before RRF fusion (profile weights * channel weights).
|
|
13
|
+
|
|
14
|
+
Example profile for a "skeptical" agent that favors decisions and procedures:
|
|
15
|
+
{"memory_type_weights": {"decision": 2.0, "procedural": 1.5, "episodic": 0.5}}
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
from __future__ import annotations
|
|
19
|
+
|
|
20
|
+
import logging
|
|
21
|
+
from typing import Any, Optional
|
|
22
|
+
|
|
23
|
+
logger = logging.getLogger(__name__)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def apply_recall_profile(
|
|
27
|
+
results: list[Any],
|
|
28
|
+
profile: Optional[dict],
|
|
29
|
+
) -> list[Any]:
|
|
30
|
+
"""Re-rank search results by applying recall profile weights.
|
|
31
|
+
|
|
32
|
+
Args:
|
|
33
|
+
results: Search results (MemoryItem instances with .memory_type and optional score).
|
|
34
|
+
profile: Recall profile dict with optional memory_type_weights.
|
|
35
|
+
None or empty dict = no-op (preserves original ranking).
|
|
36
|
+
|
|
37
|
+
Returns:
|
|
38
|
+
Re-ranked results list. Original list is not mutated.
|
|
39
|
+
"""
|
|
40
|
+
if not profile or not results:
|
|
41
|
+
return results
|
|
42
|
+
|
|
43
|
+
weights = profile.get("memory_type_weights")
|
|
44
|
+
if not weights:
|
|
45
|
+
return results
|
|
46
|
+
|
|
47
|
+
def score_key(item: Any) -> float:
|
|
48
|
+
memory_type = getattr(item, "memory_type", None) or ""
|
|
49
|
+
multiplier = weights.get(memory_type, 1.0)
|
|
50
|
+
# Use existing score if available, otherwise use position-based score
|
|
51
|
+
base_score = getattr(item, "score", None)
|
|
52
|
+
if base_score is None:
|
|
53
|
+
base_score = 1.0
|
|
54
|
+
return base_score * multiplier
|
|
55
|
+
|
|
56
|
+
return sorted(results, key=score_key, reverse=True)
|
|
@@ -197,6 +197,7 @@ smartmemory/memory/ingestion/handlers/anchor.py
|
|
|
197
197
|
smartmemory/memory/ingestion/handlers/code_entity.py
|
|
198
198
|
smartmemory/memory/ingestion/handlers/conversation_turn.py
|
|
199
199
|
smartmemory/memory/ingestion/handlers/decision.py
|
|
200
|
+
smartmemory/memory/ingestion/handlers/document.py
|
|
200
201
|
smartmemory/memory/ingestion/handlers/hook_capture.py
|
|
201
202
|
smartmemory/memory/ingestion/handlers/plan.py
|
|
202
203
|
smartmemory/memory/ingestion/handlers/plan_task.py
|
|
@@ -417,6 +418,7 @@ smartmemory/retrieval/__init__.py
|
|
|
417
418
|
smartmemory/retrieval/ssg_traversal.py
|
|
418
419
|
smartmemory/search/__init__.py
|
|
419
420
|
smartmemory/search/query_decomposer.py
|
|
421
|
+
smartmemory/search/recall_profile.py
|
|
420
422
|
smartmemory/search/rrf_merge.py
|
|
421
423
|
smartmemory/similarity/__init__.py
|
|
422
424
|
smartmemory/similarity/enhanced_metrics.py
|
smartmemory_core-0.7.2/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.7.2
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/background/extraction_worker.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/clustering/graph_aggregator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/data/public_knowledge/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/feedback/agentic_improvement.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/backends/async_backend.py
RENAMED
|
File without changes
|
{smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/backends/async_falkordb.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/models/canonical_types.py
RENAMED
|
File without changes
|
|
File without changes
|
{smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/graph/models/schema_validator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{smartmemory_core-0.7.2 → smartmemory_core-0.7.4}/smartmemory/grounding/public_knowledge_grounder.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|