MCPcopy Create free account

hub / github.com/24kchengYe/MemoMind / functions

Functions1,372 in github.com/24kchengYe/MemoMind

Methodprovider_name
(self)
engine/hindsight_api/engine/embeddings.py:117
Methodprovider_name
(self)
engine/hindsight_api/engine/embeddings.py:246
Methodprovider_name
(self)
engine/hindsight_api/engine/embeddings.py:406
Methodprovider_name
(self)
engine/hindsight_api/engine/embeddings.py:532
Methodprovider_name
(self)
engine/hindsight_api/engine/embeddings.py:653
Methodprovider_name
(self)
engine/hindsight_api/engine/embeddings.py:766
Methodprune_node
Record a node being pruned (not visited). Args: node_id: Node that was pruned reason: Why it was pruned
engine/hindsight_api/engine/search/tracer.py:264
Functionrecall
Args: query: Natural language search query (e.g., "user's food preferences", "what projects is user working on")
engine/hindsight_api/mcp_tools.py:451
Methodrecall
Recall memories using 4-way parallel retrieval (synchronous wrapper). This is a synchronous wrapper around recall_async() for conven
engine/hindsight_api/engine/memory_engine.py:2242
Methodrecall_async
Recall memories relevant to a query. Args: bank_id: The memory bank ID. query: The search query.
engine/hindsight_api/engine/interface.py:70
Methodrecall_fn
(q: str, max_tokens: int = 4096, max_chunk_tokens: int = 1000)
engine/hindsight_api/engine/memory_engine.py:5169
Methodrecord_http_request
Context manager to record HTTP request metrics.
engine/hindsight_api/metrics.py:201
Methodrecord_http_request
No-op HTTP request recording.
engine/hindsight_api/metrics.py:239
Methodrecord_llm_call
Record metrics for an LLM call. Args: provider: LLM provider name (openai, anthropic, gemini, groq, ollama, lmstudio)
engine/hindsight_api/metrics.py:176
Methodrecord_llm_call
No-op LLM call recording.
engine/hindsight_api/metrics.py:225
Methodrecord_llm_call
Record metrics for an LLM call. Args: provider: LLM provider name (openai, anthropic, gemini, groq, ollama, lmstudio)
engine/hindsight_api/metrics.py:358
Methodrecord_llm_call
Record a completed LLM call as a span with GenAI semantic conventions. This creates a span AFTER the call completes, using timestamp
engine/hindsight_api/tracing.py:262
Methodrecord_llm_call
No-op.
engine/hindsight_api/tracing.py:457
Methodrecord_operation
Context manager to record operation duration and status.
engine/hindsight_api/metrics.py:165
Methodrecord_operation
No-op context manager.
engine/hindsight_api/metrics.py:214
Functionreflect
Generate thoughtful analysis by synthesizing stored memories with the bank's personality. WHEN TO USE THIS TOOL:
engine/hindsight_api/mcp_tools.py:571
Functionreflect
Standalone reflect function for generating answers based on facts. This is a static version of the reflect operation that can be called
engine/hindsight_api/engine/search/think_utils.py:194
Methodreflect_async
Reflect on a query and generate a thoughtful response. Args: bank_id: The memory bank ID. query: The questio
engine/hindsight_api/engine/interface.py:109
Methodrefresh
Refresh a mental model.
engine/hindsight/client_wrapper.py:84
Functionrefresh_mental_model
Refresh a mental model by re-running its source query. Schedules an async task to re-run the source query through reflect an
engine/hindsight_api/mcp_tools.py:1328
Methodreject
Create a rejected validation result with a reason and HTTP status code.
engine/hindsight_api/extensions/operation_validator.py:40
FunctionrenderIconSvg
(svgContent, color, size = 256)
build-ppt.js:39
Methodrerank
Rerank candidates using cross-encoder scores. Args: query: Search query candidates: Merged candidates from R
engine/hindsight_api/engine/search/reranking.py:111
Methodresolve_entity
Resolve an entity to a canonical entity ID. Args: bank_id: bank ID (entities are scoped to agents) entity_te
engine/hindsight_api/engine/entity_resolver.py:511
Functionrestore
Restore the database from a backup file. WARNING: This deletes all existing data.
engine/hindsight_api/admin/cli.py:186
Functionretain
Args: content: The fact/memory to store (be specific and include relevant details) context: Category for
engine/hindsight_api/mcp_tools.py:348
Methodretain
Store content as memory units (synchronous wrapper). This is a synchronous wrapper around retain_async() for convenience. Fo
engine/hindsight_api/engine/memory_engine.py:1864
Functionretain_batch
Process a batch of content through the retain pipeline. Args: pool: Database connection pool embeddings_model: Embeddings mo
patches/orchestrator.py:72
Functionretain_batch
Process a batch of content through the retain pipeline. Args: pool: Database connection pool embeddings_model: Embeddings mo
engine/hindsight_api/engine/retain/orchestrator.py:72
Methodretain_batch_async
Retain a batch of memory items. Args: bank_id: The memory bank ID. contents: List of content dicts with 'con
engine/hindsight_api/engine/interface.py:46
Methodretrieval
Convenience property to access retrieval data.
engine/hindsight_api/engine/search/types.py:133
Methodretrieve
Retrieve facts by expanding links from seeds. Args: pool: Database connection pool query_embedding_str: Quer
patches/link_expansion_retrieval.py:105
Methodretrieve
Retrieve facts by expanding links from seeds. Args: pool: Database connection pool query_embedding_str: Quer
engine/link_expansion_retrieval.py:105
Methodretrieve
Retrieve facts using BFS spreading activation. Algorithm: 1. Find entry points (top semantic matches above threshold)
engine/hindsight_api/engine/search/graph_retrieval.py:111
Methodretrieve
Retrieve facts by expanding links from seeds. Args: pool: Database connection pool query_embedding_str: Quer
engine/hindsight_api/engine/search/link_expansion_retrieval.py:105
Methodretrieve
Retrieve facts using MPFP algorithm with lazy edge loading. Args: pool: Database connection pool query_embed
engine/hindsight_api/engine/search/mpfp_retrieval.py:496
Methodretrieve
Retrieve file from PostgreSQL.
engine/hindsight_api/engine/storage/postgresql.py:93
Methodretrieve
(self, key: str)
engine/hindsight_api/engine/storage/gcs.py:85
Methodretrieve
(self, key: str)
engine/hindsight_api/engine/storage/azure.py:42
Methodretrieve
(self, key: str)
engine/hindsight_api/engine/storage/s3.py:51
Functionroot
Return basic worker info.
engine/hindsight_api/worker/main.py:94
Methodrun_consolidation
Run memory consolidation to create/update mental models. Args: bank_id: Bank ID to run consolidation for req
engine/hindsight_api/engine/memory_engine.py:3926
Functionrun_consolidation_job
Run consolidation job for a bank. This is called after retain operations to consolidate new memories into mental models. Args:
patches/consolidator.py:160
Functionrun_db_migration
Run database migrations to the latest version.
engine/hindsight_api/admin/cli.py:281
Functionrun_idle_checker
()
engine/hindsight_api/main.py:438
Methodrun_migration
Run migrations for a specific schema.
engine/hindsight_api/extensions/context.py:97
Methodsanitize_text
(cls, v: str)
patches/consolidator.py:51
Methodsanitize_text
(cls, v: str)
patches/consolidator.py:62
Methodsanitize_text
(cls, v: str)
engine/hindsight_api/engine/consolidation/consolidator.py:51
Methodsanitize_text
(cls, v: str)
engine/hindsight_api/engine/consolidation/consolidator.py:62
Methodsearch_mental_models_fn
(q: str, max_results: int = 5)
engine/hindsight_api/engine/memory_engine.py:5137
Methodsearch_observations_fn
(q: str, max_tokens: int = 5000)
engine/hindsight_api/engine/memory_engine.py:5155
Methodsend_wrapper
(message)
engine/hindsight_api/api/mcp.py:389
Functionset_bank_mission
Set bank mission (replacing any existing mission). Args: pool: Database connection pool bank_id: bank IDentifier mis
engine/hindsight_api/engine/retain/bank_utils.py:172
Methodset_bank_mission
Set the mission for a bank. Args: bank_id: bank IDentifier mission: The mission text request_con
engine/hindsight_api/engine/memory_engine.py:4951
Methodset_bank_mission
Set the bank's mission (replaces existing). Args: bank_id: The memory bank ID. mission: The mission text.
engine/hindsight_api/engine/interface.py:217
Methodset_db_pool
Set the database pool for metrics collection.
engine/hindsight_api/metrics.py:205
Functionset_default_graph_retriever
Set the default graph retriever (for configuration/testing).
engine/hindsight_api/engine/search/retrieval.py:82
Methodset_disposition
Set or update the disposition for a bank.
engine/hindsight/api_namespaces.py:48
Methodset_disposition
Set or update the disposition for a bank.
engine/hindsight/client_wrapper.py:44
Methodset_mission
Set or update the mission for a bank.
engine/hindsight/api_namespaces.py:43
Methodset_mission
Set or update the mission for a bank.
engine/hindsight/client_wrapper.py:40
Methodset_mock_exception
Set an exception to raise from mock calls. Args: exception: The exception to raise on the next call.
engine/hindsight_api/engine/providers/mock_llm.py:296
Methodset_mock_response
Set the response to return from mock calls.
engine/hindsight_api/engine/llm_wrapper.py:558
Methodset_mock_response
Set the response to return from mock calls. Args: response: The response to return. Can be: - A dict/Pyd
engine/hindsight_api/engine/providers/mock_llm.py:283
Functionset_read_write_mode
(dbapi_connection, connection_record)
engine/hindsight_api/alembic/env.py:124
Methodset_response_callback
Set a callback invoked on each call() instead of the fixed mock response.
engine/hindsight_api/engine/llm_wrapper.py:550
Methodset_response_callback
Set a callback invoked on each call() instead of _mock_response. The callback receives (messages, scope) and returns the response.
engine/hindsight_api/engine/providers/mock_llm.py:273
Methodshutdown
No-op for sync backend.
engine/hindsight_api/engine/task_backend.py:126
Methodshutdown
Shutdown the backend.
engine/hindsight_api/engine/task_backend.py:229
Methodsigmoid
(x)
engine/hindsight_api/engine/search/reranking.py:158
Functionsignal_handler
()
engine/hindsight_api/worker/main.py:237
Functionstart_embedded_postgres
Quick start function for embedded PostgreSQL.
engine/hindsight_api/pg0.py:136
Methodstart_idle_checker
Start the background task that checks for idle timeout.
engine/hindsight_api/daemon.py:38
Methodstart_pg0
Start pg0 if configured.
engine/hindsight_api/engine/memory_engine.py:1512
Functionstart_server
Start a Hindsight server in a background thread. This is a convenience function that creates and starts a Server instance. Args:
patches/hindsight_server.py:220
Functionstart_server
Start a Hindsight server in a background thread. This is a convenience function that creates and starts a Server instance. Args:
engine/hindsight/server.py:220
Functionstatic
Mark a config field as static (server-level only, cannot be overridden). Static fields are infrastructure-level settings that affect the ent
engine/hindsight_api/config.py:71
Functionstop_embedded_postgres
Stop the default embedded PostgreSQL instance.
engine/hindsight_api/pg0.py:141
Methodstore
Store file in PostgreSQL.
engine/hindsight_api/engine/storage/postgresql.py:68
Methodstore
(self, file_data: bytes, key: str, metadata: dict[str, str] | None = None)
engine/hindsight_api/engine/storage/gcs.py:80
Methodstore
(self, file_data: bytes, key: str, metadata: dict[str, str] | None = None)
engine/hindsight_api/engine/storage/azure.py:37
Methodstore
(self, file_data: bytes, key: str, metadata: dict[str, str] | None = None)
engine/hindsight_api/engine/storage/s3.py:46
Functionstore_chunks_batch
Store document chunks in the database. Args: conn: Database connection bank_id: Bank identifier document_id: Documen
engine/hindsight_api/engine/retain/chunk_storage.py:15
Methodsubmit_async_retain
Submit a batch retain operation to run asynchronously. Args: bank_id: The memory bank ID. contents: List of
engine/hindsight_api/engine/interface.py:565
Methodsubmit_task
Execute the task immediately (synchronously). Args: task_dict: Task dictionary to execute
engine/hindsight_api/engine/task_backend.py:114
Methodsubmit_task
Store task payload in async_operations table. The task_dict should contain an 'operation_id' if updating an existing operati
engine/hindsight_api/engine/task_backend.py:168
Methodsupports
Check if markitdown supports this file type.
engine/hindsight_api/engine/parsers/markitdown.py:76
FunctionsvgToBase64Png
(svgString, size = 256)
build-ppt.js:43
Methodtenant_extension
The configured tenant extension, if any.
engine/hindsight_api/engine/memory_engine.py:491
Methodto_dict
Convert to dict for JSON serialization.
engine/hindsight_api/engine/operation_metadata.py:46
Methodto_dict
Convert to dict for JSON serialization.
engine/hindsight_api/engine/operation_metadata.py:56
Methodto_dict
Convert to dict for JSON serialization.
engine/hindsight_api/engine/operation_metadata.py:67
Methodto_dict
Convert to dict for backwards compatibility. This is used during the transition period and for serialization.
engine/hindsight_api/engine/search/types.py:137
Methodto_json
Export trace as JSON string.
engine/hindsight_api/engine/search/trace.py:221
← previousnext →1,201–1,300 of 1,372, ranked by callers