Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AQ-MedAI/MedMemoryBench
/ functions
Functions
13,378 in github.com/AQ-MedAI/MedMemoryBench
⨍
Functions
13,378
◇
Types & classes
2,886
↳
Endpoints
355
↓ 7 callers
Function
register_cache_provider
Register a cache provider with Mirix. Similar to register_auth_provider() pattern. Last registered provider becomes the active one.
methods/MIRIX/mirix/database/cache_provider.py:46
↓ 7 callers
Method
release
Final release method that handles the cleanup process.
methods/MemRL/3rdparty/LifelongAgentBench/src/tasks/task.py:474
↓ 7 callers
Method
release_read
Release read lock
methods/memOS/MemOS/src/memos/memos_tools/thread_safe_dict_segment.py:55
↓ 7 callers
Function
render_prompt
Render a Jinja2 template asynchronously. :param filename: The name of the template file to render. :param context: The context to render the t
methods/cognee/infrastructure/llm/prompts/render_prompt.py:5
↓ 7 callers
Method
run
Run the main demo logic.
methods/memOS/MemOS/examples/mem_reader/parser_demos/_base.py:23
↓ 7 callers
Method
save
(self)
benchmarks/medmemorybench/checkpoint.py:108
↓ 7 callers
Method
save_checkpoint_snapshot
Save an independent snapshot of the current MemCube and vector store to the specified checkpoint directory. Directory structu
methods/MemRL/memrl/service/memory_service.py:1745
↓ 7 callers
Function
sendToPlaywright
(message: CDPResponse | CDPEvent, clientId?: string)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/skills/dev-browser/src/relay.ts:134
↓ 7 callers
Method
set
( self, item_index: int, item: ChatHistoryItem | Mapping[str, Role | str] )
methods/MemRL/3rdparty/LifelongAgentBench/src/typings/session.py:28
↓ 7 callers
Method
set_in_context_messages
( self, agent_id: str, message_ids: List[str], actor: PydanticClient )
methods/MIRIX/mirix/services/agent_manager.py:1564
↓ 7 callers
Method
set_json
Store data as Redis JSON (for complex structures with embeddings). Args: key: Redis key data: Data to store
methods/MIRIX/mirix/database/redis_client.py:800
↓ 7 callers
Function
split_continuous_references
Split continuous reference tags into individual reference tags. Converts patterns like [1:92ff35fb, 4:bfe6f044] to [1:92ff35fb] [4:bfe6f044]
methods/memOS/MemOS/src/memos/mem_os/utils/reference_utils.py:6
↓ 7 callers
Function
sse_formatter
Prefix with 'data: ', and always include double newlines
methods/letta/server/rest_api/utils.py:41
↓ 7 callers
Function
to_iso
Convert datetime to ISO string; return None if not convertible.
methods/memOS/MemOS/src/memos/mem_scheduler/utils/monitor_event_utils.py:20
↓ 7 callers
Method
to_letta_messages_from_list
( messages: List[Message], use_assistant_message: bool = True, assistant_message_tool_
methods/letta/schemas/message.py:190
↓ 7 callers
Function
truncate
(text, maxLen)
methods/memOS/MemOS/apps/MemOS-Cloud-OpenClaw-Plugin/index.js:205
↓ 7 callers
Function
unpack_all_inner_thoughts_from_kwargs
Strip the inner thoughts out of the tool call and put it in the message content
methods/letta/llm_api/helpers.py:245
↓ 7 callers
Method
update
(self, phase: SelfConsistencyPhase)
methods/MemRL/3rdparty/LifelongAgentBench/src/callbacks/instance/group_self_consistency_callback.py:124
↓ 7 callers
Method
update_block
(self, block_id: str, name: Optional[str] = None, text: Optional[str] = None, limit: Optional[int] = None)
methods/letta/client/client.py:1098
↓ 7 callers
Function
xn
(e,n,t,r)
methods/letta/server/static_files/assets/index-048c9598.js:40
↓ 6 callers
Function
Bn
(e,n)
methods/letta/server/static_files/assets/index-048c9598.js:40
↓ 6 callers
Function
Gn
()
methods/letta/server/static_files/assets/index-048c9598.js:40
↓ 6 callers
Function
Jn
(e,n)
methods/letta/server/static_files/assets/index-048c9598.js:33
↓ 6 callers
Function
Ln
(e)
methods/letta/server/static_files/assets/index-048c9598.js:40
↓ 6 callers
Function
Mn
(e)
methods/letta/server/static_files/assets/index-048c9598.js:37
↓ 6 callers
Function
Qn
(e,n,t,r)
methods/letta/server/static_files/assets/index-048c9598.js:37
↓ 6 callers
Function
Sn
(e)
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 6 callers
Function
Xn
(e,n)
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 6 callers
Method
__aenter__
(self)
methods/mem0/client/main.py:710
↓ 6 callers
Method
__aexit__
(self, exc_type, exc_val, exc_tb)
methods/mem0/client/main.py:713
↓ 6 callers
Method
__setattr__
(self, k, v)
methods/letta/openai_backcompat/openai_object.py:106
↓ 6 callers
Method
_build_filter_conditions_sql
Build filter conditions for SQL queries. Args: filter: Filter dictionary with "or" or "and" logic Returns:
methods/memOS/MemOS/src/memos/graph_dbs/polardb.py:4296
↓ 6 callers
Method
_build_filter_tags_query
Build Redis Search query string from filter_tags and scopes. Delegates to the shared filter_tags_query module which handles:
methods/MIRIX/mirix/database/redis_client.py:856
↓ 6 callers
Function
_build_standard_metadata
Compose TextualMemoryMetadata with unified fields. Note: TextualMemoryMetadata(model_config.extra="allow") permits extra fields.
methods/MemRL/memrl/service/updater.py:46
↓ 6 callers
Method
_call_event
(self, event: str, callback_args: CallbackArguments)
methods/MemRL/3rdparty/LifelongAgentBench/src/callbacks/callback.py:132
↓ 6 callers
Method
_call_llm
Unified LLM call method with token tracking. Args: messages: LLM message list. caller: Caller identifier for tracking
generation/augmentation/noise_family/generator.py:566
↓ 6 callers
Function
_create_client_and_key
Create one test client and API key in the current event loop. Use this from async fixtures when you need multiple clients in the same loop
methods/MIRIX/tests/conftest.py:40
↓ 6 callers
Method
_get_key_prefix
Generate Redis key prefix for this ORM instance
methods/memOS/MemOS/src/memos/mem_scheduler/orm_modules/redis_model.py:66
↓ 6 callers
Method
_get_key_prefix
Generate Redis key prefix for this user and memory cube Returns: Redis key prefix string
methods/memOS/MemOS/src/memos/mem_scheduler/orm_modules/api_redis_model.py:81
↓ 6 callers
Method
_kp_key
Generate a unique key tuple for a knowledge point.
generation/pipeline/query_generator.py:42
↓ 6 callers
Method
_load_cum_state
(self, state_path: Optional[Path] = None)
methods/MemRL/memrl/run/hle_runner.py:145
↓ 6 callers
Function
_make_user_context
( project_id: str = PROJECT_ID, manager_user_id: str = MANAGER_USER_ID, )
methods/memOS/MemOS/tests/mem_reader/test_project_id_propagation.py:36
↓ 6 callers
Method
_queue_push
Wrapper around self.buffer.queue.put() that ensures the types are safe Data will be in the format: { "message_obj": ...
methods/letta/server/rest_api/interface.py:45
↓ 6 callers
Method
_queue_push
Wrapper around self.buffer.queue.put() that ensures the types are safe Data will be in the format: { "message_obj": ...
methods/MIRIX/mirix/interface.py:331
↓ 6 callers
Method
_register_chat_history
Initialize chat history with user ID.
methods/memOS/MemOS/src/memos/mem_os/core.py:188
↓ 6 callers
Method
_require_meta_agent
Raise if meta agent is not available (e.g. client has no write_scope).
methods/MIRIX/mirix/sdk.py:191
↓ 6 callers
Method
_set_created_and_updated_by_fields
Populate created_by_id and last_updated_by_id based on actor.
methods/MIRIX/mirix/orm/base.py:39
↓ 6 callers
Method
_validate_variable
Variable returned by argmax, argmin and count can only be used as final answer.
methods/MemRL/3rdparty/LifelongAgentBench/src/tasks/instance/knowledge_graph/api.py:92
↓ 6 callers
Method
acquire_write
Acquire a write lock. Only one writer can hold the lock.
methods/memOS/MemOS/src/memos/memos_tools/thread_safe_dict.py:47
↓ 6 callers
Method
add
Add conversation turns to memory (asynchronous processing). This method queues conversation turns for background processing by queue
methods/MIRIX/mirix/client/remote_client.py:1235
↓ 6 callers
Method
addHubGroupMember
(groupId: string, userId: string, joinedAt: number)
methods/memOS/MemOS/apps/memos-local-openclaw/src/storage/sqlite.ts:2066
↓ 6 callers
Function
add_all_memories
Add all types of memories for a user with given filter_tags. Args: client: MirixClient instance user_id: User ID fil
methods/MIRIX/tests/test_search_all_users.py:44
↓ 6 callers
Method
add_documents
One-time Add documents to both BM25 and semantic index
methods/amem/A-mem/memory_layer.py:483
↓ 6 callers
Method
add_edges
Add multiple edges in a batch operation.
methods/cognee/infrastructure/databases/graph/kuzu/adapter.py:397
↓ 6 callers
Function
add_llm_args
Add LLM hyperparameter options to a parser.
generation/pipeline/cli.py:47
↓ 6 callers
Method
add_result
(self, result: MetricResult, context_id: Optional[int] = None)
src/result.py:40
↓ 6 callers
Method
add_skeleton_edge
(self, edge: "Edge")
methods/cognee/modules/graph/cognee_graph/CogneeGraphElements.py:43
↓ 6 callers
Method
apply_access_predicate
applies a WHERE clause restricting results to the given actor and access level Args: query: The initial sqlalchemy select statemen
methods/letta/orm/sqlalchemy_base.py:529
↓ 6 callers
Function
bc
(c)
data/locomo/static/js/fontawesome.all.min.js:5
↓ 6 callers
Function
bn
()
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 6 callers
Method
build
Build memory content from task description and trajectory. Args: task_description: Natural language description of the t
methods/MemRL/memrl/service/builders.py:36
↓ 6 callers
Function
buildRequestBody
(cfg: SummarizerConfig, body: Record<string, unknown>)
methods/memOS/MemOS/apps/memos-local-openclaw/src/ingest/providers/openai.ts:446
↓ 6 callers
Function
buildSkillBundleForHub
(store: SqliteStore, skillId: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/client/skill-sync.ts:10
↓ 6 callers
Function
cast_message_to_subtype
Cast a dictionary to one of the individual message types
methods/letta/schemas/openai/chat_completion_request.py:46
↓ 6 callers
Method
chunk
Chunk the given text into smaller chunks.
methods/memOS/MemOS/src/memos/chunkers/base.py:25
↓ 6 callers
Method
clear
Clear all items.
methods/memOS/MemOS/src/memos/memos_tools/lockfree_dict.py:93
↓ 6 callers
Method
clear
Remove all items from the queue. This operation is thread-safe. IMPORTANT: We also decrement `unfinished_tasks` by the number of
methods/memOS/MemOS/src/memos/mem_scheduler/general_modules/misc.py:299
↓ 6 callers
Function
code_description_to_code_part
Maps a code description query to relevant code parts using a CodeGraph pipeline. Args: query (str): The search query describing the
methods/cognee/modules/retrieval/utils/description_to_codepart_search.py:27
↓ 6 callers
Method
construct
( assignment_config: AssignmentConfig, task: Task[DatasetItem], agent: Agent,
methods/MemRL/3rdparty/LifelongAgentBench/src/callbacks/constructor.py:14
↓ 6 callers
Function
convert_config_to_env
Converts a JSON or YAML configuration file to a .env file with standardized environment variables. Uses the flatten_dict function to generate
methods/memOS/MemOS/src/memos/mem_scheduler/utils/config_utils.py:51
↓ 6 callers
Method
create_many_messages
Create multiple messages in a single database transaction. Args: pydantic_msgs: List of Pydantic message models to creat
methods/letta/services/message_manager.py:65
↓ 6 callers
Method
create_or_update_tool
Create a new tool based on the ToolCreate schema.
methods/letta/services/tool_manager.py:48
↓ 6 callers
Method
create_source
Create SourceMessage(s) from user message. For multimodal messages (content is a list), creates one SourceMessage per part.
methods/memOS/MemOS/src/memos/mem_reader/read_multi_modal/user_parser.py:42
↓ 6 callers
Function
deduplicateHits
(hits: T[])
methods/memOS/MemOS/apps/memos-local-openclaw/src/context-engine/index.ts:143
↓ 6 callers
Method
default_config
Convenience function to generate a default `LLMConfig` from a model name. Only some models are supported in this function. Args:
methods/MIRIX/mirix/schemas/llm_config.py:134
↓ 6 callers
Method
delete_client_by_id
Soft delete a client and cascade soft delete to all associated records. Cleanup workflow: 1. Soft delete all memory records
methods/MIRIX/mirix/services/client_manager.py:229
↓ 6 callers
Method
demo_source_creation
Demonstrate creating a SourceMessage from raw input.
methods/memOS/MemOS/examples/mem_reader/parser_demos/_base.py:27
↓ 6 callers
Function
deserialize_vector
Convert a base64-encoded byte string back into a NumPy array.
methods/MIRIX/mirix/helpers/converters.py:289
↓ 6 callers
Function
disposeTaskManager
()
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/opencode/task-manager.ts:645
↓ 6 callers
Function
dt
(e,n)
methods/letta/server/static_files/assets/index-048c9598.js:37
↓ 6 callers
Function
emptyState
(label: string)
methods/MIRIX/dashboard/src/pages/dashboard/Memories.tsx:312
↓ 6 callers
Function
ensure_file_context
( needs_images_dir: bool = False, )
methods/MIRIX/mirix/utils.py:1816
↓ 6 callers
Method
evaluate_answers
( self, answers: List[Dict[str, Any]], evaluator_metrics: List[str] )
methods/cognee/eval_framework/evaluation/deep_eval_adapter.py:22
↓ 6 callers
Method
export_graph
Export the entire graph as a serializable dictionary. Returns: A dictionary containing all nodes and edges.
methods/memOS/MemOS/src/memos/graph_dbs/base.py:259
↓ 6 callers
Function
extract_content
Extract content from message, handling both string and dict formats.
methods/memOS/MemOS/src/memos/reranker/strategies/dialogue_common.py:24
↓ 6 callers
Method
extract_keywords
Extract mock keywords.
methods/MemRL/memrl/providers/llm.py:450
↓ 6 callers
Function
fail
(msg)
methods/memOS/MemOS/apps/memos-local-openclaw/scripts/postinstall.cjs:20
↓ 6 callers
Function
fetchWithRetry
* Fetch with retry and exponential backoff for handling concurrent connection issues. * This is necessary when multiple tasks try to connect to the d
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/skills/dev-browser/src/client.ts:15
↓ 6 callers
Function
filter_too_short_memories
Filters out text memories that fall below the minimum length requirement. Handles both English (word count) and Chinese (character count) dif
methods/memOS/MemOS/src/memos/mem_scheduler/utils/filter_utils.py:127
↓ 6 callers
Function
filter_vector_based_similar_memories
Filters out low-quality or duplicate memories based on text similarity. Args: text_memories: List of text memories to filter
methods/memOS/MemOS/src/memos/mem_scheduler/utils/filter_utils.py:63
↓ 6 callers
Function
findTargetAssistantEntry
( branch: SessionBranchEntry[], )
methods/memOS/MemOS/apps/memos-local-openclaw/src/context-engine/index.ts:303
↓ 6 callers
Function
flushAndCleanupBatcher
(taskId: string)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/ipc/handlers.ts:185
↓ 6 callers
Method
from_dict
Create VecDBItem from dictionary.
methods/memOS/MemOS/src/memos/vec_dbs/item.py:37
↓ 6 callers
Method
from_job
Convert a Job instance to a Run instance by replacing the ID prefix. All other fields are copied as-is. Args: jo
methods/letta/schemas/run.py:34
↓ 6 callers
Method
from_yaml_file
Load configuration from a YAML file.
methods/memOS/MemOS/src/memos/configs/base.py:59
↓ 6 callers
Method
generate_events
Generate event graphs using incremental mode. 1. First generates 6 types of fixed trap events 2. Then incrementally generates regular
generation/pipeline/generator.py:155
↓ 6 callers
Function
generate_unique_short_id_async
Generate a unique short, LLM-friendly ID with collision detection (async). session_maker must be an async context manager (e.g. db_context fr
methods/MIRIX/mirix/utils.py:1522
↓ 6 callers
Method
get
Retrieve a vector by ID. Args: vector_id (str): ID of the vector to retrieve. Returns: OutputData:
methods/mem0/vector_stores/milvus.py:182
↓ 6 callers
Function
getBundledOpenCodeVersion
()
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/opencode/cli-path.ts:178
↓ 6 callers
Method
getHubMemoryBySource
(sourceUserId: string, sourceChunkId: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/storage/sqlite.ts:2447
← previous
next →
801–900 of 13,378, ranked by callers