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
↓ 11 callers
Function
_filter_function_args
Filter function arguments to only include parameters accepted by the function. Strips hallucinated args like 'internal_monologue' that LLMs s
methods/MIRIX/mirix/agent/agent.py:100
↓ 11 callers
Method
_increment_version_control
Increment the version control tag, cycling from 255 back to 0 Args: current_tag: Current version control tag as string R
methods/memOS/MemOS/src/memos/mem_scheduler/orm_modules/base_model.py:302
↓ 11 callers
Function
_make_fast_item
( memory: str = "User said hello", user_id: str = "u1", session_id: str = "sess1", manager_use
methods/memOS/MemOS/tests/mem_reader/test_project_id_propagation.py:49
↓ 11 callers
Method
_parse_env_value
Converts environment variable string to appropriate type.
methods/memOS/MemOS/src/memos/mem_scheduler/general_modules/misc.py:81
↓ 11 callers
Method
_parse_node
Parse node data from database format to standard format.
methods/memOS/MemOS/src/memos/graph_dbs/polardb.py:2952
↓ 11 callers
Method
_query_endpoint
(self, query: str)
methods/MemRL/3rdparty/LifelongAgentBench/src/tasks/instance/knowledge_graph/utils/sparql_executor.py:15
↓ 11 callers
Method
_validate_cube_access
Validate user has access to the cube. Args: user_id (str): The user ID to validate. cube_id (str): The cube ID to val
methods/memOS/MemOS/src/memos/mem_os/core.py:214
↓ 11 callers
Function
addTaskMessage
(taskId: string, message: TaskMessage)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/store/taskHistory.ts:144
↓ 11 callers
Function
build_filter_tags_redis
Build a Redis Search query string from filter_tags and scopes. Handles: - scopes: translated to OR query on filter_tags_scope -
methods/MIRIX/mirix/database/filter_tags_query.py:263
↓ 11 callers
Method
chat
Enhanced chat method with optional CoT (Chain of Thought) enhancement. Args: query (str): The user's query.
methods/memOS/MemOS/src/memos/mem_os/main.py:108
↓ 11 callers
Function
check_module_base_class
General function to test the correctness of an abstract base class. - It should inherit from ABC. - It should define at least one method.
methods/memOS/MemOS/tests/utils.py:12
↓ 11 callers
Function
count_tokens
(s: str, model: str = "gpt-4")
methods/MIRIX/mirix/utils.py:871
↓ 11 callers
Function
createSkillDir
(name: string, opts?: { scripts?: Array<{ name: string; content: string }>; references?: Array<{ name: str
methods/memOS/MemOS/apps/memos-local-openclaw/tests/skill-runtime-flow.test.ts:20
↓ 11 callers
Function
extractScreenshots
* Extract base64 screenshots from tool output
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/__tests__/main/ipc/handlers-utils.unit.test.ts:57
↓ 11 callers
Function
extract_json_obj
Safely extracts JSON from LLM response text with robust error handling. Args: text: Raw text response from LLM that may contain JSON
methods/memOS/MemOS/src/memos/mem_scheduler/utils/misc_utils.py:55
↓ 11 callers
Method
from_json
Deserialize from JSON string
methods/memOS/MemOS/src/memos/mem_scheduler/orm_modules/redis_model.py:34
↓ 11 callers
Method
ftsSearch
(query: string, limit: number, ownerFilter?: string[])
methods/memOS/MemOS/apps/memos-local-openclaw/src/storage/sqlite.ts:1173
↓ 11 callers
Method
generate_stream
Generate a streaming response from the model. Args: messages (MessageList): Chat messages for prompt construction.
methods/memOS/MemOS/src/memos/llms/hf.py:87
↓ 11 callers
Method
get
Retrieve a vector by ID. Args: vector_id (str): ID of the vector to retrieve. Returns: Optional[Outpu
methods/mem0/vector_stores/vertex_ai_vector_search.py:359
↓ 11 callers
Function
getOpenCodeCliPath
()
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/opencode/cli-path.ts:37
↓ 11 callers
Function
getTextFromMessage
(msg: AgentMessage)
methods/memOS/MemOS/apps/memos-local-openclaw/src/context-engine/index.ts:72
↓ 11 callers
Function
get_base_config
()
methods/cognee/base_config.py:29
↓ 11 callers
Function
get_history
(user_id: UUID, limit: int = 10)
methods/cognee/modules/search/operations/get_history.py:8
↓ 11 callers
Method
has_node
(self, node_id: str)
methods/cognee/infrastructure/databases/graph/networkx/adapter.py:45
↓ 11 callers
Method
hit_limit
Record a hit and check if limit is exceeded. This method checks whether making a request now would exceed the configured rat
methods/cognee/infrastructure/llm/rate_limiter.py:133
↓ 11 callers
Function
initialize_queue
Initialize the queue with an optional server instance. The queue worker will invoke server.send_messages() when processing messages. Thi
methods/MIRIX/mirix/queue/__init__.py:42
↓ 11 callers
Function
insertChunk
(overrides: Partial<Chunk> & { id: string })
methods/memOS/MemOS/apps/memos-local-openclaw/tests/task-processor.test.ts:371
↓ 11 callers
Method
insertHubNotification
(n: { id: string; userId: string; type: string; resource: string; title: string; message?: string })
methods/memOS/MemOS/apps/memos-local-openclaw/src/storage/sqlite.ts:2561
↓ 11 callers
Function
makeChunk
(overrides: Partial<Chunk> = {})
methods/memOS/MemOS/apps/memos-local-openclaw/tests/multi-agent.test.ts:29
↓ 11 callers
Function
makeSkill
(overrides: Partial<Skill> = {})
methods/memOS/MemOS/apps/memos-local-openclaw/tests/multi-agent.test.ts:134
↓ 11 callers
Function
normalizeText
(value: unknown)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/services/memory.ts:113
↓ 11 callers
Function
parse_json
Parse JSON string into JSON with both json and demjson
methods/letta/utils.py:822
↓ 11 callers
Method
put
Put an item into the queue. If the queue is full, the oldest item will be automatically removed to make space. IMPORTANT: When we dro
methods/memOS/MemOS/src/memos/mem_scheduler/general_modules/misc.py:207
↓ 11 callers
Method
query
(self, query: str, params: dict = {})
methods/cognee/infrastructure/databases/hybrid/falkordb/FalkorDBAdapter.py:38
↓ 11 callers
Method
rebuild_system_prompt
Rebuilds the system message with the latest memory object and any shared memory block updates Updates to core memory blocks should trigger a
methods/letta/services/agent_manager.py:772
↓ 11 callers
Function
register_auth_provider
Register an authentication provider in the global registry. Args: name: Unique name for this auth provider. This name is referenced
methods/MIRIX/mirix/llm_api/auth_provider.py:67
↓ 11 callers
Function
remove_thinking_tags
Remove thinking tags from the generated text. Args: text: The generated text. Returns: str: The cleaned text.
methods/memOS/MemOS/src/memos/llms/utils.py:4
↓ 11 callers
Method
start
Start progress tracking.
methods/memrl_agent.py:178
↓ 11 callers
Method
upload_file
Upload a file and wait for completion.
methods/MIRIX/mirix/agent/upload_manager.py:231
↓ 11 callers
Method
upsertHubSkill
(skill: HubSkillRecord)
methods/memOS/MemOS/apps/memos-local-openclaw/src/storage/sqlite.ts:2147
↓ 11 callers
Function
validate
( schema: TSchema, payload: unknown )
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/ipc/validation.ts:30
↓ 11 callers
Function
ze
(e,n)
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 10 callers
Function
De
(e)
methods/letta/server/static_files/assets/index-048c9598.js:40
↓ 10 callers
Method
__init__
(self, message: str, code: Optional[ErrorCode] = None, details: dict = {})
methods/MIRIX/mirix/errors.py:39
↓ 10 callers
Method
_apply_block_filter_tags
Apply self.block_filter_tags to loaded blocks using the configured update mode. Mutates blocks in-place and persists only those whose filter_
methods/MIRIX/mirix/agent/agent.py:350
↓ 10 callers
Method
_get_segment
Calculate the segment corresponding to the key
methods/memOS/MemOS/src/memos/memos_tools/thread_safe_dict_segment.py:142
↓ 10 callers
Function
buildSkillConfigChain
(ctx: PluginContext)
methods/memOS/MemOS/apps/memos-local-openclaw/src/shared/llm-call.ts:95
↓ 10 callers
Method
build_lookup
(self)
methods/cognee/modules/ontology/rdf_xml/OntologyResolver.py:40
↓ 10 callers
Method
capture
(event: string, properties?: Record<string, unknown>)
methods/memOS/MemOS/apps/memos-local-openclaw/src/telemetry.ts:164
↓ 10 callers
Method
close
Shut down the WebSocket interface and its event loop.
methods/letta/server/ws_api/interface.py:105
↓ 10 callers
Method
close
Stop Kafka producer and consumer gracefully.
methods/MIRIX/mirix/queue/kafka_queue.py:178
↓ 10 callers
Method
close
Close the database manager and clean up resources This method releases any held locks and disposes of the database engine. Should be
methods/memOS/MemOS/src/memos/mem_scheduler/orm_modules/base_model.py:546
↓ 10 callers
Function
coerce_scene_data
Normalize ANY allowed SceneDataInput into: list[MessagesType]. Supports: - Already normalized scene_data → passthrough - doc: legacy
methods/memOS/MemOS/src/memos/mem_reader/read_multi_modal/utils.py:207
↓ 10 callers
Function
createMockMessage
( id: string, type: 'assistant' | 'user' | 'tool' | 'system' = 'assistant', content: string = 'Test mess
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/__tests__/integration/renderer/pages/Execution.integration.test.tsx:45
↓ 10 callers
Method
delete_agent
(self, agent_id: str)
methods/MIRIX/mirix/client/client.py:95
↓ 10 callers
Method
delete_block
Delete a block.
methods/MIRIX/mirix/client/remote_client.py:958
↓ 10 callers
Method
dispose
* Dispose the adapter and clean up all resources * Called when task completes, is cancelled, or on app quit
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/opencode/adapter.ts:297
↓ 10 callers
Method
evaluate
(self)
benchmarks/locomo/evaluator.py:115
↓ 10 callers
Method
extract
Extract memories based on the messages. Args: messages (MessageList): The messages to extract memories from. Returns:
methods/memOS/MemOS/src/memos/memories/textual/base.py:21
↓ 10 callers
Method
fingerprint
(self)
methods/letta/schemas/sandbox_config.py:120
↓ 10 callers
Method
get
Get attribute value by key name, similar to dict.get(). Args: key: The attribute name to retrieve default: D
methods/memOS/MemOS/src/memos/mem_scheduler/schemas/api_schemas.py:53
↓ 10 callers
Function
get_auth_provider
Retrieve an authentication provider from the global registry. Args: name: Name of the auth provider to retrieve. Returns:
methods/MIRIX/mirix/llm_api/auth_provider.py:89
↓ 10 callers
Method
get_connection
(self)
methods/cognee/infrastructure/databases/vector/lancedb/LanceDBAdapter.py:46
↓ 10 callers
Method
get_connection
(self)
methods/cognee/infrastructure/databases/vector/chromadb/ChromaDBAdapter.py:98
↓ 10 callers
Function
get_current_admin
Dependency to get the current authenticated client from JWT token. Args: authorization: Bearer token from Authorization header
methods/MIRIX/mirix/server/rest_api.py:5115
↓ 10 callers
Function
get_langfuse_client
Get the global LangFuse client instance. Returns the cached singleton. Initialization must have been called via ``await initialize_langf
methods/MIRIX/mirix/observability/langfuse_client.py:106
↓ 10 callers
Method
get_message_by_id
Fetch a message by ID (with cache - Redis or IPS Cache).
methods/MIRIX/mirix/services/message_manager.py:26
↓ 10 callers
Method
get_node
(self, node_id: str)
methods/cognee/modules/graph/cognee_graph/CogneeGraph.py:42
↓ 10 callers
Method
get_or_create_default_sandbox_config
(self, sandbox_type: SandboxType, actor: PydanticUser)
methods/letta/services/sandbox_config_manager.py:28
↓ 10 callers
Method
get_qdrant_client
(self)
methods/cognee/infrastructure/databases/vector/qdrant/QDrantAdapter.py:63
↓ 10 callers
Function
get_token_tracker
Get the global token tracker instance. Returns: The singleton TokenTracker instance
generation/app/services/token_tracker.py:265
↓ 10 callers
Function
get_vectordb_config
()
methods/cognee/infrastructure/databases/vector/config.py:27
↓ 10 callers
Method
hasActiveTask
* Check if a task is active
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/opencode/task-manager.ts:565
↓ 10 callers
Function
id
(e,n,t)
methods/letta/server/static_files/assets/index-048c9598.js:40
↓ 10 callers
Function
insertSkillRecord
(id: string, name: string, dirPath: string)
methods/memOS/MemOS/apps/memos-local-openclaw/tests/skill-runtime-flow.test.ts:59
↓ 10 callers
Function
je
()
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 10 callers
Method
list_providers
List all providers with optional pagination.
methods/MIRIX/mirix/services/provider_manager.py:90
↓ 10 callers
Function
make_item
(content: str, score: float)
methods/memOS/MemOS/tests/memories/textual/test_tree_searcher.py:27
↓ 10 callers
Function
make_tool
Create a minimal Tool object for testing.
methods/MIRIX/tests/test_filter_function_args.py:15
↓ 10 callers
Function
remove_directories
Remove all directories matching the pattern. Args: root: Root directory to search from pattern: Directory name pattern to ma
methods/MIRIX/scripts/clean_cache.py:45
↓ 10 callers
Method
retrieve_with_conversation
Retrieve relevant memories based on conversation context with optional temporal filtering. This method analyzes the conversation and
methods/MIRIX/mirix/client/remote_client.py:1350
↓ 10 callers
Function
section
(msg: string)
methods/memOS/MemOS/apps/memos-local-openclaw/scripts/smoke-test.ts:38
↓ 10 callers
Function
set_trace_context
Set current trace context. Used to propagate trace information through async operations and across service boundaries (e.g., Kafka messa
methods/MIRIX/mirix/observability/context.py:20
↓ 10 callers
Method
to_json
Serialize to JSON string
methods/memOS/MemOS/src/memos/mem_scheduler/orm_modules/redis_model.py:29
↓ 10 callers
Method
update
A single, synchronous update operation for convenience and testing.
methods/MemRL/memrl/service/updater.py:167
↓ 10 callers
Method
update_node
Update attributes of an existing node. Args: id: Node identifier to be updated. fields: Dictionary of fields
methods/memOS/MemOS/src/memos/graph_dbs/base.py:45
↓ 10 callers
Method
upsert
Add or update data in the vector database. If an item with the same ID exists, it will be updated. Otherwise, it will be add
methods/memOS/MemOS/src/memos/vec_dbs/base.py:99
↓ 9 callers
Function
Be
(e,n)
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 9 callers
Function
Ke
(e,n)
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 9 callers
Function
Ye
(e,n,t)
methods/letta/server/static_files/assets/index-048c9598.js:40
↓ 9 callers
Method
_build_system_prompt
Build system prompt with optional memories context.
methods/memOS/MemOS/src/memos/mem_os/core.py:354
↓ 9 callers
Function
_extract_section
Extract the text between *marker*: and the next known marker (or end). Args: text: Full LLM response marker: Section header to fi
methods/amem/A-mem/llm_text_parsers.py:83
↓ 9 callers
Method
_get_current_dataset_item
(self)
methods/MemRL/3rdparty/LifelongAgentBench/src/tasks/task.py:141
↓ 9 callers
Method
_make_agent
(self, block_filter_tags, update_mode="merge")
methods/MIRIX/tests/test_block_filter_tag_updates.py:208
↓ 9 callers
Method
_make_block
(self, filter_tags)
methods/MIRIX/tests/test_block_filter_tag_updates.py:229
↓ 9 callers
Method
_parse_node
(self, node_data: dict[str, Any])
methods/memOS/MemOS/src/memos/graph_dbs/neo4j.py:1875
↓ 9 callers
Method
_tb_add_scalar
Best-effort TensorBoard scalar logging.
methods/MemRL/memrl/run/bcb_runner.py:147
↓ 9 callers
Method
add_scalar
(self, *args: Any, **kwargs: Any)
methods/MemRL/memrl/run/llb_rl_runner.py:192
↓ 9 callers
Method
add_user_to_cube
Add a user to a cube's access list. Args: user_id (str): The user ID. cube_id (str): The cube ID. Returns:
methods/memOS/MemOS/src/memos/mem_user/user_manager.py:356
↓ 9 callers
Function
appendMemoryToMessage
(msg: AgentMessage, memoryBlock: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/context-engine/index.ts:83
← previous
next →
501–600 of 13,378, ranked by callers