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
Function
_validate_occurred_at
Validate occurred_at format and convert to datetime. Args: occurred_at: ISO 8601 datetime string (e.g., "2025-11-18T10:30:00" or "20
methods/MIRIX/mirix/client/remote_client.py:45
↓ 1 callers
Function
_value_matches
Generic matching: - if item_value is list/tuple/set: check membership (any match if wanted is iterable) - else: equality (any match if wa
methods/memOS/MemOS/src/memos/reranker/http_bge.py:31
↓ 1 callers
Function
_value_matches
Generic matching: - if item_value is list/tuple/set: check membership (any match if wanted is iterable) - else: equality (any match if wa
methods/memOS/MemOS/src/memos/reranker/http_bge_strategy.py:31
↓ 1 callers
Method
_vector_index_exists
(self, index_name: str = "memory_vector_index")
methods/memOS/MemOS/src/memos/graph_dbs/neo4j.py:1626
↓ 1 callers
Method
_verify_job_access
Verify that a job exists and the user has the required access. Args: session: The database session job_id: T
methods/letta/services/step_manager.py:127
↓ 1 callers
Method
_wait_for_server
(cls)
methods/memOS/MemOS/tests/extras/nli_model/test_client_integration.py:64
↓ 1 callers
Method
_warm_up_connections_by_all
(self)
methods/memOS/MemOS/src/memos/graph_dbs/polardb.py:234
↓ 1 callers
Method
_write
(self, ctx: TaskTraceContext)
methods/MemRL/memrl/trace/llb_jsonl.py:247
↓ 1 callers
Method
a_measure
( self, test_case, _show_indicator: bool = True, )
methods/cognee/eval_framework/evaluation/metrics/context_coverage.py:34
↓ 1 callers
Method
ack_message
( self, user_id: str, mem_cube_id: str, task_label: str, redis_message
methods/memOS/MemOS/src/memos/mem_scheduler/task_schedule_modules/task_queue.py:65
↓ 1 callers
Method
acquire_lock
Acquire a distributed lock using Redis with atomic operations Args: block: Whether to block until lock is acquired **
methods/memOS/MemOS/src/memos/mem_scheduler/orm_modules/api_redis_model.py:136
↓ 1 callers
Method
adapt_batch_size
(self)
methods/memorag/memorag_lite.py:152
↓ 1 callers
Method
add
Add memories. Args: memories: List of TextualMemoryItem objects or dictionaries to add.
methods/memOS/MemOS/src/memos/memories/textual/general.py:86
↓ 1 callers
Method
add
Add memories. Args: memories: List of TextualMemoryItem objects or dictionaries to add.
methods/memOS/MemOS/src/memos/memories/textual/preference.py:163
↓ 1 callers
Method
add
Add memories.
methods/memOS/MemOS/src/memos/memories/textual/naive.py:92
↓ 1 callers
Method
add
(self, data: list[VecDBItem | dict[str, Any]])
methods/memOS/MemOS/src/memos/vec_dbs/qdrant.py:276
↓ 1 callers
Method
add
Add data to the vector database. Args: data: List of MilvusVecDBItem objects or dictionaries containing:
methods/memOS/MemOS/src/memos/vec_dbs/milvus.py:604
↓ 1 callers
Method
add_attribute
(self, key: str, value: Any)
methods/cognee/modules/graph/cognee_graph/CogneeGraphElements.py:66
↓ 1 callers
Function
add_conversation_to_mirix
Add a single conversation to Mirix. Args: client: MirixClient instance user_id: User ID messages: List of messages (
methods/MIRIX/samples/load_json_batch_conversations.py:182
↓ 1 callers
Method
add_default_blocks
(self, actor: PydanticUser)
methods/letta/services/block_manager.py:143
↓ 1 callers
Method
add_dialogue_pair
Add a dialogue pair and return its unique ID.
methods/memOS/MemOS/src/memos/reranker/strategies/dialogue_common.py:62
↓ 1 callers
Function
add_dummy_model_messages
Google AI API requires all function call returns are immediately followed by a 'model' role message. In Mirix, the 'model' will often call a func
methods/MIRIX/mirix/llm_api/google_ai.py:140
↓ 1 callers
Method
add_dummy_model_messages
Google AI API requires all function call returns are immediately followed by a 'model' role message. In Letta, the 'model' will often call a
methods/letta/llm_api/google_ai_client.py:340
↓ 1 callers
Method
add_dummy_model_messages
Google AI API requires all function call returns are immediately followed by a 'model' role message. In Letta, the 'model' will often call a
methods/MIRIX/mirix/llm_api/google_ai_client.py:466
↓ 1 callers
Method
add_edge
( self, source_id: str, target_id: str, type: str, user_name: str | None = None )
methods/memOS/MemOS/src/memos/graph_dbs/polardb.py:655
↓ 1 callers
Method
add_edge
Create an edge between nodes.
methods/memOS/MemOS/src/memos/graph_dbs/postgres.py:642
↓ 1 callers
Function
add_functions_to_system_message
(system_message: ChatMessage)
methods/letta/llm_api/deepseek.py:121
↓ 1 callers
Method
add_graph_edges
Add edges to the graph. Args: from_ids: List of source node IDs. to_ids: List of target node IDs.
methods/memOS/MemOS/src/memos/memories/textual/tree.py:588
↓ 1 callers
Method
add_graph_ontology
Add graph ontology from a JSON or CSV file or infer from documents content.
methods/cognee/tasks/graph/infer_data_ontology.py:98
↓ 1 callers
Function
add_id_to_mysql
Add id to mysql, will deprecate this function in the future
methods/memOS/MemOS/src/memos/mem_reader/read_skill_memory/process_skill_memory.py:255
↓ 1 callers
Function
add_images_to_memory
Send each image to the memory-add endpoint.
methods/MIRIX/eval_token_usage.py:79
↓ 1 callers
Method
add_mapping
Add a mapping from a cloud file to a local file.
methods/MIRIX/mirix/services/cloud_file_mapping_manager.py:17
↓ 1 callers
Method
add_mcp_server_to_config
Add a new server config to the MCP config file
methods/letta/server/server.py:1430
↓ 1 callers
Method
add_memory
(self, content, time=None)
methods/amem/A-mem/test_advanced_robust.py:75
↓ 1 callers
Method
add_message_to_job
Associate a message with a job by creating a JobMessage record. Each message can only be associated with one job. Args:
methods/letta/services/job_manager.py:217
↓ 1 callers
Function
add_message_to_mirix
Add a single message to Mirix system. Args: client: MirixClient instance user_id: User ID message_text: Message cont
methods/MIRIX/samples/load_test_add_memory.py:191
↓ 1 callers
Method
add_msgs
( self, messages: list[dict], extract_mode: str = "fine", async_mode: str = "s
methods/memOS/MemOS/examples/mem_scheduler/try_schedule_modules.py:116
↓ 1 callers
Method
add_node
Add a memory node to the graph.
methods/memOS/MemOS/src/memos/graph_dbs/polardb.py:3047
↓ 1 callers
Method
add_texts
Add texts to the vector store. Args: texts: List of texts to add metadatas: Optional list of metadata dicts
methods/mem0/vector_stores/vertex_ai_vector_search.py:525
↓ 1 callers
Function
add_trace_to_message
Add current trace context into a dict-based message under TRACE_METADATA_KEY. Returns the message (same object) with metadata added when a t
methods/MIRIX/mirix/observability/trace_propagation.py:144
↓ 1 callers
Function
add_trace_to_queue_message
Add current trace context to queue message (Protocol Buffer). Works for both in-memory and Kafka queues since both use the same protobuf
methods/MIRIX/mirix/observability/trace_propagation.py:18
↓ 1 callers
Function
always_fails
A function that always raises a rate limit error.
methods/cognee/tests/unit/infrastructure/test_rate_limiting_retry.py:162
↓ 1 callers
Method
analyze_and_suggest
Analyze a correctly-answered question and generate enhancement suggestions.
generation/augmentation/check/enhancer.py:69
↓ 1 callers
Method
analyze_content
Analyze content using plain-text prompt + section-marker parsing.
methods/amem/A-mem/memory_layer_robust.py:373
↓ 1 callers
Method
analyze_content
Analyze content to extract keywords, context, and other metadata
methods/amem/A-mem/memory_layer.py:318
↓ 1 callers
Function
analyze_final_tree_quality
Analyze final tree quality, including type diversity, branch structure, etc.
methods/memOS/MemOS/src/memos/mem_os/utils/format_utils.py:677
↓ 1 callers
Function
analyze_subtree
(node, depth=0, parent_path="", chain_length=0)
methods/memOS/MemOS/src/memos/mem_os/utils/format_utils.py:692
↓ 1 callers
Function
analyze_subtree_enhanced
Enhanced subtree analysis, focusing on branching degree and structure quality
methods/memOS/MemOS/src/memos/mem_os/utils/format_utils.py:45
↓ 1 callers
Function
analyze_tree_structure_enhanced
Enhanced tree structure analysis, focusing on branching degree and leaf distribution
methods/memOS/MemOS/src/memos/mem_os/utils/format_utils.py:28
↓ 1 callers
Method
answer_question
Generate answer for a question given the conversation context.
methods/amem/A-mem/test_advanced.py:127
↓ 1 callers
Method
answer_question
Generate answer for a question — plain text, no JSON schema.
methods/amem/A-mem/test_advanced_robust.py:109
↓ 1 callers
Method
answer_question
(self, idx, question)
methods/memOS/MemOS/evaluation/scripts/locomo/locomo_openai.py:102
↓ 1 callers
Function
anthropic_bedrock_chat_completions_request
Make a chat completion request to Anthropic via AWS Bedrock.
methods/letta/llm_api/anthropic.py:768
↓ 1 callers
Function
anthropic_bedrock_chat_completions_request
Make a chat completion request to Anthropic via AWS Bedrock.
methods/MIRIX/mirix/llm_api/anthropic.py:490
↓ 1 callers
Function
anthropic_chat_completions_process_stream
Process a streaming completion response from Anthropic, similar to OpenAI's streaming. Args: api_key: The Anthropic API key chat_
methods/letta/llm_api/anthropic.py:856
↓ 1 callers
Function
anthropic_chat_completions_request
https://docs.anthropic.com/claude/docs/tool-use
methods/letta/llm_api/anthropic.py:735
↓ 1 callers
Function
anthropic_chat_completions_request
https://docs.anthropic.com/claude/docs/tool-use
methods/MIRIX/mirix/llm_api/anthropic.py:408
↓ 1 callers
Function
anthropic_chat_completions_request_stream
Stream chat completions from Anthropic API. Similar to OpenAI's streaming, but using Anthropic's native streaming support. See: https://docs.
methods/letta/llm_api/anthropic.py:793
↓ 1 callers
Function
api_key_factory
Factory to provision API keys for test clients.
methods/MIRIX/tests/conftest.py:68
↓ 1 callers
Method
appendCompaction
( summary: string, firstKeptEntryId: string, tokensBefore: number, details?: unknown, from
methods/memOS/MemOS/apps/memos-local-openclaw/src/context-engine/index.ts:195
↓ 1 callers
Method
appendCustomEntry
(customType: string, data: unknown)
methods/memOS/MemOS/apps/memos-local-openclaw/src/context-engine/index.ts:204
↓ 1 callers
Method
appendCustomMessageEntry
( customType: string, content: unknown, display: unknown, details?: unknown, )
methods/memOS/MemOS/apps/memos-local-openclaw/src/context-engine/index.ts:205
↓ 1 callers
Method
appendLabelChange
(targetId: string, label: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/context-engine/index.ts:218
↓ 1 callers
Method
appendModelChange
(provider: string, modelId: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/context-engine/index.ts:203
↓ 1 callers
Method
appendSessionInfo
(name: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/context-engine/index.ts:211
↓ 1 callers
Method
appendThinkingLevelChange
(level: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/context-engine/index.ts:202
↓ 1 callers
Method
append_initial_message_sequence_to_in_context_messages
( self, actor: PydanticUser, agent_state: PydanticAgentState, initial_message_sequence: Optional[List[
methods/letta/services/agent_manager.py:328
↓ 1 callers
Method
append_system_message
(self, agent_id: str, content: str, actor: PydanticUser)
methods/letta/services/agent_manager.py:1009
↓ 1 callers
Function
applyRecallDecision
(data, decision, lists)
methods/memOS/MemOS/apps/MemOS-Cloud-OpenClaw-Plugin/index.js:294
↓ 1 callers
Function
apply_trace_env_from_experiment_config
Apply TRACE_* env vars from ExperimentConfig. Precedence rule (requested behavior): - If the YAML (ExperimentConfig) explicitly sets a trace
methods/MemRL/memrl/trace/llb_jsonl.py:54
↓ 1 callers
Method
ask_manager_to_choose_participant_message
( self, manager_agent_id: str, new_messages: List[MessageCreate], chat_history
methods/letta/groups/dynamic_multi_agent.py:251
↓ 1 callers
Function
assert_all_classes_are_imported
(tool: Union["LangChainBaseTool"], additional_imports_module_attr_map: dict[str, str])
methods/letta/functions/helpers.py:156
↓ 1 callers
Function
assert_all_classes_are_imported
( tool: Union["LangChainBaseTool"], additional_imports_module_attr_map: dict[str, str] )
methods/MIRIX/mirix/functions/helpers.py:73
↓ 1 callers
Function
assert_all_files_exist_locally
Checks if all file paths in the provided list exist locally. Raises a FileNotFoundError with a list of missing files if any do not exist.
methods/letta/data_sources/connectors_helper.py:81
↓ 1 callers
Function
assert_code_gen_compilable
(code_str)
methods/MIRIX/mirix/functions/helpers.py:66
↓ 1 callers
Method
assessQuality
(dirPath: string, result: ValidationResult)
methods/memOS/MemOS/apps/memos-local-openclaw/src/skill/validator.ts:215
↓ 1 callers
Method
assignUnassignedChunks
(sessionKey: string, taskId: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/ingest/task-processor.ts:295
↓ 1 callers
Method
assistant_message
(msg: str, msg_obj: Optional[Message] = None)
methods/letta/streaming_interface.py:185
↓ 1 callers
Method
assistant_message
Ignore normal assistant messages (only capturing send_message calls).
methods/letta/functions/interface.py:24
↓ 1 callers
Function
async_execute_send_message_to_agent
Async helper to: 1) validate the target agent exists & is in the same org, 2) send a message via async_send_message_with_retries.
methods/letta/functions/helpers.py:307
↓ 1 callers
Method
async_wait_if_needed
Asynchronously wait until a request can be made without exceeding the rate limit. Returns: float: Time waited in seconds
methods/cognee/infrastructure/llm/embedding_rate_limiter.py:130
↓ 1 callers
Method
async_wait_if_needed
Async wait if rate limit is reached. This method asynchronously waits until the request can be made without exceeding the ra
methods/cognee/infrastructure/llm/rate_limiter.py:173
↓ 1 callers
Method
attach_block
Attach a block to an agent. Args: agent_id (str): ID of the agent block_id (str): ID of the block to attach
methods/letta/client/client.py:1942
↓ 1 callers
Method
attach_source
Attach a source to an agent Args: agent_id (str): ID of the agent source_id (str): ID of the source
methods/letta/client/client.py:1464
↓ 1 callers
Method
attach_tool
Attaches a tool to an agent. Args: agent_id: ID of the agent to attach the tool to. tool_id: ID of the tool
methods/MIRIX/mirix/services/agent_manager.py:1746
↓ 1 callers
Method
authenticate
(req: http.IncomingMessage)
methods/memOS/MemOS/apps/memos-local-openclaw/src/hub/server.ts:1129
↓ 1 callers
Method
autoCleanupPolluted
()
methods/memOS/MemOS/apps/memos-local-openclaw/src/viewer/server.ts:196
↓ 1 callers
Function
autoJoinHub
( store: SqliteStore, config: MemosLocalConfig, log: Logger, )
methods/memOS/MemOS/apps/memos-local-openclaw/src/client/connector.ts:285
↓ 1 callers
Method
autoJoinOnSave
(sharing: Record<string, unknown>)
methods/memOS/MemOS/apps/memos-local-openclaw/src/viewer/server.ts:2916
↓ 1 callers
Function
azure_openai_chat_completions_request
https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions
methods/letta/llm_api/azure_openai.py:103
↓ 1 callers
Function
azure_openai_chat_completions_request
https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions
methods/MIRIX/mirix/llm_api/azure_openai.py:98
↓ 1 callers
Function
azure_openai_get_chat_completion_model_list
(base_url: str, api_key: str, api_version: str)
methods/letta/llm_api/azure_openai.py:80
↓ 1 callers
Function
azure_openai_get_embeddings_model_list
(base_url: str, api_key: str, api_version: str, require_embedding_in_name: bool = True)
methods/letta/llm_api/azure_openai.py:87
↓ 1 callers
Method
backfillMemoryEmbeddings
()
methods/memOS/MemOS/apps/memos-local-openclaw/src/hub/server.ts:231
↓ 1 callers
Method
baseline_combination
Get a simple baseline strategy combination. Returns: StrategyConfiguration with baseline strategies
methods/MemRL/memrl/service/strategies.py:109
↓ 1 callers
Function
basic_cli_client
Basic example of a Letta CLI client that connects to a Letta server.py process via WebSockets Meant to illustrate how to use the server.py proces
methods/letta/server/ws_api/example_client.py:40
↓ 1 callers
Method
batch_analyze
Batch analyze correctly-answered questions and generate suggestions.
generation/augmentation/check/enhancer.py:187
↓ 1 callers
Method
batch_create_blocks
Batch-create multiple Blocks in one transaction for better performance. Args: blocks: List of PydanticBlock schemas to cr
methods/letta/services/block_manager.py:41
↓ 1 callers
Method
batch_regenerate
Batch regenerate queries.
generation/augmentation/check/regenerator.py:201
↓ 1 callers
Function
bedrock_get_model_context_window
Get context window size for a specific model.
methods/letta/llm_api/aws_bedrock.py:79
← previous
next →
4,201–4,300 of 13,378, ranked by callers