smartmemory 0.1.6__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-0.1.6/.env.example +66 -0
- smartmemory-0.1.6/LICENSE +31 -0
- smartmemory-0.1.6/LICENSE.agpl-v3 +661 -0
- smartmemory-0.1.6/LICENSE.header +18 -0
- smartmemory-0.1.6/MANIFEST.in +31 -0
- smartmemory-0.1.6/PKG-INFO +599 -0
- smartmemory-0.1.6/README.md +512 -0
- smartmemory-0.1.6/config.json +157 -0
- smartmemory-0.1.6/pyproject.toml +162 -0
- smartmemory-0.1.6/setup.cfg +4 -0
- smartmemory-0.1.6/smartmemory/__init__.py +20 -0
- smartmemory-0.1.6/smartmemory/__version__.py +48 -0
- smartmemory-0.1.6/smartmemory/clear_all.py +130 -0
- smartmemory-0.1.6/smartmemory/cli.py +449 -0
- smartmemory-0.1.6/smartmemory/configuration/__init__.py +288 -0
- smartmemory-0.1.6/smartmemory/configuration/environment.py +189 -0
- smartmemory-0.1.6/smartmemory/configuration/manager.py +244 -0
- smartmemory-0.1.6/smartmemory/configuration/models.py +154 -0
- smartmemory-0.1.6/smartmemory/configuration/validator.py +383 -0
- smartmemory-0.1.6/smartmemory/conversation/__init__.py +8 -0
- smartmemory-0.1.6/smartmemory/conversation/context.py +75 -0
- smartmemory-0.1.6/smartmemory/conversation/manager.py +98 -0
- smartmemory-0.1.6/smartmemory/conversation/session.py +37 -0
- smartmemory-0.1.6/smartmemory/evolution/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/evolution/cycle.py +35 -0
- smartmemory-0.1.6/smartmemory/evolution/flow.py +75 -0
- smartmemory-0.1.6/smartmemory/evolution/registry.py +190 -0
- smartmemory-0.1.6/smartmemory/evolution/utilities.py +315 -0
- smartmemory-0.1.6/smartmemory/extraction/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/extraction/extractor.py +500 -0
- smartmemory-0.1.6/smartmemory/extraction/models.py +87 -0
- smartmemory-0.1.6/smartmemory/feedback/__init__.py +1 -0
- smartmemory-0.1.6/smartmemory/feedback/agentic_improvement.py +79 -0
- smartmemory-0.1.6/smartmemory/feedback/agentic_routines.py +204 -0
- smartmemory-0.1.6/smartmemory/feedback/cli.py +7 -0
- smartmemory-0.1.6/smartmemory/feedback/manager.py +27 -0
- smartmemory-0.1.6/smartmemory/feedback/slack.py +65 -0
- smartmemory-0.1.6/smartmemory/graph/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/graph/analytics/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/graph/analytics/edge.py +17 -0
- smartmemory-0.1.6/smartmemory/graph/analytics/episodes.py +28 -0
- smartmemory-0.1.6/smartmemory/graph/analytics/export.py +28 -0
- smartmemory-0.1.6/smartmemory/graph/analytics/prune.py +52 -0
- smartmemory-0.1.6/smartmemory/graph/analytics/temporal.py +30 -0
- smartmemory-0.1.6/smartmemory/graph/backends/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/graph/backends/backend.py +63 -0
- smartmemory-0.1.6/smartmemory/graph/backends/falkordb.py +871 -0
- smartmemory-0.1.6/smartmemory/graph/backends/queries.py +149 -0
- smartmemory-0.1.6/smartmemory/graph/base.py +137 -0
- smartmemory-0.1.6/smartmemory/graph/core/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/graph/core/edges.py +227 -0
- smartmemory-0.1.6/smartmemory/graph/core/memory_path.py +274 -0
- smartmemory-0.1.6/smartmemory/graph/core/nodes.py +366 -0
- smartmemory-0.1.6/smartmemory/graph/core/search.py +313 -0
- smartmemory-0.1.6/smartmemory/graph/models/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/graph/models/canonical_types.py +213 -0
- smartmemory-0.1.6/smartmemory/graph/models/node_types.py +311 -0
- smartmemory-0.1.6/smartmemory/graph/models/schema_validator.py +666 -0
- smartmemory-0.1.6/smartmemory/graph/smartgraph.py +275 -0
- smartmemory-0.1.6/smartmemory/graph/types/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/graph/types/episodic.py +345 -0
- smartmemory-0.1.6/smartmemory/graph/types/interfaces.py +165 -0
- smartmemory-0.1.6/smartmemory/graph/types/procedural.py +224 -0
- smartmemory-0.1.6/smartmemory/graph/types/semantic.py +342 -0
- smartmemory-0.1.6/smartmemory/graph/types/zettel.py +187 -0
- smartmemory-0.1.6/smartmemory/grounding/__init__.py +15 -0
- smartmemory-0.1.6/smartmemory/grounding/executors.py +40 -0
- smartmemory-0.1.6/smartmemory/grounding/registry.py +24 -0
- smartmemory-0.1.6/smartmemory/grounding/schemas.py +41 -0
- smartmemory-0.1.6/smartmemory/integration/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/integration/archive/archive_provider.py +59 -0
- smartmemory-0.1.6/smartmemory/integration/chat/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/integration/chat/hitl.py +507 -0
- smartmemory-0.1.6/smartmemory/integration/chat/integration.py +274 -0
- smartmemory-0.1.6/smartmemory/integration/llm/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/integration/llm/llm_client.py +336 -0
- smartmemory-0.1.6/smartmemory/integration/llm/prompts/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/integration/llm/prompts/prompt_manager.py +275 -0
- smartmemory-0.1.6/smartmemory/integration/llm/prompts/prompt_provider.py +184 -0
- smartmemory-0.1.6/smartmemory/integration/llm/prompts/prompts.json +40 -0
- smartmemory-0.1.6/smartmemory/integration/llm/prompts/prompts_loader.py +204 -0
- smartmemory-0.1.6/smartmemory/integration/llm/providers.py +373 -0
- smartmemory-0.1.6/smartmemory/integration/llm/response_parser.py +258 -0
- smartmemory-0.1.6/smartmemory/integration/wikipedia_client.py +139 -0
- smartmemory-0.1.6/smartmemory/memory/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/memory/base.py +296 -0
- smartmemory-0.1.6/smartmemory/memory/canonical_store.py +67 -0
- smartmemory-0.1.6/smartmemory/memory/context_types.py +14 -0
- smartmemory-0.1.6/smartmemory/memory/fast_ingestion_flow.py +502 -0
- smartmemory-0.1.6/smartmemory/memory/ingestion/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/memory/ingestion/enrichment.py +122 -0
- smartmemory-0.1.6/smartmemory/memory/ingestion/extraction.py +243 -0
- smartmemory-0.1.6/smartmemory/memory/ingestion/flow.py +398 -0
- smartmemory-0.1.6/smartmemory/memory/ingestion/grounding.py +30 -0
- smartmemory-0.1.6/smartmemory/memory/ingestion/observer.py +331 -0
- smartmemory-0.1.6/smartmemory/memory/ingestion/registry.py +226 -0
- smartmemory-0.1.6/smartmemory/memory/ingestion/storage.py +213 -0
- smartmemory-0.1.6/smartmemory/memory/ingestion/utils.py +231 -0
- smartmemory-0.1.6/smartmemory/memory/memory_factory.py +228 -0
- smartmemory-0.1.6/smartmemory/memory/migrate.py +127 -0
- smartmemory-0.1.6/smartmemory/memory/mixins.py +335 -0
- smartmemory-0.1.6/smartmemory/memory/models/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/memory/models/memory_item.py +64 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/classification.py +176 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/components.py +535 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/config.py +188 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/enrichment.py +284 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/extractor.py +383 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/grounding.py +192 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/input_adapter.py +157 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/linking.py +346 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/plugin_base.py +70 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/stages/__init__.py +1 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/stages/analytics.py +641 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/stages/crud.py +321 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/stages/enrichment.py +110 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/stages/evolution.py +243 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/stages/graph_operations.py +97 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/stages/grounding.py +116 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/stages/linking.py +69 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/stages/monitoring.py +118 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/stages/personalization.py +16 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/stages/search.py +207 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/stages/validation.py +204 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/state.py +147 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/storage.py +343 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/transactions/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/transactions/change_set.py +70 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/transactions/ops.py +324 -0
- smartmemory-0.1.6/smartmemory/memory/pipeline/transactions/transaction.py +87 -0
- smartmemory-0.1.6/smartmemory/memory/types/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/memory/types/episodic_memory.py +197 -0
- smartmemory-0.1.6/smartmemory/memory/types/factory_memory_creator.py +268 -0
- smartmemory-0.1.6/smartmemory/memory/types/procedural_memory.py +192 -0
- smartmemory-0.1.6/smartmemory/memory/types/semantic_memory.py +156 -0
- smartmemory-0.1.6/smartmemory/memory/types/wikilink_parser.py +352 -0
- smartmemory-0.1.6/smartmemory/memory/types/working_memory.py +178 -0
- smartmemory-0.1.6/smartmemory/memory/types/zettel_extensions.py +833 -0
- smartmemory-0.1.6/smartmemory/memory/types/zettel_memory.py +460 -0
- smartmemory-0.1.6/smartmemory/memory/utils.py +16 -0
- smartmemory-0.1.6/smartmemory/models/__init__.py +1 -0
- smartmemory-0.1.6/smartmemory/models/base.py +109 -0
- smartmemory-0.1.6/smartmemory/models/compat/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/models/compat/boundary_converter.py +172 -0
- smartmemory-0.1.6/smartmemory/models/compat/dataclass_model.py +300 -0
- smartmemory-0.1.6/smartmemory/models/compat/simple_boundary.py +62 -0
- smartmemory-0.1.6/smartmemory/models/concept.py +39 -0
- smartmemory-0.1.6/smartmemory/models/conditional_step.py +31 -0
- smartmemory-0.1.6/smartmemory/models/entity.py +38 -0
- smartmemory-0.1.6/smartmemory/models/entity_types.py +70 -0
- smartmemory-0.1.6/smartmemory/models/link_types.py +15 -0
- smartmemory-0.1.6/smartmemory/models/memory_item.py +353 -0
- smartmemory-0.1.6/smartmemory/models/note.py +31 -0
- smartmemory-0.1.6/smartmemory/models/ontology.py +457 -0
- smartmemory-0.1.6/smartmemory/models/procedure.py +34 -0
- smartmemory-0.1.6/smartmemory/models/status.py +46 -0
- smartmemory-0.1.6/smartmemory/models/step.py +33 -0
- smartmemory-0.1.6/smartmemory/models/tag.py +36 -0
- smartmemory-0.1.6/smartmemory/models/user_model.py +74 -0
- smartmemory-0.1.6/smartmemory/observability/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/observability/events.py +416 -0
- smartmemory-0.1.6/smartmemory/observability/instrumentation.py +420 -0
- smartmemory-0.1.6/smartmemory/observability/json_formatter.py +38 -0
- smartmemory-0.1.6/smartmemory/observability/logging_filter.py +107 -0
- smartmemory-0.1.6/smartmemory/ontology/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/ontology/governance.py +499 -0
- smartmemory-0.1.6/smartmemory/ontology/governance_manager.py +123 -0
- smartmemory-0.1.6/smartmemory/ontology/hitl/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/ontology/hitl/hitl_interface.py +453 -0
- smartmemory-0.1.6/smartmemory/ontology/inference/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/ontology/inference/inference.py +486 -0
- smartmemory-0.1.6/smartmemory/ontology/inference/ontogpt.py +511 -0
- smartmemory-0.1.6/smartmemory/ontology/ir_models.py +277 -0
- smartmemory-0.1.6/smartmemory/ontology/llm_manager.py +515 -0
- smartmemory-0.1.6/smartmemory/ontology/manager.py +196 -0
- smartmemory-0.1.6/smartmemory/ontology/models.py +224 -0
- smartmemory-0.1.6/smartmemory/ontology/registry.py +508 -0
- smartmemory-0.1.6/smartmemory/plugins/__init__.py +51 -0
- smartmemory-0.1.6/smartmemory/plugins/base.py +446 -0
- smartmemory-0.1.6/smartmemory/plugins/embedding.py +140 -0
- smartmemory-0.1.6/smartmemory/plugins/enrichers/__init__.py +16 -0
- smartmemory-0.1.6/smartmemory/plugins/enrichers/basic.py +74 -0
- smartmemory-0.1.6/smartmemory/plugins/enrichers/sentiment.py +155 -0
- smartmemory-0.1.6/smartmemory/plugins/enrichers/skills_tools.py +67 -0
- smartmemory-0.1.6/smartmemory/plugins/enrichers/temporal.py +76 -0
- smartmemory-0.1.6/smartmemory/plugins/enrichers/topic.py +135 -0
- smartmemory-0.1.6/smartmemory/plugins/enrichers/wikipedia.py +87 -0
- smartmemory-0.1.6/smartmemory/plugins/evolvers/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/plugins/evolvers/base.py +17 -0
- smartmemory-0.1.6/smartmemory/plugins/evolvers/enhanced/__init__.py +62 -0
- smartmemory-0.1.6/smartmemory/plugins/evolvers/enhanced/working_to_episodic.py +187 -0
- smartmemory-0.1.6/smartmemory/plugins/evolvers/episodic_decay.py +51 -0
- smartmemory-0.1.6/smartmemory/plugins/evolvers/episodic_to_semantic.py +55 -0
- smartmemory-0.1.6/smartmemory/plugins/evolvers/episodic_to_zettel.py +52 -0
- smartmemory-0.1.6/smartmemory/plugins/evolvers/semantic_decay.py +51 -0
- smartmemory-0.1.6/smartmemory/plugins/evolvers/working_to_episodic.py +63 -0
- smartmemory-0.1.6/smartmemory/plugins/evolvers/working_to_procedural.py +52 -0
- smartmemory-0.1.6/smartmemory/plugins/evolvers/zettel_prune.py +112 -0
- smartmemory-0.1.6/smartmemory/plugins/executor.py +150 -0
- smartmemory-0.1.6/smartmemory/plugins/extractors/__init__.py +11 -0
- smartmemory-0.1.6/smartmemory/plugins/extractors/llm.py +457 -0
- smartmemory-0.1.6/smartmemory/plugins/extractors/rebel.py +83 -0
- smartmemory-0.1.6/smartmemory/plugins/extractors/relik.py +66 -0
- smartmemory-0.1.6/smartmemory/plugins/extractors/spacy.py +206 -0
- smartmemory-0.1.6/smartmemory/plugins/grounders/__init__.py +5 -0
- smartmemory-0.1.6/smartmemory/plugins/grounders/wikipedia.py +114 -0
- smartmemory-0.1.6/smartmemory/plugins/manager.py +607 -0
- smartmemory-0.1.6/smartmemory/plugins/registry.py +499 -0
- smartmemory-0.1.6/smartmemory/plugins/resolvers/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/plugins/resolvers/external_resolver.py +60 -0
- smartmemory-0.1.6/smartmemory/plugins/security.py +392 -0
- smartmemory-0.1.6/smartmemory/py.typed +0 -0
- smartmemory-0.1.6/smartmemory/reasoning/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/reasoning/reasoner.py +50 -0
- smartmemory-0.1.6/smartmemory/similarity/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/similarity/enhanced_metrics.py +849 -0
- smartmemory-0.1.6/smartmemory/similarity/framework.py +448 -0
- smartmemory-0.1.6/smartmemory/smart_memory.py +782 -0
- smartmemory-0.1.6/smartmemory/stores/__init__.py +1 -0
- smartmemory-0.1.6/smartmemory/stores/base.py +228 -0
- smartmemory-0.1.6/smartmemory/stores/converters/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/stores/converters/episodic_converter.py +350 -0
- smartmemory-0.1.6/smartmemory/stores/converters/procedural_converter.py +440 -0
- smartmemory-0.1.6/smartmemory/stores/converters/semantic_converter.py +290 -0
- smartmemory-0.1.6/smartmemory/stores/converters/zettel_converter.py +341 -0
- smartmemory-0.1.6/smartmemory/stores/example_memory_handler.py +235 -0
- smartmemory-0.1.6/smartmemory/stores/external/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/stores/external/file_handler.py +78 -0
- smartmemory-0.1.6/smartmemory/stores/external/mcp_handler.py +143 -0
- smartmemory-0.1.6/smartmemory/stores/external/s3_handler.py +101 -0
- smartmemory-0.1.6/smartmemory/stores/external/web_handler.py +75 -0
- smartmemory-0.1.6/smartmemory/stores/factory.py +265 -0
- smartmemory-0.1.6/smartmemory/stores/json_store.py +380 -0
- smartmemory-0.1.6/smartmemory/stores/mixins.py +354 -0
- smartmemory-0.1.6/smartmemory/stores/ontology/__init__.py +81 -0
- smartmemory-0.1.6/smartmemory/stores/ontology/chroma.py +373 -0
- smartmemory-0.1.6/smartmemory/stores/ontology/falkordb.py +354 -0
- smartmemory-0.1.6/smartmemory/stores/ontology/redis_service.py +339 -0
- smartmemory-0.1.6/smartmemory/stores/ontology/vector.py +368 -0
- smartmemory-0.1.6/smartmemory/stores/persistence/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/stores/persistence/base.py +54 -0
- smartmemory-0.1.6/smartmemory/stores/persistence/entity_handler.py +245 -0
- smartmemory-0.1.6/smartmemory/stores/persistence/json.py +104 -0
- smartmemory-0.1.6/smartmemory/stores/persistence/model.py +131 -0
- smartmemory-0.1.6/smartmemory/stores/persistence/ontology_handlers.py +175 -0
- smartmemory-0.1.6/smartmemory/stores/prompt_handler.py +323 -0
- smartmemory-0.1.6/smartmemory/stores/registrations.py +6 -0
- smartmemory-0.1.6/smartmemory/stores/registry.py +34 -0
- smartmemory-0.1.6/smartmemory/stores/vector/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/stores/vector/backends/__init__.py +9 -0
- smartmemory-0.1.6/smartmemory/stores/vector/backends/base.py +64 -0
- smartmemory-0.1.6/smartmemory/stores/vector/backends/chroma.py +58 -0
- smartmemory-0.1.6/smartmemory/stores/vector/backends/falkor.py +163 -0
- smartmemory-0.1.6/smartmemory/stores/vector/vector_operations.py +337 -0
- smartmemory-0.1.6/smartmemory/stores/vector/vector_store.py +321 -0
- smartmemory-0.1.6/smartmemory/temporal/__init__.py +41 -0
- smartmemory-0.1.6/smartmemory/temporal/context.py +86 -0
- smartmemory-0.1.6/smartmemory/temporal/performance.py +429 -0
- smartmemory-0.1.6/smartmemory/temporal/queries.py +664 -0
- smartmemory-0.1.6/smartmemory/temporal/relationships.py +540 -0
- smartmemory-0.1.6/smartmemory/temporal/version_tracker.py +372 -0
- smartmemory-0.1.6/smartmemory/toolbox/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/toolbox/finders/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/toolbox/finders/custom_tools.py +68 -0
- smartmemory-0.1.6/smartmemory/toolbox/finders/mcp_tools.py +219 -0
- smartmemory-0.1.6/smartmemory/toolbox/finders/smolagents_tools.py +119 -0
- smartmemory-0.1.6/smartmemory/toolbox/tool_utils.py +105 -0
- smartmemory-0.1.6/smartmemory/toolbox/toolbox.py +113 -0
- smartmemory-0.1.6/smartmemory/tools/__init__.py +0 -0
- smartmemory-0.1.6/smartmemory/tools/code_execution.py +273 -0
- smartmemory-0.1.6/smartmemory/tools/file_operations.py +206 -0
- smartmemory-0.1.6/smartmemory/tools/web_operations.py +310 -0
- smartmemory-0.1.6/smartmemory/tools/wikipedia.py +103 -0
- smartmemory-0.1.6/smartmemory/utils/__init__.py +94 -0
- smartmemory-0.1.6/smartmemory/utils/cache.py +245 -0
- smartmemory-0.1.6/smartmemory/utils/context.py +45 -0
- smartmemory-0.1.6/smartmemory/utils/llm.py +188 -0
- smartmemory-0.1.6/smartmemory/utils/llm_client/dspy.py +147 -0
- smartmemory-0.1.6/smartmemory/utils/llm_client/litellm.py +91 -0
- smartmemory-0.1.6/smartmemory/utils/llm_client/openai.py +76 -0
- smartmemory-0.1.6/smartmemory/utils/pipeline_utils.py +67 -0
- smartmemory-0.1.6/smartmemory.egg-info/SOURCES.txt +280 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# ===== PROMPTS (smartmemory) =====
|
|
2
|
+
# Host path for local runs
|
|
3
|
+
SMARTMEMORY_PROMPTS=smart-memory/smartmemory/prompts.json
|
|
4
|
+
# Auto-start Mongo-backed overrides sync inside processes using smartmemory
|
|
5
|
+
PROMPTS_OVERRIDES_AUTO_START=true
|
|
6
|
+
# Default workspace identifier for the overrides document
|
|
7
|
+
PROMPTS_OVERRIDES_WORKSPACE_ID=default
|
|
8
|
+
|
|
9
|
+
# ===== GLOBAL CONFIGURATION =====
|
|
10
|
+
# Python
|
|
11
|
+
PYTHONPATH=/app
|
|
12
|
+
|
|
13
|
+
# Docker
|
|
14
|
+
DOCKER_COMPOSE_VERSION=3.8
|
|
15
|
+
RESTART_POLICY=unless-stopped
|
|
16
|
+
VOLUME_DRIVER=local
|
|
17
|
+
|
|
18
|
+
# Network
|
|
19
|
+
SMARTMEMORY_NETWORK=smartmemory-network
|
|
20
|
+
NETWORK_DRIVER=bridge
|
|
21
|
+
SMARTMEMORY_DEV_NETWORK=smartmemory-dev-network
|
|
22
|
+
SMARTMEMORY_DEV_NETWORK_NAME=smartmemory-dev-network
|
|
23
|
+
|
|
24
|
+
# Development
|
|
25
|
+
DEV_WORKING_DIR=/app
|
|
26
|
+
PYCACHE_EXCLUDE=/app/__pycache__
|
|
27
|
+
PYTEST_CACHE_EXCLUDE=/app/.pytest_cache
|
|
28
|
+
NODE_MODULES_EXCLUDE=/app/node_modules
|
|
29
|
+
|
|
30
|
+
SMARTMEMORY_CONFIG=config.json
|
|
31
|
+
|
|
32
|
+
# ===== FALKORDB SERVICE =====
|
|
33
|
+
# Unified port configuration
|
|
34
|
+
FALKORDB_PORT=9010
|
|
35
|
+
FALKORDB_HOST=localhost
|
|
36
|
+
FALKORDB_WEB_PORT=3000
|
|
37
|
+
FALKORDB_ARGS=--port 9010 --bind 0.0.0.0 --protected-mode no
|
|
38
|
+
FALKORDB_VOLUME_DATA=falkordb_data
|
|
39
|
+
FALKORDB_VOLUME_TARGET=/data
|
|
40
|
+
|
|
41
|
+
# ===== REDIS SERVICE =====
|
|
42
|
+
# Unified port configuration
|
|
43
|
+
REDIS_PORT=9012
|
|
44
|
+
REDIS_HOST=localhost
|
|
45
|
+
REDIS_MAXMEMORY=256mb
|
|
46
|
+
REDIS_MAXMEMORY_POLICY=allkeys-lru
|
|
47
|
+
REDIS_VOLUME_DATA=redis_data
|
|
48
|
+
REDIS_VOLUME_TARGET=/data
|
|
49
|
+
|
|
50
|
+
# ===== EMBEDDING PROVIDERS =====
|
|
51
|
+
# Choose provider: openai, ollama, or huggingface
|
|
52
|
+
EMBEDDING_PROVIDER=openai
|
|
53
|
+
EMBEDDING_MODEL=text-embedding-ada-002
|
|
54
|
+
|
|
55
|
+
# OpenAI
|
|
56
|
+
OPENAI_API_KEY=
|
|
57
|
+
|
|
58
|
+
# HuggingFace (optional - for API-based inference)
|
|
59
|
+
HUGGINGFACE_API_KEY=
|
|
60
|
+
# HuggingFace model (for both API and local inference)
|
|
61
|
+
# Popular options: sentence-transformers/all-MiniLM-L6-v2, sentence-transformers/all-mpnet-base-v2
|
|
62
|
+
HUGGINGFACE_MODEL=sentence-transformers/all-MiniLM-L6-v2
|
|
63
|
+
|
|
64
|
+
# Ollama (for local inference)
|
|
65
|
+
OLLAMA_URL=http://localhost:11434
|
|
66
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
### Open Source License (AGPL v3)
|
|
2
|
+
For open-source projects, SmartMemory is licensed under the **GNU Affero General Public License v3.0**. This ensures that any derivative works or applications using SmartMemory must also be open-sourced under compatible terms.
|
|
3
|
+
|
|
4
|
+
- ✅ **Free for open-source projects**
|
|
5
|
+
- ✅ **Full access to source code**
|
|
6
|
+
- ⚠️ **Requires open-sourcing your application**
|
|
7
|
+
- ⚠️ **AGPL copyleft provisions apply**
|
|
8
|
+
|
|
9
|
+
### Commercial License
|
|
10
|
+
For commercial and proprietary applications, we offer commercial licenses that remove the copyleft restrictions:
|
|
11
|
+
|
|
12
|
+
- ✅ **Use in proprietary applications**
|
|
13
|
+
- ✅ **No source code disclosure required**
|
|
14
|
+
- ✅ **Flexible licensing terms**
|
|
15
|
+
- ✅ **Commercial support available**
|
|
16
|
+
|
|
17
|
+
**Contact us for commercial licensing**: help@smartmemory.ai
|
|
18
|
+
|
|
19
|
+
### Which License Do I Need?
|
|
20
|
+
|
|
21
|
+
| Use Case | License Required |
|
|
22
|
+
|----------|------------------|
|
|
23
|
+
| Open-source project | AGPL v3 (free) |
|
|
24
|
+
| Academic research | AGPL v3 (free) |
|
|
25
|
+
| Internal company tools | AGPL v3 (free) |
|
|
26
|
+
| Commercial SaaS product | Commercial license |
|
|
27
|
+
| Proprietary software distribution | Commercial license |
|
|
28
|
+
| White-label solutions | Commercial license |
|
|
29
|
+
|
|
30
|
+
See [LICENSE](LICENSE.agpl-v3) for AGPL v3 terms.
|
|
31
|
+
For a commercial license [email](info@smartmemory.ai) us.
|