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
↓ 2 callers
Method
delete_by_client_id
Bulk delete all NON-SYSTEM messages for a client (removes from Redis cache). System messages are preserved as they are essential for
methods/MIRIX/mirix/services/message_manager.py:201
↓ 2 callers
Method
delete_by_memory_ids
Delete memories by memory_ids.
methods/memOS/MemOS/src/memos/memories/textual/tree.py:404
↓ 2 callers
Method
delete_data_points
(self, collection_name: str, data_point_ids: list[UUID])
methods/cognee/infrastructure/databases/hybrid/falkordb/FalkorDBAdapter.py:354
↓ 2 callers
Method
delete_file
Delete a file by its ID.
methods/letta/services/source_manager.py:162
↓ 2 callers
Method
delete_memories_by_client_id
Hard delete memories, messages, and blocks for a client using memory managers' bulk delete. This permanently removes data records wh
methods/MIRIX/mirix/services/client_manager.py:392
↓ 2 callers
Method
delete_nodes
Delete multiple nodes at once.
methods/cognee/infrastructure/databases/graph/kuzu/adapter.py:279
↓ 2 callers
Method
delete_organization_by_id
Delete an organization by marking it as deleted.
methods/letta/services/organization_manager.py:80
↓ 2 callers
Function
derive_openai_json_schema
Derives the OpenAI JSON schema for a given function source code. First, attempts to execute the source code in a custom environment with only the
methods/letta/functions/functions.py:11
↓ 2 callers
Function
derive_system_message
(agent_type: AgentType, enable_sleeptime: Optional[bool] = None, system: Optional[str] = None)
methods/letta/services/helpers/agent_manager_helper.py:94
↓ 2 callers
Function
deserialize_embedding_config
Convert a dictionary back into an EmbeddingConfig object.
methods/letta/helpers/converters.py:65
↓ 2 callers
Function
deserialize_llm_config
Convert a dictionary back into an LLMConfig object.
methods/letta/helpers/converters.py:48
↓ 2 callers
Function
deserialize_message_content
Convert a JSON list back into MessageContent objects.
methods/letta/helpers/converters.py:220
↓ 2 callers
Function
deserialize_queue_message
Deserialize bytes to QueueMessage in the specified format. Args: serialized_msg: Serialized message bytes format: Serializat
methods/MIRIX/mirix/queue/queue_util.py:47
↓ 2 callers
Function
deserialize_tool_calls
Convert a JSON list back into OpenAIToolCall objects.
methods/letta/helpers/converters.py:149
↓ 2 callers
Function
deserialize_tool_rules
Convert a list of dictionaries back into ToolRule objects.
methods/letta/helpers/converters.py:93
↓ 2 callers
Function
deserialize_trace_context
Restore trace context from a dict-based message (expects TRACE_METADATA_KEY). Returns True if context was restored, False otherwise.
methods/MIRIX/mirix/observability/trace_propagation.py:121
↓ 2 callers
Method
detectLanguage
(text: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/skill/generator.ts:338
↓ 2 callers
Method
detect_intent
Detect the intent of the user input.
methods/memOS/MemOS/src/memos/mem_scheduler/monitors/general_monitor.py:343
↓ 2 callers
Function
di
(e,n,t)
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 2 callers
Function
discover_directory_datasets
(root_dir_path: str, parent_dir: str = None)
methods/cognee/modules/ingestion/discover_directory_datasets.py:4
↓ 2 callers
Method
discover_mcp_tools
Discover all tools from connected MCP servers
methods/MIRIX/mirix/services/mcp_tool_registry.py:25
↓ 2 callers
Method
dispatch
Dispatch a list of messages to their respective handlers. Args: msg_list: List of ScheduleMessageItem objects to process
methods/memOS/MemOS/src/memos/mem_scheduler/task_schedule_modules/dispatcher.py:643
↓ 2 callers
Method
dispose
* Dispose all tasks and cleanup resources * Called on app quit
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/opencode/task-manager.ts:609
↓ 2 callers
Method
downgradeTeamSharedTaskToLocal
(taskId: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/storage/sqlite.ts:2549
↓ 2 callers
Method
drop
Drop all databases.
methods/memOS/MemOS/src/memos/memories/textual/base.py:91
↓ 2 callers
Function
ds
(e,n,t)
methods/letta/server/static_files/assets/index-048c9598.js:37
↓ 2 callers
Method
dump
Dump memories. Args: dir (str): The directory where the memory files will be saved. memory_types (list[str], optional)
methods/memOS/MemOS/src/memos/mem_cube/general.py:92
↓ 2 callers
Function
ea
()
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 2 callers
Function
ei
(e)
methods/letta/server/static_files/assets/index-048c9598.js:37
↓ 2 callers
Function
el
(c)
data/locomo/static/js/fontawesome.all.min.js:5
↓ 2 callers
Method
embed
(self, texts: list[str])
methods/memOS/MemOS/src/memos/embedders/universal_api.py:69
↓ 2 callers
Method
embedBatch
(texts: string[])
methods/memOS/MemOS/apps/memos-local-openclaw/src/embedding/index.ts:50
↓ 2 callers
Function
embedLocal
(texts: string[], log: Logger)
methods/memOS/MemOS/apps/memos-local-openclaw/src/embedding/local.ts:26
↓ 2 callers
Method
embed_data
(self, data: list[str])
methods/cognee/infrastructure/databases/hybrid/falkordb/FalkorDBAdapter.py:48
↓ 2 callers
Method
embed_data
(self, data: list[str])
methods/cognee/infrastructure/databases/vector/chromadb/ChromaDBAdapter.py:107
↓ 2 callers
Method
embed_documents
Batch embed documents.
methods/embedding_rag.py:45
↓ 2 callers
Function
embed_sentences
(data, col_name, id_name, model, save_path, push_to_hub=False)
methods/MemRL/3rdparty/bigcodebench-main/analysis/bcb_subset.py:32
↓ 2 callers
Method
encode
Encode texts into embedding vectors. Returns: np.ndarray of shape (len(texts), dim).
methods/hipporag_agent.py:199
↓ 2 callers
Function
encode_image
Encode an image file to base64 format with data URL prefix. Args: image_path: Path to the image file Returns: Base64 en
methods/MIRIX/mirix/llm_api/openai_client.py:46
↓ 2 callers
Method
enqueue
(messages: ConversationMessage[])
methods/memOS/MemOS/apps/memos-local-openclaw/src/ingest/worker.ts:28
↓ 2 callers
Function
ensureSqliteBinding
(log?: { info: (msg: string) => void; warn: (msg: string) => void })
methods/memOS/MemOS/apps/memos-local-openclaw/src/storage/ensure-binding.ts:13
↓ 2 callers
Function
ensure_standard_prompts
Ensure standard prompt JSON files are generated.
methods/MemRL/memrl/lifelongbench_eval/task_wrappers.py:61
↓ 2 callers
Function
ensure_unique_tree_ids
Ensure all node IDs in tree structure are unique by removing duplicate nodes, this is a post-processing function for convert_graph_to_tree_fo
methods/memOS/MemOS/src/memos/mem_os/utils/format_utils.py:1343
↓ 2 callers
Function
escape_tag_value
(val: str)
methods/MIRIX/mirix/database/filter_tags_query.py:277
↓ 2 callers
Function
example_complex_shared_db
(db_name: str = "shared-traval-group-complex", community=False)
methods/memOS/MemOS/examples/basic_modules/neo4j_example.py:536
↓ 2 callers
Function
example_shared_db
Example: Single(Shared)-DB multi-tenant (logical isolation) Multiple users' data in the same Neo4j DB with user_name as a tag.
methods/memOS/MemOS/examples/basic_modules/neo4j_example.py:293
↓ 2 callers
Method
execute
( self, function_name: str, function_args: dict, agent_state: AgentState,
methods/letta/services/tool_executor/tool_executor.py:354
↓ 2 callers
Method
executeTask
* Execute a task immediately (internal)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/opencode/task-manager.ts:328
↓ 2 callers
Method
execute_query
Execute a SQL query (async).
methods/MIRIX/mirix/database/pglite_connector.py:34
↓ 2 callers
Method
execute_task
( self, user_id: str, mem_cube_id: str, task_label: str, msgs: list[Sc
methods/memOS/MemOS/src/memos/mem_scheduler/task_schedule_modules/dispatcher.py:595
↓ 2 callers
Method
execute_update_op
[NEW] The "writing" phase. Executes a prepared operation dictionary. This method is fast and should be run serially to prevent race c
methods/MemRL/memrl/service/updater.py:143
↓ 2 callers
Method
expression_to_lisp
(expression)
methods/MemRL/3rdparty/LifelongAgentBench/src/tasks/instance/knowledge_graph/utils/semantic_parser_util.py:28
↓ 2 callers
Function
extra_eos_for_direct_completion
(dataset)
methods/MemRL/3rdparty/bigcodebench-main/bigcodebench/provider/utility.py:15
↓ 2 callers
Method
extractTitle
(chunks: Chunk[])
methods/memOS/MemOS/apps/memos-local-openclaw/src/ingest/task-processor.ts:482
↓ 2 callers
Function
extract_and_wrap_message_content
( role: MessageRole, content: str |
methods/letta/helpers/message_helper.py:7
↓ 2 callers
Function
extract_and_wrap_message_content
( role: MessageRole, content: str | TextContent | ImageContent | FileContent | CloudFileContent, w
methods/MIRIX/mirix/helpers/message_helpers.py:12
↓ 2 callers
Method
extract_basic_info
Extract basic information from a QA pair (no LLM needed).
methods/memOS/MemOS/src/memos/memories/textual/prefer_text_memory/extractor.py:54
↓ 2 callers
Function
extract_first_json
Handles the case of two JSON objects back-to-back
methods/letta/local_llm/json_parser.py:32
↓ 2 callers
Function
extract_option_letters
Extract option letters from model output.
metrics/string_match.py:18
↓ 2 callers
Method
extract_query_keywords
Extracts core keywords from a user query based on specific semantic rules.
methods/memOS/MemOS/src/memos/mem_scheduler/monitors/general_monitor.py:84
↓ 2 callers
Method
extract_server_port
(cls, server_address: str)
methods/MemRL/3rdparty/LifelongAgentBench/src/distributed_deployment_utils/start_server.py:18
↓ 2 callers
Method
extract_server_prefix
(cls, server_address: str)
methods/MemRL/3rdparty/LifelongAgentBench/src/distributed_deployment_utils/start_server.py:25
↓ 2 callers
Function
extract_task_id
Extract a stable task identifier from metadata. Important: a valid task id can be `0` (e.g. sample_index "0"), so we must not use truthiness-
methods/MemRL/memrl/utils/task_id.py:6
↓ 2 callers
Function
extract_topics_and_temporal_info
Extract topics AND temporal expressions from a list of messages using LLM. This function analyzes messages to extract both semantic topics a
methods/MIRIX/mirix/server/rest_api.py:394
↓ 2 callers
Function
extract_working_binding_ids
Scan enhanced memory items for background hints like "[working_binding:<uuid>]" and collect those working memory IDs. We store the worki
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/organize/manager.py:23
↓ 2 callers
Function
f1
(prediction, ground_truth)
data/locomo/task_eval/evaluation.py:141
↓ 2 callers
Function
f1_score
(prediction, ground_truth)
data/locomo/task_eval/evaluation.py:126
↓ 2 callers
Method
feedback_memories
Process feedback_req, read memories from one or more cubes and feedback them. Returns: A list of memory dicts, each item
methods/memOS/MemOS/src/memos/multi_mem_cube/views.py:43
↓ 2 callers
Function
fetchHubSkillBundle
( store: SqliteStore, ctx: PluginContext, input: { skillId: string; hubAddress?: string; userToken?: str
methods/memOS/MemOS/apps/memos-local-openclaw/src/client/skill-sync.ts:106
↓ 2 callers
Function
fetchKeys
()
methods/MIRIX/dashboard/src/pages/dashboard/ApiKeys.tsx:48
↓ 2 callers
Function
fetchWithTimeout
( url: string, options: RequestInit, timeoutMs: number )
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/services/memory.ts:98
↓ 2 callers
Function
fi
(e)
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 2 callers
Function
filter_nodes_by_tree_ids
Filter nodes list based on IDs used in tree structure Args: tree_data: Tree structure data (dictionary) nodes_data: Data con
methods/memOS/MemOS/src/memos/mem_os/utils/format_utils.py:1054
↓ 2 callers
Method
findPluginPackageJson
()
methods/memOS/MemOS/apps/memos-local-openclaw/src/viewer/server.ts:3283
↓ 2 callers
Method
findPollutedUserChunks
* Find user-role chunks that contain system-injected content that should * have been stripped before storage. Returns chunk IDs and a preview.
methods/memOS/MemOS/apps/memos-local-openclaw/src/storage/sqlite.ts:1365
↓ 2 callers
Function
find_node
(nodes: list[Node], condition: callable)
methods/cognee/tasks/repo_processor/get_local_dependencies.py:115
↓ 2 callers
Method
find_related_memories_raw
Find related memories using hybrid retrieval
methods/amem/A-mem/memory_layer.py:887
↓ 2 callers
Method
fixMixedUserChunks
* Find user chunks where user+assistant content was mixed together * (separated by \n\n---\n), and truncate to keep only the user's part.
methods/memOS/MemOS/apps/memos-local-openclaw/src/storage/sqlite.ts:1392
↓ 2 callers
Method
format_memorize
(self, context: str, timestamp: Optional[str] = None)
utils/templates.py:68
↓ 2 callers
Method
format_query
(self, question: str, query_type: str)
utils/templates.py:86
↓ 2 callers
Method
from_config
Create a user manager instance from configuration. Args: config_factory: Configuration factory containing backend and config
methods/memOS/MemOS/src/memos/mem_user/factory.py:17
↓ 2 callers
Method
from_config
Create a persistent user manager instance from configuration. Args: config_factory: Configuration factory containing backend and
methods/memOS/MemOS/src/memos/mem_user/persistent_factory.py:19
↓ 2 callers
Method
from_dict
Create config from dict.
src/config.py:144
↓ 2 callers
Method
from_langchain
Class method to create an instance of Tool from a Langchain tool (must be from langchain_community.tools). Args: langcha
methods/MIRIX/mirix/schemas/tool.py:185
↓ 2 callers
Method
from_str
(label)
methods/letta/openai_backcompat/openai_object.py:55
↓ 2 callers
Method
from_strings
Create strategy configuration from string names. Args: build: Build strategy name retrieve: Retrieve
methods/MemRL/memrl/service/strategies.py:123
↓ 2 callers
Function
g
(f,a,d,v,E)
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 2 callers
Method
generate
Generate response using the tracked LLM client. Args: messages: List of message dictionaries with 'role' and 'content'
methods/memrl_agent.py:56
↓ 2 callers
Method
generate
Generate response using OpenAI Chat Completions API. Args: messages: List of message dictionaries with 'role' and 'conte
methods/MemRL/memrl/providers/llm.py:216
↓ 2 callers
Method
generate
(task: Task, chunks: Chunk[], evalResult: CreateEvalResult)
methods/memOS/MemOS/apps/memos-local-openclaw/src/skill/generator.ts:195
↓ 2 callers
Method
generateMessageId
()
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/opencode/adapter.ts:693
↓ 2 callers
Method
generateTitle
(chunks: Chunk[], fallback: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/ingest/task-processor.ts:466
↓ 2 callers
Method
generate_dialogue
Generate a new dialogue using dual-agent simulation. Args: request: Dialogue generation request. skip_knowledge_extra
generation/app/services/dialogue.py:112
↓ 2 callers
Method
generate_execution_script
Generate code to run inside of execution sandbox. Serialize the agent state and arguments, call the tool, then base64-encode/
methods/letta/services/tool_sandbox/base.py:74
↓ 2 callers
Method
generate_execution_script
Generate code to run inside of execution sandbox. Passes into a serialized agent state into the code, to be accessed by the tool.
methods/MIRIX/mirix/services/tool_execution_sandbox.py:520
↓ 2 callers
Function
generate_grammar_and_documentation
( functions_python: dict, add_inner_thoughts_top_level: bool, add_inner_thoughts_param_level: bool
methods/letta/local_llm/chat_completion_proxy.py:256
↓ 2 callers
Method
generate_id
(cls)
methods/letta/serialize_schemas/marshmallow_base.py:22
↓ 2 callers
Method
generate_response
Generate a response using our tracked llm_client. Returns (parsed_response, usage_info) to match LightMem's interface.
methods/lightmem_agent.py:65
↓ 2 callers
Function
generate_schema_from_args_schema_v2
( args_schema: Type[BaseModel], name: Optional[str] = None, description: Optional[str] = None, append_hear
methods/letta/functions/schema_generator.py:428
↓ 2 callers
Function
generate_vector
Generate a random vector for testing purposes.
methods/memOS/MemOS/src/memos/graph_dbs/polardb.py:51
← previous
next →
2,601–2,700 of 13,378, ranked by callers