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
↓ 9 callers
Function
assert_equal
(actual, expected, message)
methods/memOS/MemOS/tests/mem_reader/test_coarse_memory_type.py:28
↓ 9 callers
Function
clean_json
(raw_llm_output, messages=None, functions=None)
methods/letta/local_llm/json_parser.py:173
↓ 9 callers
Method
client
Get OpenAI client (lazy init).
generation/augmentation/check/enhancer.py:60
↓ 9 callers
Method
close
(self)
methods/MemRL/memrl/run/bcb_runner.py:135
↓ 9 callers
Method
communicate
(self, *args, **kwargs)
methods/MemRL/3rdparty/bigcodebench-main/bigcodebench/eval/utils.py:183
↓ 9 callers
Function
cosineSimilarity
(a: number[], b: number[])
methods/memOS/MemOS/apps/memos-local-openclaw/src/storage/vector.ts:3
↓ 9 callers
Method
create
Create an LLM client based on the model endpoint type. Args: llm_config: Configuration for the LLM model Return
methods/MIRIX/mirix/llm_api/llm_client.py:11
↓ 9 callers
Method
create_file_metadata_from_path
Create file metadata from a file path.
methods/MIRIX/mirix/services/file_manager.py:94
↓ 9 callers
Method
create_or_update_block
Create a new block based on the Block schema.
methods/letta/services/block_manager.py:27
↓ 9 callers
Method
delete
(self, path, **kwargs)
methods/MIRIX/tests/test_raw_memory.py:776
↓ 9 callers
Method
filter_unrelated_memories
Filter out memories that are completely unrelated to the query history using LLM. Args: query_history: List of query str
methods/memOS/MemOS/src/memos/mem_scheduler/memory_manage_modules/memory_filter.py:18
↓ 9 callers
Function
format_messages
Format chat messages.
utils/llm_client.py:586
↓ 9 callers
Method
generate_id_field
(cls, prefix: Optional[str] = None)
methods/MIRIX/mirix/schemas/mirix_base.py:33
↓ 9 callers
Function
generate_test_id
Generate a unique test ID.
methods/MIRIX/tests/test_multi_scope_access.py:40
↓ 9 callers
Method
getActiveTaskCount
* Get the number of active tasks
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/opencode/task-manager.ts:572
↓ 9 callers
Function
getBundledNodePaths
()
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/utils/bundled-node.ts:35
↓ 9 callers
Method
getCompanionManifest
(skillId: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/skill/installer.ts:36
↓ 9 callers
Function
getCurrentTasks
()
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/store/taskHistory.ts:37
↓ 9 callers
Method
getHubSkillBySource
(sourceUserId: string, sourceSkillId: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/storage/sqlite.ts:2164
↓ 9 callers
Function
getSnapshot
()
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/skills/dev-browser/src/snapshot/__tests__/snapshot.test.ts:32
↓ 9 callers
Method
get_auth_headers
(self)
methods/MIRIX/tests/test_auth_provider.py:57
↓ 9 callers
Method
get_blocks
Retrieve blocks based on various optional filters. Args: user: User to get blocks for. If None, org-wide query (requires
methods/MIRIX/mirix/services/block_manager.py:231
↓ 9 callers
Method
get_cube
Get cube by ID. Args: cube_id (str): The cube ID. Returns: Cube: The cube object or None if not found.
methods/memOS/MemOS/src/memos/mem_user/user_manager.py:290
↓ 9 callers
Method
get_embedder_config
Get embedder configuration.
methods/memOS/MemOS/src/memos/api/config.py:561
↓ 9 callers
Method
get_from_partition
Retrieve a message from a specific partition. Args: partition_id: Partition to consume from (0 to num_partitions-1)
methods/MIRIX/mirix/queue/memory_queue.py:148
↓ 9 callers
Function
get_graph_config
()
methods/cognee/infrastructure/databases/graph/config.py:50
↓ 9 callers
Function
get_graph_from_model
( data_point: DataPoint, added_nodes: dict, added_edges: dict, visited_properties: dict = None
methods/cognee/modules/graph/utils/get_graph_from_model.py:6
↓ 9 callers
Function
get_local_time
(timezone=None)
methods/letta/helpers/datetime_helpers.py:50
↓ 9 callers
Function
get_local_time
(timezone=None)
methods/MIRIX/mirix/utils.py:937
↓ 9 callers
Method
get_nodes
Retrieve the metadata and memory of a list of nodes. Args: ids: List of Node identifier. include_embedding: w
methods/memOS/MemOS/src/memos/graph_dbs/base.py:108
↓ 9 callers
Function
get_relational_config
()
methods/cognee/infrastructure/databases/relational/config.py:32
↓ 9 callers
Method
init_from_dir
Create a MemCube instance from a MemCube directory. Args: dir (str): The directory containing the memory files. memor
methods/memOS/MemOS/src/memos/mem_cube/general.py:136
↓ 9 callers
Function
json_loads
(data)
methods/MIRIX/mirix/utils.py:1164
↓ 9 callers
Method
list_collections
List all collections/indexes.
methods/memOS/MemOS/src/memos/vec_dbs/base.py:22
↓ 9 callers
Function
normalizeIpcError
(error: unknown)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/ipc/validation.ts:42
↓ 9 callers
Function
ok
(msg: string)
methods/memOS/MemOS/apps/memos-local-openclaw/scripts/smoke-test.ts:36
↓ 9 callers
Function
post_json_auth_request
Send a POST request with a JSON payload and optional authentication
methods/letta/local_llm/utils.py:20
↓ 9 callers
Function
prepare_input_message_create
Converts a MessageCreate object into a Message object, applying wrapping if needed.
methods/MIRIX/mirix/helpers/message_helpers.py:44
↓ 9 callers
Method
register_mem_cube
Register a MemCube with the MOS. Args: mem_cube_name_or_path (str): The name or path of the MemCube to register.
methods/memOS/MemOS/src/memos/mem_os/core.py:460
↓ 9 callers
Function
run_command
Run a subprocess command with error handling.
methods/MIRIX/scripts/reset_database.py:132
↓ 9 callers
Function
run_json_trials
(query, num_gen=1, num_tokens_request=1000, model='davinci', use_16k=False, temperature=1.0,
data/locomo/global_methods.py:28
↓ 9 callers
Function
save_agents
(agents, args)
data/locomo/generative_agents/generate_conversations.py:61
↓ 9 callers
Method
save_graph_to_file
Asynchronously save the graph to a file in JSON format.
methods/cognee/infrastructure/databases/graph/networkx/adapter.py:298
↓ 9 callers
Method
save_to_db
Save the current state of the business object to the database Args: obj_instance: The business object instance to save
methods/memOS/MemOS/src/memos/mem_scheduler/orm_modules/base_model.py:437
↓ 9 callers
Method
send_message
( self, message: str, role: str, agent_id: Optional[str] = None, agent
methods/MIRIX/mirix/client/client.py:116
↓ 9 callers
Function
setContent
(html: string)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/skills/dev-browser/src/snapshot/__tests__/snapshot.test.ts:28
↓ 9 callers
Method
set_phase
(self, phase: str)
utils/llm_client.py:62
↓ 9 callers
Method
stream_start
Initialize streaming by activating the generator and clearing any old chunks.
methods/letta/server/rest_api/interface.py:387
↓ 9 callers
Function
stripInboundMetadata
(text: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/capture/index.ts:139
↓ 9 callers
Method
to_dict
Convert to dictionary format.
methods/memOS/MemOS/src/memos/vec_dbs/item.py:41
↓ 9 callers
Method
update
Update a memory by memory_id.
methods/memOS/MemOS/src/memos/memories/textual/base.py:38
↓ 8 callers
Function
Xe
(e,n,t)
methods/letta/server/static_files/assets/index-048c9598.js:40
↓ 8 callers
Method
__deepcopy__
(self, memo)
methods/letta/openai_backcompat/openai_object.py:388
↓ 8 callers
Method
_ensure_consumer_group
Ensure the consumer group exists for the stream.
methods/memOS/MemOS/src/memos/mem_scheduler/task_schedule_modules/redis_queue.py:389
↓ 8 callers
Method
_make_memory_item
construct memory item
methods/memOS/MemOS/src/memos/mem_reader/simple_struct.py:204
↓ 8 callers
Function
_parse_list_items
Parse a section of text into a list of items. Handles: - Bullet points (-, *, numbered) - Comma-separated values - One item per
methods/amem/A-mem/llm_text_parsers.py:46
↓ 8 callers
Method
_run_async
Run async coroutine in sync context.
methods/mirix_agent.py:139
↓ 8 callers
Method
_validate_return_fields
Validate and sanitize return_fields to prevent query injection. Only allows alphanumeric characters and underscores in field names. S
methods/memOS/MemOS/src/memos/graph_dbs/base.py:17
↓ 8 callers
Function
an
(e)
methods/letta/server/static_files/assets/index-048c9598.js:40
↓ 8 callers
Function
be
(e,n)
methods/letta/server/static_files/assets/index-048c9598.js:40
↓ 8 callers
Function
checkAndCleanupFreshInstall
()
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/store/freshInstallCleanup.ts:205
↓ 8 callers
Function
check_module_factory_class
Generic function to test factory classes. - It should inherit from a base class. - It should have a backend_to_class attribute. - It
methods/memOS/MemOS/tests/utils.py:68
↓ 8 callers
Function
close_db
Close database connection.
generation/app/database.py:61
↓ 8 callers
Function
cn
(e,n)
methods/letta/server/static_files/assets/index-048c9598.js:40
↓ 8 callers
Function
configure_workers
Factory fixture to configure worker count and round-robin mode.
methods/MIRIX/tests/test_queue.py:146
↓ 8 callers
Function
count_memories_via_api
Count memories by querying the database (async with db_context).
methods/MIRIX/tests/test_deletion_apis.py:218
↓ 8 callers
Method
delete_node
Delete a node from the graph. Args: id: Node identifier to delete.
methods/memOS/MemOS/src/memos/graph_dbs/base.py:55
↓ 8 callers
Method
delete_organization_by_id
Delete an organization (removes from cache).
methods/MIRIX/mirix/services/organization_manager.py:106
↓ 8 callers
Method
delete_user
Soft delete a user (set is_active to False). Args: user_id (str): The user ID. Returns: bool: True if succes
methods/memOS/MemOS/src/memos/mem_user/user_manager.py:423
↓ 8 callers
Method
dispose
()
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/__tests__/unit/main/opencode/task-manager.unit.test.ts:111
↓ 8 callers
Function
emit_monitor_event
Emit a structured MONITOR_EVENT log line for SLS consumption. This must be fire-and-forget: any exception here should never break the schedu
methods/memOS/MemOS/src/memos/mem_scheduler/utils/monitor_event_utils.py:35
↓ 8 callers
Method
empty
Check if the Redis queue is empty (Queue-compatible interface). Returns: True if the queue is empty, False otherwise
methods/memOS/MemOS/src/memos/mem_scheduler/task_schedule_modules/redis_queue.py:1061
↓ 8 callers
Method
ensure_directory_exists
(file_path: str)
methods/cognee/infrastructure/files/storage/LocalStorage.py:41
↓ 8 callers
Function
findCommandInPath
(command: string, searchPath: string)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/utils/system-path.ts:206
↓ 8 callers
Method
from_config
(cls, config_factory: SchedulerConfigFactory)
methods/memOS/MemOS/src/memos/mem_scheduler/scheduler_factory.py:18
↓ 8 callers
Method
generate_dialogues
Generate dialogue interaction records.
generation/pipeline/generator.py:440
↓ 8 callers
Function
getAllApiKeys
()
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/store/secureStorage.ts:195
↓ 8 callers
Method
get_admin_user
Fetch the admin user, creating it if it doesn't exist.
methods/MIRIX/mirix/services/user_manager.py:385
↓ 8 callers
Method
get_block_by_id
Retrieve a block by its name.
methods/letta/services/block_manager.py:124
↓ 8 callers
Method
get_completion
(self, prompt: str, response_format: dict, temperature: float = 0.7)
methods/amem/A-mem/memory_layer.py:48
↓ 8 callers
Function
get_current_trace_id
Get the current request's trace_id. Returns: The trace_id if available, None otherwise.
methods/memOS/MemOS/src/memos/context/context.py:103
↓ 8 callers
Method
get_embeddable_data
(self, data_point: "DataPoint")
methods/cognee/infrastructure/engine/models/DataPoint.py:36
↓ 8 callers
Method
get_env_prefix
Automatically generates environment variable prefix from class name. Converts the class name to uppercase and appends an underscore.
methods/memOS/MemOS/src/memos/mem_scheduler/general_modules/misc.py:27
↓ 8 callers
Method
get_job_by_id
Fetch a job by its ID.
methods/letta/services/job_manager.py:77
↓ 8 callers
Method
get_milvus_client
(self)
methods/cognee/infrastructure/databases/vector/milvus/MilvusAdapter.py:35
↓ 8 callers
Method
get_openai_config
Get OpenAI configuration.
methods/memOS/MemOS/src/memos/api/config.py:264
↓ 8 callers
Method
get_or_create_org_default_user
Get or create the default template user for an organization. This user serves as the template for copying blocks to new users.
methods/MIRIX/mirix/services/user_manager.py:399
↓ 8 callers
Method
get_tool_by_name
Retrieve a tool by its name and a user. We derive the organization from the user, and retrieve that tool.
methods/letta/services/tool_manager.py:114
↓ 8 callers
Function
get_tool_call_id
()
methods/letta/utils.py:489
↓ 8 callers
Method
get_user_by_id
Fetch a user by ID.
methods/letta/services/user_manager.py:79
↓ 8 callers
Method
get_vector_size
(self)
methods/cognee/infrastructure/databases/vector/embeddings/EmbeddingEngine.py:8
↓ 8 callers
Function
handle_scheduler_status
Get scheduler running status for one or all tasks of a user. Retrieves task statuses from the persistent TaskStatusTracker. Args:
methods/memOS/MemOS/src/memos/api/handlers/scheduler_handler.py:190
↓ 8 callers
Function
initPlugin
(opts: PluginInitOptions = {})
methods/memOS/MemOS/apps/memos-local-openclaw/src/index.ts:53
↓ 8 callers
Method
interruptTask
()
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/__tests__/unit/main/opencode/task-manager.unit.test.ts:102
↓ 8 callers
Function
list_auth_providers
List all registered auth provider names. Returns: List of registered provider names.
methods/MIRIX/mirix/llm_api/auth_provider.py:119
↓ 8 callers
Method
list_by_scopes
Query blocks filtered by scope at the SQL level (async). Uses filter_tags->>'scope' IN (...) which hits the btree index ix_b
methods/MIRIX/mirix/orm/block.py:85
↓ 8 callers
Function
log_success
(message: str)
methods/MIRIX/scripts/reset_database.py:59
↓ 8 callers
Function
log_warning
(message: str)
methods/MIRIX/scripts/reset_database.py:63
↓ 8 callers
Function
mn
(e)
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 8 callers
Function
normalize_answer
(s)
data/locomo/task_eval/evaluation.py:75
← previous
next →
601–700 of 13,378, ranked by callers