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
initialize
Initialize the backend (e.g., connect to database).
engine/hindsight_api/engine/task_backend.py:56
Method
initialize
Initialize the cross-encoder model asynchronously. This should be called during startup to load/connect to the model and avo
engine/hindsight_api/engine/cross_encoder.py:67
Method
initialize
Load the cross-encoder model and initialize the executor.
engine/hindsight_api/engine/cross_encoder.py:139
Method
initialize
Initialize the HTTP client and verify server connectivity.
engine/hindsight_api/engine/cross_encoder.py:346
Method
initialize
Initialize the Cohere client.
engine/hindsight_api/engine/cross_encoder.py:490
Method
initialize
Initialize the async HTTP client.
engine/hindsight_api/engine/cross_encoder.py:595
Method
initialize
No initialization needed.
engine/hindsight_api/engine/cross_encoder.py:678
Method
initialize
Load the FlashRank model.
engine/hindsight_api/engine/cross_encoder.py:741
Method
initialize
Initialize the async HTTP client.
engine/hindsight_api/engine/cross_encoder.py:884
Method
initialize
Initialize the LiteLLM SDK client.
engine/hindsight_api/engine/cross_encoder.py:998
Method
initialize
(self)
engine/hindsight_api/engine/cross_encoder.py:1105
Method
initialize
Load the embedding model.
engine/hindsight_api/engine/embeddings.py:126
Method
initialize
Initialize the HTTP client and verify server connectivity.
engine/hindsight_api/engine/embeddings.py:292
Method
initialize
Initialize the OpenAI client and detect dimension.
engine/hindsight_api/engine/embeddings.py:415
Method
initialize
Initialize the Cohere client and detect dimension.
engine/hindsight_api/engine/embeddings.py:541
Method
initialize
Initialize the HTTP client and detect embedding dimension.
engine/hindsight_api/engine/embeddings.py:662
Method
initialize
Initialize the LiteLLM SDK client and detect dimension.
engine/hindsight_api/engine/embeddings.py:775
Function
insert_entity_links_batch
Insert all entity links using COPY to temp table + chunked INSERT for reliability. Uses PostgreSQL COPY (via copy_records_to_table) for bulk
engine/hindsight_api/engine/retain/link_utils.py:655
Function
insert_entity_links_batch
Insert entity links in batch. Args: conn: Database connection entity_links: List of EntityLink objects
engine/hindsight_api/engine/retain/entity_processing.py:100
Function
insert_facts_batch
Insert facts into the database in batch. Args: conn: Database connection bank_id: Bank identifier facts: List of Pro
patches/fact_storage.py:20
Function
insert_facts_batch
Insert facts into the database in batch. Args: conn: Database connection bank_id: Bank identifier facts: List of Pro
engine/hindsight_api/engine/retain/fact_storage.py:20
Method
is_duplicate
Check if this fact was marked as a duplicate.
engine/hindsight_api/engine/retain/types.py:179
Method
is_running
Check if the client is initialized.
engine/hindsight/embedded.py:375
Method
is_shutdown
Check if shutdown has been signaled.
engine/hindsight_api/worker/poller.py:701
Function
lifespan
Lifespan context manager for startup and shutdown events. Note: This only fires when running the app standalone, not when mounted.
engine/hindsight_api/api/http.py:1837
Method
link_unit_to_entity
Link a memory unit to an entity. Also updates co-occurrence cache with other entities in the same unit. Args: un
engine/hindsight_api/engine/entity_resolver.py:674
Method
list
List all mental models for a bank.
engine/hindsight/api_namespaces.py:76
Method
list
List all directives for a bank.
engine/hindsight/api_namespaces.py:137
Method
list
List memories in a bank.
engine/hindsight/api_namespaces.py:177
Method
list
List all banks.
engine/hindsight/client_wrapper.py:48
Method
list
List all mental models for a bank.
engine/hindsight/client_wrapper.py:76
Method
list
List all directives for a bank.
engine/hindsight/client_wrapper.py:131
Method
list
List memories in a bank.
engine/hindsight/client_wrapper.py:167
Function
list_banks
List all available memory banks. Use this tool to discover what memory banks exist in the system. Each bank is an isolated m
engine/hindsight_api/mcp_tools.py:725
Function
list_banks
List all banks in the system. Args: pool: Database connection pool Returns: List of dicts with bank_id, name, dispositi
engine/hindsight_api/engine/retain/bank_utils.py:289
Method
list_banks
List all memory banks. Args: request_context: Request context for authentication. Returns: List of
engine/hindsight_api/engine/interface.py:142
Function
list_directives
List directives for a memory bank. Directives are instructions that guide how the memory engine processes and re
engine/hindsight_api/mcp_tools.py:1421
Function
list_documents
List documents in a memory bank. Documents are containers for related memories (e.g., a conversation transcript,
engine/hindsight_api/mcp_tools.py:1909
Method
list_documents
List documents with pagination. Args: bank_id: The memory bank ID. search_query: Case-insensitive substring
engine/hindsight_api/engine/interface.py:336
Method
list_entities
List entities for a bank with pagination. Args: bank_id: The memory bank ID. limit: Maximum results.
engine/hindsight_api/engine/interface.py:430
Function
list_memories
Browse stored memories with optional filtering. Lists memory units (facts) stored in the bank. Unlike recall, this is a dire
engine/hindsight_api/mcp_tools.py:1672
Method
list_memory_units
List memory units with pagination. Args: bank_id: The memory bank ID. fact_type: Filter by fact type.
engine/hindsight_api/engine/interface.py:263
Function
list_mental_models
List mental models (pinned reflections) for a memory bank. Mental models are living documents that stay current by periodica
engine/hindsight_api/mcp_tools.py:814
Method
list_mental_models_consolidated
List auto-consolidated observations for a bank. Observations are stored in memory_units with fact_type='observation'. They are automa
engine/hindsight_api/engine/memory_engine.py:5931
Function
list_operations
List async operations for a memory bank. Operations track background tasks like retain processing, mental model refresh, etc
engine/hindsight_api/mcp_tools.py:2136
Method
list_operations
List async operations for a bank. Args: bank_id: The memory bank ID. request_context: Request context for au
engine/hindsight_api/engine/interface.py:499
Function
list_tags
List tags used in a memory bank. Tags are used to organize and filter memories, directives, and mental models.
engine/hindsight_api/mcp_tools.py:2353
Method
list_tenants
Return configured schema for single-tenant setup.
engine/hindsight_api/extensions/builtin/tenant.py:39
Method
list_tenants
Return configured schema for single-tenant setup.
engine/hindsight_api/extensions/builtin/tenant.py:77
Method
list_tenants
Return all tenant schemas that have been initialized.
engine/hindsight_api/extensions/builtin/supabase_tenant.py:413
Method
log_message
(self, format, *args)
dashboard.py:269
Function
makeBrainIcon
(color, size = 256)
build-ppt.js:58
Function
makeCheckIcon
(color, size = 256)
build-ppt.js:71
Function
makeCircleIcon
(color, size = 256)
build-ppt.js:52
Function
makeStarIcon
(color, size = 256)
build-ppt.js:77
Method
make_handler
(name: str)
engine/hindsight_api/engine/providers/claude_code_llm.py:357
Function
map_facts_to_chunks
Map fact chunk indices to chunk IDs. Args: facts_chunk_indices: List of chunk indices for each fact chunk_id_map: Dictionary
engine/hindsight_api/engine/retain/chunk_storage.py:60
Method
memories
Access memory listing operations. Each method call ensures the daemon is running before executing. Example: ```
engine/hindsight/embedded.py:316
Method
memories
Access memory listing operations.
engine/hindsight/client_wrapper.py:239
Method
mental_models
Access mental model operations. Each method call ensures the daemon is running before executing. Example: ```py
engine/hindsight/embedded.py:260
Method
mental_models
Access mental model operations.
engine/hindsight/client_wrapper.py:225
Function
merge_bank_mission
Merge new mission information with existing mission using LLM. Normalizes to first person ("I") and resolves conflicts. Args: po
engine/hindsight_api/engine/retain/bank_utils.py:197
Method
merge_bank_mission
Merge new mission information into bank profile. Args: bank_id: The memory bank ID. new_info: New mission in
engine/hindsight_api/engine/interface.py:196
Function
metrics_endpoint
Return Prometheus metrics.
engine/hindsight_api/worker/main.py:83
Function
metrics_endpoint
Return Prometheus metrics.
engine/hindsight_api/api/http.py:2107
Function
mpfp_traverse_async
Async Forward Push traversal with lazy edge loading. NOTE: For better performance with multiple patterns, use mpfp_traverse_hop_synchronized
engine/hindsight_api/engine/search/mpfp_retrieval.py:380
Method
name
(self)
patches/link_expansion_retrieval.py:102
Method
name
(self)
engine/link_expansion_retrieval.py:102
Method
name
Get parser name.
engine/hindsight_api/engine/parsers/iris.py:120
Method
name
Get parser name.
engine/hindsight_api/engine/parsers/markitdown.py:107
Method
name
Return identifier for this retrieval strategy (e.g., 'bfs', 'mpfp').
engine/hindsight_api/engine/search/graph_retrieval.py:31
Method
name
(self)
engine/hindsight_api/engine/search/graph_retrieval.py:108
Method
name
(self)
engine/hindsight_api/engine/search/link_expansion_retrieval.py:102
Method
name
(self)
engine/hindsight_api/engine/search/mpfp_retrieval.py:493
Method
noop_span_context
()
engine/hindsight_api/tracing.py:57
Function
normalize_scores_on_deltas
Normalize scores based on deltas (min-max normalization within result set). This ensures all scores are in [0, 1] range based on the spread
engine/hindsight_api/engine/search/fusion.py:80
Method
on_consolidate_complete
Called after a consolidation operation completes (success or failure). Override to implement post-operation logic such as usage trac
engine/hindsight_api/extensions/operation_validator.py:504
Method
on_shutdown
Called when Hindsight shuts down. Closes the HTTP client.
engine/hindsight_api/extensions/builtin/supabase_tenant.py:174
Method
on_startup
Called when Hindsight starts. Creates a reusable HTTP client, fetches JWKS for local JWT verification, and optionally verifi
engine/hindsight_api/extensions/builtin/supabase_tenant.py:154
Method
predict
Score query-document pairs for relevance. Uses a dedicated thread pool with limited workers to prevent CPU thrashing. Args:
engine/hindsight_api/engine/cross_encoder.py:218
Method
predict
Score query-document pairs using the remote TEI reranker. Requests are made in parallel with configurable backpressure. Arg
engine/hindsight_api/engine/cross_encoder.py:439
Method
predict
Score query-document pairs using the Cohere Rerank API. Args: pairs: List of (query, document) tuples to score
engine/hindsight_api/engine/cross_encoder.py:510
Method
predict
Score query-document pairs using the ZeroEntropy Rerank API. Args: pairs: List of (query, document) tuples to score
engine/hindsight_api/engine/cross_encoder.py:610
Method
predict
Return neutral scores - actual ranking uses RRF scores from retrieval. Args: pairs: List of (query, document) tuples (ig
engine/hindsight_api/engine/cross_encoder.py:682
Method
predict
Score query-document pairs using FlashRank. Args: pairs: List of (query, document) tuples to score Returns:
engine/hindsight_api/engine/cross_encoder.py:806
Method
predict
Score query-document pairs using the LiteLLM proxy's /rerank endpoint. Args: pairs: List of (query, document) tuples to
engine/hindsight_api/engine/cross_encoder.py:898
Method
predict
Score query-document pairs using the LiteLLM SDK. Args: pairs: List of (query, document) tuples to score Return
engine/hindsight_api/engine/cross_encoder.py:1016
Method
predict
(self, pairs: list[tuple[str, str]])
engine/hindsight_api/engine/cross_encoder.py:1162
Function
process_entities_batch
Process entities for all facts and create entity links. This function: 1. Extracts entity mentions from fact texts 2. Merges user-pr
engine/hindsight_api/engine/retain/entity_processing.py:15
Method
provider_name
Return a human-readable name for this provider (e.g., 'local', 'tei').
engine/hindsight_api/engine/cross_encoder.py:62
Method
provider_name
(self)
engine/hindsight_api/engine/cross_encoder.py:136
Method
provider_name
(self)
engine/hindsight_api/engine/cross_encoder.py:298
Method
provider_name
(self)
engine/hindsight_api/engine/cross_encoder.py:487
Method
provider_name
(self)
engine/hindsight_api/engine/cross_encoder.py:592
Method
provider_name
(self)
engine/hindsight_api/engine/cross_encoder.py:675
Method
provider_name
(self)
engine/hindsight_api/engine/cross_encoder.py:738
Method
provider_name
(self)
engine/hindsight_api/engine/cross_encoder.py:881
Method
provider_name
(self)
engine/hindsight_api/engine/cross_encoder.py:995
Method
provider_name
(self)
engine/hindsight_api/engine/cross_encoder.py:1102
Method
provider_name
Return a human-readable name for this provider (e.g., 'local', 'tei').
engine/hindsight_api/engine/embeddings.py:55
← previous
next →
1,101–1,200 of 1,372, ranked by callers