Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/24kchengYe/MemoMind
/ functions
Functions
1,372 in github.com/24kchengYe/MemoMind
⨍
Functions
1,372
◇
Types & classes
350
↳
Endpoints
62
Method
cleanup
Clean up resources (no HTTP client to close for Claude Agent SDK).
engine/hindsight_api/engine/providers/claude_code_llm.py:511
Method
cleanup
Clean up HTTP client.
engine/hindsight_api/engine/providers/codex_llm.py:619
Function
clear_config_cache
Clear the config cache. Useful for testing or reloading config.
engine/hindsight_api/config.py:1397
Function
clear_memories
Clear all memories from a bank without deleting the bank itself. Optionally filter by fact type to only clear specific kinds
engine/hindsight_api/mcp_tools.py:2666
Method
clear_mock_calls
Clear the recorded mock calls.
engine/hindsight_api/engine/llm_wrapper.py:578
Method
clear_mock_calls
Clear the recorded mock calls and any set exception.
engine/hindsight_api/engine/providers/mock_llm.py:320
Method
client
Get the underlying Hindsight client for direct access. WARNING: Using this property directly means daemon restarts won't be
engine/hindsight/embedded.py:341
Function
color_mid
Color text with gradient middle color.
engine/hindsight_api/banner.py:69
Method
constraint
(start: datetime, end: datetime)
engine/hindsight_api/engine/query_analyzer.py:169
Method
constraint
(start: datetime, end: datetime)
engine/hindsight_api/engine/query_analyzer.py:350
Method
context
Get the extension context. Returns: The ExtensionContext providing system APIs. Raises: RuntimeErro
engine/hindsight_api/extensions/base.py:51
Method
convert
Parse file to text using the Vectorize Iris API. Raises: UnsupportedFileTypeError: If the Iris API rejects the file type
engine/hindsight_api/engine/parsers/iris.py:55
Method
create
Create a new mental model.
engine/hindsight/api_namespaces.py:60
Method
create
Create a new directive.
engine/hindsight/api_namespaces.py:121
Method
create
Create a new bank.
engine/hindsight/client_wrapper.py:21
Method
create
Create a new mental model.
engine/hindsight/client_wrapper.py:61
Method
create
Create a new directive.
engine/hindsight/client_wrapper.py:116
Function
create_app
Create and configure the unified Hindsight API application. Args: memory: MemoryEngine instance (already initialized with required p
engine/hindsight_api/api/__init__.py:17
Function
create_bank
Create a new memory bank or get an existing one. Memory banks are isolated stores - each one is like a separate "brain" for a user/a
engine/hindsight_api/mcp_tools.py:750
Function
create_causal_links_batch
Create causal links between facts based on LLM-extracted causal relationships. Args: conn: Database connection unit_ids: Lis
engine/hindsight_api/engine/retain/link_utils.py:730
Function
create_causal_links_batch
Create causal links between facts. Links facts that have causal relationships (causes, enables, prevents). Args: conn: Database
engine/hindsight_api/engine/retain/link_creation.py:59
Function
create_directive
Create a new directive for a memory bank. Directives guide how the memory engine processes queries and generates reflections
engine/hindsight_api/mcp_tools.py:1499
Function
create_mental_model
Create a new mental model (pinned reflection). A mental model is a living document generated by running the source_query thr
engine/hindsight_api/mcp_tools.py:964
Function
create_semantic_links_batch
Create semantic links for multiple units efficiently. For each unit, finds similar units and creates links. Args: conn: Databas
engine/hindsight_api/engine/retain/link_utils.py:521
Function
create_semantic_links_batch
Create semantic links between facts. Links facts that are semantically similar based on embeddings. Args: conn: Database connec
engine/hindsight_api/engine/retain/link_creation.py:35
Function
create_temporal_links_batch
Create temporal links between facts. Links facts that occurred close in time to each other. Args: conn: Database connection
engine/hindsight_api/engine/retain/link_creation.py:15
Function
create_temporal_links_batch_per_fact
Create temporal links for multiple units, each with their own event_date. Queries the event_date for each unit from the database and creates
engine/hindsight_api/engine/retain/link_utils.py:394
Method
datetime_encoder
(obj)
engine/hindsight_api/engine/task_backend.py:189
Function
decommission_worker
Release all tasks owned by a worker (sets status back to pending). Use this command when a worker has crashed or been removed without graceful sh
engine/hindsight_api/admin/cli.py:344
Method
delete
Delete a bank.
engine/hindsight/api_namespaces.py:38
Method
delete
Delete a mental model.
engine/hindsight/api_namespaces.py:109
Method
delete
Delete a directive.
engine/hindsight/api_namespaces.py:165
Method
delete
Delete a bank.
engine/hindsight/client_wrapper.py:36
Method
delete
Delete a mental model.
engine/hindsight/client_wrapper.py:105
Method
delete
Delete a directive.
engine/hindsight/client_wrapper.py:156
Method
delete
Delete file from PostgreSQL.
engine/hindsight_api/engine/storage/postgresql.py:111
Method
delete
(self, key: str)
engine/hindsight_api/engine/storage/gcs.py:94
Method
delete
(self, key: str)
engine/hindsight_api/engine/storage/azure.py:51
Method
delete
(self, key: str)
engine/hindsight_api/engine/storage/s3.py:60
Function
delete_bank
Delete a memory bank and all its data. WARNING: This permanently deletes the bank and all its memories, documents,
engine/hindsight_api/mcp_tools.py:2603
Method
delete_bank
Delete a bank or its memories. Args: bank_id: The memory bank ID. fact_type: If specified, only delete memor
engine/hindsight_api/engine/interface.py:238
Function
delete_directive
Delete a directive. Permanently removes a directive from the memory bank. Args: directive_id: T
engine/hindsight_api/mcp_tools.py:1593
Function
delete_document
Delete a document and its associated memories. Permanently removes a document and all memories linked to it. Ar
engine/hindsight_api/mcp_tools.py:2061
Method
delete_document
Delete a document and its memory units. Args: document_id: The document ID. bank_id: The memory bank ID.
engine/hindsight_api/engine/interface.py:386
Function
delete_memory
Delete a specific memory by ID. Permanently removes a memory unit and its associated data. Args:
engine/hindsight_api/mcp_tools.py:1836
Method
delete_memory_unit
Delete a specific memory unit. Args: unit_id: The memory unit ID. request_context: Request context for authe
engine/hindsight_api/engine/interface.py:290
Function
delete_mental_model
Delete a mental model. Permanently removes a mental model and its generated content. Args: ment
engine/hindsight_api/mcp_tools.py:1254
Method
dimension
Return the embedding dimension produced by this model.
engine/hindsight_api/engine/embeddings.py:61
Method
dimension
(self)
engine/hindsight_api/engine/embeddings.py:121
Method
dimension
(self)
engine/hindsight_api/engine/embeddings.py:250
Method
dimension
(self)
engine/hindsight_api/engine/embeddings.py:410
Method
dimension
(self)
engine/hindsight_api/engine/embeddings.py:536
Method
dimension
(self)
engine/hindsight_api/engine/embeddings.py:657
Method
dimension
(self)
engine/hindsight_api/engine/embeddings.py:770
Method
directives
Access directive operations. Each method call ensures the daemon is running before executing. Example: ```pytho
engine/hindsight/embedded.py:288
Method
directives
Access directive operations.
engine/hindsight/client_wrapper.py:232
Method
do_DELETE
(self)
dashboard.py:110
Method
do_GET
(self)
dashboard.py:80
Method
do_OPTIONS
CORS preflight handler.
dashboard.py:192
Method
do_POST
(self)
dashboard.py:98
Method
do_PUT
(self)
dashboard.py:104
Function
downgrade
Remove config column and index from banks table.
engine/hindsight_api/alembic/versions/x9s0t1u2v3w4_add_bank_config_column.py:53
Function
downgrade
Remove GIN index on result_metadata.
engine/hindsight_api/alembic/versions/y0t1u2v3w4x5_add_result_metadata_gin_index.py:44
Function
downgrade
Revert mental models v4 changes.
engine/hindsight_api/alembic/versions/h3c4d5e6f7g8_mental_models_v4.py:96
Function
downgrade
()
engine/hindsight_api/alembic/versions/a2b3c4d5e6f8_add_gin_index_source_memory_ids.py:51
Function
downgrade
()
engine/hindsight_api/alembic/versions/d9f6a3b4c5e2_rename_bank_to_interactions.py:41
Function
downgrade
Revert mental_models.id from TEXT to VARCHAR(64).
engine/hindsight_api/alembic/versions/m8h9i0j1k2l3_mental_model_id_to_text.py:36
Function
downgrade
Downgrade schema - drop all tables.
engine/hindsight_api/alembic/versions/5a366d414dce_initial_schema.py:466
Function
downgrade
()
engine/hindsight_api/alembic/versions/c3d4e5f6g7h8_add_history_to_mental_models.py:28
Function
downgrade
Remove retain_params column from documents table.
engine/hindsight_api/alembic/versions/c8e5f2a3b4d1_add_retain_params_to_documents.py:32
Function
downgrade
()
engine/hindsight_api/alembic/versions/z1u2v3w4x5y6_add_observation_tags_to_memory_units.py:33
Function
downgrade
Remove the composite index.
engine/hindsight_api/alembic/versions/f1a2b3c4d5e6_add_memory_links_composite_index.py:41
Function
downgrade
()
engine/hindsight_api/alembic/versions/d5e6f7a8b9c0_add_bank_internal_id_and_per_bank_hnsw.py:91
Function
downgrade
()
engine/hindsight_api/alembic/versions/d4e5f6g7h8i9_gin_source_memory_ids_fastupdate_off.py:45
Function
downgrade
()
engine/hindsight_api/alembic/versions/a2b3c4d5e6f7_add_text_signals_column.py:68
Function
downgrade
Remove worker columns from async_operations.
engine/hindsight_api/alembic/versions/l7g8h9i0j1k2_add_worker_columns.py:81
Function
downgrade
Drop learnings and pinned_reflections tables.
engine/hindsight_api/alembic/versions/n9i0j1k2l3m4_learnings_and_pinned_reflections.py:307
Function
downgrade
()
engine/hindsight_api/alembic/versions/e5f6g7h8i9j0_cascade_delete_ops_on_bank_delete.py:70
Function
downgrade
Remove reflect_response column from reflections.
engine/hindsight_api/alembic/versions/r3m4n5o6p7q8_add_reflect_response_to_reflections.py:40
Function
downgrade
()
engine/hindsight_api/alembic/versions/s4n5o6p7q8r9_add_consolidated_at_to_memory_units.py:49
Function
downgrade
()
engine/hindsight_api/alembic/versions/aa2b3c4d5e6f_nullable_event_date.py:32
Function
downgrade
()
engine/hindsight_api/alembic/versions/f7g8h9i0j1k2_add_webhook_http_config.py:31
Function
downgrade
Revert mental_models primary key from (bank_id, id) to (id).
engine/hindsight_api/alembic/versions/w8r9s0t1u2v3_fix_mental_models_pk_isolation.py:48
Function
downgrade
()
engine/hindsight_api/alembic/versions/e4f5a6b7c8d9_add_webhooks_tables.py:57
Function
downgrade
Revert disposition column back to personality.
engine/hindsight_api/alembic/versions/rename_personality_to_disposition.py:72
Function
downgrade
Reverse: observation -> mental_model and mental_models -> reflections.
engine/hindsight_api/alembic/versions/t5o6p7q8r9s0_rename_mental_models_to_observations.py:89
Function
downgrade
Cannot restore deleted opinions.
engine/hindsight_api/alembic/versions/i4d5e6f7g8h9_delete_opinions.py:38
Function
downgrade
Remove mental_model_versions table and version column.
engine/hindsight_api/alembic/versions/j5e6f7g8h9i0_mental_model_versions.py:84
Function
downgrade
Remove tags columns and index.
engine/hindsight_api/alembic/versions/g2a3b4c5d6e7_add_tags_column.py:42
Function
downgrade
Remove file_storage table and related columns.
engine/hindsight_api/alembic/versions/a1b2c3d4e5f6_add_file_storage_table.py:55
Function
downgrade
Reverse the migration.
engine/hindsight_api/alembic/versions/p1k2l3m4n5o6_new_knowledge_architecture.py:129
Function
downgrade
()
engine/hindsight_api/alembic/versions/d2e3f4a5b6c7_add_memory_links_expansion_indexes.py:78
Function
downgrade
()
engine/hindsight_api/alembic/versions/c1a2b3d4e5f6_enable_pg_trgm_and_entities_trgm_index.py:42
Function
downgrade
Reverse the migration (data migration is one-way, so this just removes constraints).
engine/hindsight_api/alembic/versions/o0j1k2l3m4n5_migrate_mental_models_data.py:91
Function
downgrade
Remove chunks table and chunk_id from memory_units.
engine/hindsight_api/alembic/versions/b7c4d8e9f1a2_add_chunks_table.py:59
Function
downgrade
Remove 'mental_model' from the fact_type check constraint.
engine/hindsight_api/alembic/versions/q2l3m4n5o6p7_fix_mental_model_fact_type.py:41
Function
downgrade
Remove max_tokens and trigger columns from mental_models.
engine/hindsight_api/alembic/versions/v7q8r9s0t1u2_add_max_tokens_to_mental_models.py:45
Function
downgrade
Revert mental_models.id from TEXT to UUID.
engine/hindsight_api/alembic/versions/u6p7q8r9s0t1_mental_models_text_id.py:36
Function
downgrade
Convert back to Big Five disposition.
engine/hindsight_api/alembic/versions/e0a1b2c3d4e5_disposition_to_3_traits.py:78
Function
downgrade
()
engine/hindsight_api/alembic/versions/b4c5d6e7f8a9_backfill_observation_scopes.py:33
← previous
next →
901–1,000 of 1,372, ranked by callers