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
↓ 1 callers
Method
_schedule_memory_tasks
Schedule memory processing tasks based on sync mode. Args: add_req: Add memory request user_context: User co
methods/memOS/MemOS/src/memos/multi_mem_cube/single_cube.py:494
↓ 1 callers
Method
_search_by_vector
(self, qv: List[float], k: int)
methods/MemRL/memrl/service/retrievers.py:267
↓ 1 callers
Method
_search_destination_node
(self, destination_embedding, user_id, threshold=0.9)
methods/mem0/memory/graph_memory.py:457
↓ 1 callers
Method
_search_docs
Args: query: Search query string corpus: List of document texts top_k: Number of top results to return
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/bm25_util.py:76
↓ 1 callers
Method
_search_source_node
(self, source_embedding, user_id, threshold=0.9)
methods/mem0/memory/graph_memory.py:424
↓ 1 callers
Method
_search_text
Search text memories based on mode. Args: search_req: Search request user_context: User context
methods/memOS/MemOS/src/memos/multi_mem_cube/single_cube.py:184
↓ 1 callers
Method
_search_with_engine
Search for sub-questions using the provided search engine in parallel. Args: sub_questions (List[str]): List of sub-ques
methods/memOS/MemOS/src/memos/mem_os/main.py:515
↓ 1 callers
Method
_search_with_http_client
Perform search using http.client. Args: payload: Request payload Returns: Dictionary containing the
methods/memOS/MemOS/src/memos/mem_scheduler/analyzer/api_analyzer.py:148
↓ 1 callers
Method
_search_with_requests
Perform search using requests library. Args: payload: Request payload Returns: Dictionary containin
methods/memOS/MemOS/src/memos/mem_scheduler/analyzer/api_analyzer.py:115
↓ 1 callers
Method
_search_with_searcher
Search using the injected Searcher instance. IMPORTANT: This method searches "All" memory types in a single call to avoid th
methods/memOS/MemOS/src/memos/mem_scheduler/memory_manage_modules/search_service.py:162
↓ 1 callers
Method
_search_with_text_mem
Fallback: Search using direct text_mem.search() calls. This is used when no Searcher instance is available, providing backwa
methods/memOS/MemOS/src/memos/mem_scheduler/memory_manage_modules/search_service.py:234
↓ 1 callers
Function
_section_parse
(resp: str, content_text: str = "")
methods/amem/A-mem/llm_text_parsers.py:219
↓ 1 callers
Method
_select_action_from_candidate_action_list
( self, candidate_action_list: Sequence[str], session_chat_history: ChatHistory )
methods/MemRL/3rdparty/LifelongAgentBench/src/callbacks/instance/group_self_consistency_callback.py:518
↓ 1 callers
Method
_select_consultation_focus
Intelligently select the focus topic for this consultation. Args: role: Family role. session_idx: Session index (whic
generation/augmentation/noise_family/generator.py:1092
↓ 1 callers
Method
_select_topic
Select a consultation topic (avoiding duplicates).
generation/augmentation/noise/generator.py:269
↓ 1 callers
Method
_send_email
Send an email using Gmail API (native async via aiogoogle).
methods/MIRIX/mirix/functions/mcp_client/gmail_client.py:336
↓ 1 callers
Function
_send_message_to_all_agents_in_group_async
(sender_agent: "Agent", message: str)
methods/letta/functions/helpers.py:540
↓ 1 callers
Method
_send_to_memory_agents_separately
Send the processed content to all memory agents in parallel.
methods/MIRIX/mirix/agent/temporary_message_accumulator.py:664
↓ 1 callers
Method
_send_to_meta_memory_agent
Send the processed content to the meta memory agent.
methods/MIRIX/mirix/agent/temporary_message_accumulator.py:645
↓ 1 callers
Method
_serialize_redis_value
(value: Any)
methods/memOS/MemOS/src/memos/mem_scheduler/schemas/message_schemas.py:105
↓ 1 callers
Method
_session_success
Check if session was successful.
methods/MemRL/memrl/run/llb_rl_runner.py:870
↓ 1 callers
Method
_session_to_chat_messages
Best-effort extraction of full chat history as [{role, content}, ...].
methods/MemRL/memrl/run/llb_rl_runner.py:383
↓ 1 callers
Method
_session_to_trajectory
将 LLB Session 的 chat_history 序列化为可用于记忆构建的 trajectory 文本。 返回: 多行字符串,每行形如 "<role>: <content>";若无法提取则返回 None。
methods/MemRL/memrl/run/llb_rl_runner.py:776
↓ 1 callers
Method
_set_source_from_memory
set source from memory item
methods/memOS/MemOS/src/memos/mem_agent/deepsearch_agent.py:335
↓ 1 callers
Method
_setup_environment
Setup environment variables for API access.
methods/graph_rag.py:570
↓ 1 callers
Method
_setup_hipporag_path
Add HippoRAG src to sys.path and mock missing optional modules (vllm).
methods/hipporag_agent.py:373
↓ 1 callers
Method
_setup_lightmem_path
Add LightMem src to Python path.
methods/lightmem_agent.py:424
↓ 1 callers
Function
_setup_logfile
ensure the logger filepath is in place Returns: the logfile Path
methods/letta/log.py:12
↓ 1 callers
Function
_setup_logfile
ensure the logger filepath is in place Returns: the logfile Path
methods/memOS/MemOS/src/memos/log.py:32
↓ 1 callers
Method
_setup_remem_path
Add ReMem src directory to Python path.
methods/remem_agent.py:412
↓ 1 callers
Method
_setup_tools
Setup MCP tools
methods/memOS/MemOS/src/memos/api/mcp_serve.py:139
↓ 1 callers
Method
_should_enable_checkpoint
(self)
benchmarks/medmemorybench/evaluator.py:103
↓ 1 callers
Method
_should_trace
(self, sample_index: str)
methods/MemRL/memrl/trace/llb_jsonl.py:202
↓ 1 callers
Function
_sign
(secret: str, ts: str)
methods/memOS/MemOS/src/memos/memos_tools/dinding_report_bot.py:165
↓ 1 callers
Method
_sign
HMAC-SHA1 sgin
methods/memOS/MemOS/src/memos/api/config.py:108
↓ 1 callers
Function
_simple_extract
()
methods/memOS/MemOS/src/memos/mem_reader/read_skill_memory/process_skill_memory.py:1081
↓ 1 callers
Method
_simple_split_text
Simple text splitter as fallback when langchain is not available. Args: text: Text to split chunk_size: Maxi
methods/memOS/MemOS/src/memos/chunkers/simple_chunker.py:11
↓ 1 callers
Method
_single_add_operation
Individual addition operations
methods/memOS/MemOS/src/memos/mem_feedback/feedback.py:219
↓ 1 callers
Function
_skill_init
(skills_repo_backend, oss_config, skills_dir_config)
methods/memOS/MemOS/src/memos/mem_reader/read_skill_memory/process_skill_memory.py:967
↓ 1 callers
Method
_sort_and_trim
Sort results by score and trim to top_k
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/searcher.py:1011
↓ 1 callers
Method
_split_batches
( memories: list[TextualMemoryItem], batch_size: int )
methods/memOS/MemOS/src/memos/mem_scheduler/memory_manage_modules/enhancement_pipeline.py:184
↓ 1 callers
Method
_split_dataset
Split dataset into sections based on num_section and train_set_ratio.
methods/MemRL/memrl/run/llb_rl_runner.py:307
↓ 1 callers
Method
_split_large_memory_item
Split a single memory item that exceeds max_tokens into multiple chunks. Args: item: TextualMemoryItem to split
methods/memOS/MemOS/src/memos/mem_reader/multi_modal_struct.py:78
↓ 1 callers
Method
_split_large_paragraph
Split a large paragraph that exceeds max_tokens.
methods/amem_agent.py:187
↓ 1 callers
Method
_split_retrieved_memory_content
Split retrieved memory into header/body and describe the body type.
methods/MemRL/memrl/agent/memp_agent.py:51
↓ 1 callers
Method
_split_sessions_into_chunks
Split sessions into chunks based on character size limit. Returns: List of tuples: (sessions_in_chunk, combined_memory_text)
benchmarks/locomo/evaluator.py:149
↓ 1 callers
Function
_split_task_chunk_by_llm
Split messages into task chunks by LLM.
methods/memOS/MemOS/src/memos/mem_reader/read_skill_memory/process_skill_memory.py:345
↓ 1 callers
Method
_split_text_into_chunks
Split text into chunks based on token count. Tries to split at natural boundaries (paragraphs, sentences) when possible. Uses _llm
methods/amem_agent.py:137
↓ 1 callers
Method
_split_text_into_chunks
Split text into chunks with optional overlap.
methods/mirix_agent.py:298
↓ 1 callers
Method
_split_text_into_chunks
Split text into chunks with optional overlap.
methods/memrl_agent.py:558
↓ 1 callers
Method
_split_text_into_chunks
Split text into token-based chunks.
methods/embedding_rag.py:140
↓ 1 callers
Method
_split_text_into_chunks
(self, text: str, max_tokens: int)
methods/mem0_agent.py:133
↓ 1 callers
Method
_split_text_into_chunks
Split text into token-based chunks.
methods/bm25_rag.py:80
↓ 1 callers
Method
_split_with_lookback
Split the messages or files into chunks by looking back fixed number of turns. adjacent chunk with high duplicate rate, default lookba
methods/memOS/MemOS/src/memos/memories/textual/prefer_text_memory/spliter.py:54
↓ 1 callers
Method
_split_with_overlap
split the messages or files into chunks with overlap. adjacent chunk with low duplicate rate
methods/memOS/MemOS/src/memos/memories/textual/prefer_text_memory/spliter.py:77
↓ 1 callers
Function
_sse_post
Sends an SSE POST request and yields parsed response chunks.
methods/letta/client/streaming.py:19
↓ 1 callers
Function
_sse_post
(url: str, data: dict, headers: dict)
methods/MIRIX/mirix/llm_api/openai.py:384
↓ 1 callers
Method
_start_post_chat_processing
Start asynchronous post-chat processing in a background thread. Args: user_id: User ID cube_id: Memory cube
methods/memOS/MemOS/src/memos/api/handlers/chat_handler.py:1457
↓ 1 callers
Method
_static_buffer_summarization
( self, in_context_messages: List[Message], new_letta_messages: List[Message], previous_summary: str
methods/letta/services/summarizer/summarizer.py:53
↓ 1 callers
Method
_str_memories
Format memories for display.
methods/memOS/MemOS/src/memos/mem_scheduler/analyzer/mos_for_test_scheduler.py:26
↓ 1 callers
Method
_stream_pre_execution_message
Parses and streams pre-execution messages if they have changed.
methods/letta/interfaces/openai_chat_completions_streaming_interface.py:77
↓ 1 callers
Function
_strip_failed_trajectory_for_llb
LLB-only: drop the long failed-execution trajectory tail when present. In MemRL, failure memories generated by the Adjustment updater often end w
methods/MemRL/memrl/lifelongbench_eval/memory_context.py:15
↓ 1 callers
Method
_submit_web_logs
( self, messages: ScheduleLogForWebItem | list[ScheduleLogForWebItem], additional_log_
methods/memOS/MemOS/src/memos/mem_scheduler/base_mixins/web_log_ops.py:19
↓ 1 callers
Method
_summarize_memory_builds
(self)
benchmarks/locomo/evaluator.py:435
↓ 1 callers
Method
_summarize_memory_builds
(self)
benchmarks/medmemorybench/evaluator.py:548
↓ 1 callers
Function
_summarize_tasks
Aggregate counts by status for the provided task details (tracker data).
methods/memOS/MemOS/src/memos/api/handlers/scheduler_handler.py:53
↓ 1 callers
Method
_task_description_from_entry
(self, entry: Dict[str, Any])
methods/MemRL/memrl/run/llb_rl_runner.py:865
↓ 1 callers
Method
_text_to_entities
Extract all entity types from the given text and return them as a list.
methods/cognee/tasks/entity_completion/entity_extractors/regex_entity_extractor.py:50
↓ 1 callers
Method
_tokenize_chinese
split zh jieba
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/retrieve_utils.py:386
↓ 1 callers
Method
_tokenize_chinese
split zh jieba
methods/memOS/MemOS/src/memos/mem_feedback/feedback.py:105
↓ 1 callers
Method
_tokenize_english
split zh regex
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/retrieve_utils.py:397
↓ 1 callers
Method
_top_n_words
Concatenates the top N frequent words in text.
methods/cognee/modules/retrieval/graph_completion_retriever.py:102
↓ 1 callers
Method
_train_one_section
(self, df: pd.DataFrame, sec_idx: int)
methods/MemRL/memrl/run/hle_runner.py:916
↓ 1 callers
Method
_trajectory_from_raw_or_fallback
Align with memory_rl BigCodeBench: - Prefer trajectory = model raw output when available - Otherwise fall back to a structure
methods/MemRL/memrl/run/bcb_runner.py:276
↓ 1 callers
Method
_truncate_context
Truncate text to fit within token limit.
methods/graph_rag.py:306
↓ 1 callers
Method
_truncate_if_needed
Truncate context if exceeds limit.
methods/long_context.py:70
↓ 1 callers
Method
_truncate_memory_str
Truncate memory string to avoid context length exceeded.
methods/amem/A-mem/memory_layer_robust.py:524
↓ 1 callers
Method
_truncate_to_token_limit
Truncate text to fit within token limit using _llm_client tokenizer.
methods/amem_agent.py:235
↓ 1 callers
Method
_truncate_to_tokens
(self, text: str, max_tokens: int)
methods/mem0_agent.py:125
↓ 1 callers
Method
_try_resume_from_checkpoint
(self)
benchmarks/medmemorybench/evaluator.py:117
↓ 1 callers
Method
_unflatten_dict
Convert Hash data back to proper Python types.
methods/MIRIX/mirix/database/redis_client.py:530
↓ 1 callers
Method
_update_agent
Update an existing agent. Args: agent_id: The ID of the agent to update. agent_update: UpdateAgent object co
methods/MIRIX/mirix/services/agent_manager.py:815
↓ 1 callers
Method
_update_agent_configurations
Update all agent configurations with current settings.
methods/MIRIX/mirix/agent/meta_agent.py:347
↓ 1 callers
Method
_update_cum_success
(self, trajectories: List[Dict[str, Any]])
methods/MemRL/memrl/run/alfworld_rl_runner.py:339
↓ 1 callers
Function
_update_env_from_dict
Apply a dict to environment variables, with change logging.
methods/memOS/MemOS/src/memos/api/config.py:31
↓ 1 callers
Method
_update_memory
Update the memory. Args: new_memory: TextualMemoryItem retrieved_memories: list[MilvusVecDBItem] collectio
methods/memOS/MemOS/src/memos/memories/textual/prefer_text_memory/adder.py:362
↓ 1 callers
Method
_update_memory_fast
( self, new_memory: TextualMemoryItem, retrieved_memories: list[MilvusVecDBItem],
methods/memOS/MemOS/src/memos/memories/textual/prefer_text_memory/adder.py:329
↓ 1 callers
Method
_update_memory_fine
( self, new_memory: TextualMemoryItem, retrieved_memories: list[MilvusVecDBItem],
methods/memOS/MemOS/src/memos/memories/textual/prefer_text_memory/adder.py:270
↓ 1 callers
Method
_update_stream_cache_with_log
Update cache and emit an info log summarizing refresh statistics.
methods/memOS/MemOS/src/memos/mem_scheduler/task_schedule_modules/redis_queue.py:1367
↓ 1 callers
Method
_update_tool_call_info
Updates tool call-related attributes.
methods/letta/interfaces/openai_chat_completions_streaming_interface.py:70
↓ 1 callers
Method
_update_usage_history
Update usage history in graph DB now_time = datetime.now().isoformat() info_copy = dict(info or {}) info_copy.pop("chat_histor
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/searcher.py:1196
↓ 1 callers
Method
_upload_single_file
Upload a single file asynchronously.
methods/MIRIX/mirix/agent/upload_manager.py:96
↓ 1 callers
Function
_upload_skills
( skills_repo_backend: str, skills_oss_dir: dict[str, Any] | None, local_tmp_file_path: str, l
methods/memOS/MemOS/src/memos/mem_reader/read_skill_memory/process_skill_memory.py:683
↓ 1 callers
Method
_usage_to_dict
(self, usage: Any)
methods/MemRL/memrl/providers/llm.py:129
↓ 1 callers
Method
_usage_to_dict
(self, usage: Any)
methods/MemRL/memrl/providers/embedding.py:121
↓ 1 callers
Method
_use_max_completion_tokens
Check if should use max_completion_tokens param (new models).
methods/amem/A-mem/memory_layer_robust.py:119
↓ 1 callers
Method
_use_max_completion_tokens
Check if should use max_completion_tokens param (new models).
methods/amem/A-mem/memory_layer.py:43
↓ 1 callers
Method
_validate_api_key
Validate the API key by making a test request.
methods/mem0/client/main.py:94
↓ 1 callers
Method
_validate_attribute
( self, caller_name: str, variable: Variable, attribute: str )
methods/MemRL/3rdparty/LifelongAgentBench/src/tasks/instance/knowledge_graph/api.py:77
↓ 1 callers
Method
_validate_config_fields
Validate that all required fields are present in the configuration.
methods/cognee/tasks/entity_completion/entity_extractors/regex_entity_config.py:22
← previous
next →
4,101–4,200 of 13,378, ranked by callers