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
_usage_details_to_dict
(details: Any)
methods/MemRL/memrl/providers/embedding.py:93
↓ 2 callers
Method
_use_max_completion_tokens
Check if should use max_completion_tokens param (new models).
utils/llm_client.py:315
↓ 2 callers
Method
_user_by_id
a flexible non-constrained record of a user. This way users can get added, deleted etc without history freaking out
methods/letta/orm/base.py:46
↓ 2 callers
Method
_user_by_id
a flexible non-constrained record of a user. This way users can get added, deleted etc without history freaking out
methods/MIRIX/mirix/orm/base.py:55
↓ 2 callers
Method
_user_id_getter
returns the user id for the specified property
methods/letta/orm/base.py:68
↓ 2 callers
Method
_user_id_getter
returns the user id for the specified property
methods/MIRIX/mirix/orm/base.py:77
↓ 2 callers
Method
_user_id_setter
returns the user id for the specified property
methods/letta/orm/base.py:76
↓ 2 callers
Method
_user_id_setter
returns the user id for the specified property
methods/MIRIX/mirix/orm/base.py:85
↓ 2 callers
Function
_validate_operator
Return the single operator key from a value dict, or raise ValueError.
methods/MIRIX/mirix/database/filter_tags_query.py:29
↓ 2 callers
Method
_validate_single_tuple_str
( agent_tuple_str: str, ground_truth_tuple: DBBenchType.Row )
methods/MemRL/3rdparty/LifelongAgentBench/src/tasks/instance/db_bench/task.py:165
↓ 2 callers
Method
_warm_up_search_connections_by_full
(self, user_name: str | None = None)
methods/memOS/MemOS/src/memos/graph_dbs/polardb.py:212
↓ 2 callers
Function
a
(t)
data/locomo/static/js/bulma-carousel.min.js:1
↓ 2 callers
Method
aclose
(self)
methods/MIRIX/mirix/client/remote_client.py:110
↓ 2 callers
Method
acquire_write
Write lock acquisition
methods/memOS/MemOS/src/memos/memos_tools/thread_safe_dict_segment.py:62
↓ 2 callers
Method
act
Given an observation, decide on the next action to take.
methods/MemRL/memrl/agent/base.py:18
↓ 2 callers
Function
adapt_array
Converts numpy array to binary for SQLite storage
methods/letta/orm/sqlite_functions.py:12
↓ 2 callers
Function
adapt_array
Converts numpy array to binary for SQLite storage
methods/MIRIX/mirix/orm/sqlite_functions.py:12
↓ 2 callers
Method
add
No-op for compatibility; PGlite bridge is query-oriented.
methods/MIRIX/mirix/server/server.py:239
↓ 2 callers
Method
add
Create a new memory. Args: messages (str or List[Dict[str, str]]): Messages to store in the memory. user_id
methods/mem0/memory/main.py:102
↓ 2 callers
Method
add
(self, text: str, metadata: Optional[Dict] = None, user_id: Optional[str] = None)
methods/mem0/vector_stores/vertex_ai_vector_search.py:496
↓ 2 callers
Method
add
Add memories. Args: memories: List of TextualMemoryItem objects or dictionaries to add. user_name: optional user_name
methods/memOS/MemOS/src/memos/memories/textual/tree.py:103
↓ 2 callers
Method
add_function
(self, function_name: str)
methods/letta/agent.py:1120
↓ 2 callers
Method
add_if_not_exists
Add a knowledge point if no duplicate exists. Returns True if added.
generation/app/schemas/dialogue.py:39
↓ 2 callers
Function
add_imports_and_pydantic_schemas_for_args
(args_json_schema: dict)
methods/letta/services/helpers/tool_execution_helper.py:162
↓ 2 callers
Function
add_inner_thoughts_to_tool_call
Add inner thoughts (arg + value) to a tool call
methods/letta/schemas/message.py:44
↓ 2 callers
Method
add_llm_call
( self, *, system_prompt_id: Optional[str], messages_wo_system: List[Dict[str,
methods/MemRL/memrl/trace/llb_jsonl.py:130
↓ 2 callers
Method
add_memory
(self, content, time=None)
methods/amem/A-mem/test_advanced.py:57
↓ 2 callers
Method
add_node
Add a memory node.
methods/memOS/MemOS/src/memos/graph_dbs/postgres.py:245
↓ 2 callers
Method
add_rawfile_nodes_n_edges
Add raw file nodes and edges to the graph. Edges are between raw file ids and mem_ids. Args: raw_file_mem_group: List of
methods/memOS/MemOS/src/memos/memories/textual/tree.py:516
↓ 2 callers
Function
aggregate_metrics
Calculate aggregate statistics for all metrics, split by category.
methods/amem/A-mem/utils.py:167
↓ 2 callers
Function
ai
(e)
methods/letta/server/static_files/assets/index-048c9598.js:37
↓ 2 callers
Function
analyze_aggr_acc
(ann_file, in_file, out_file, model_name, metric_key, encoder=None, rag=False)
data/locomo/task_eval/evaluation_stats.py:31
↓ 2 callers
Method
answer
( self, query, max_new_tokens=128)
methods/memorag/memorag_lite.py:359
↓ 2 callers
Method
answer
( self, query, max_new_tokens=128)
methods/memorag/memorag.py:232
↓ 2 callers
Function
anthropic_get_model_list
https://docs.anthropic.com/claude/docs/models-overview
methods/letta/llm_api/anthropic.py:125
↓ 2 callers
Function
anthropic_get_model_list
https://docs.anthropic.com/claude/docs/models-overview
methods/MIRIX/mirix/llm_api/anthropic.py:60
↓ 2 callers
Method
api_base
(cls)
methods/letta/openai_backcompat/openai_object.py:212
↓ 2 callers
Function
append_context
(context_text: str)
methods/MIRIX/tests/test_raw_memory.py:1107
↓ 2 callers
Method
append_initial_message_sequence_to_in_context_messages
( self, actor: PydanticClient, agent_state: PydanticAgentState, initial_messag
methods/MIRIX/mirix/services/agent_manager.py:674
↓ 2 callers
Function
applyMemoryContext
(config: TaskConfig, memoryContext: string | null)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/ipc/handlers.ts:220
↓ 2 callers
Function
as
(e,n)
methods/letta/server/static_files/assets/index-048c9598.js:37
↓ 2 callers
Function
assertTrustedWindow
(window: BrowserWindow | null)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/ipc/handlers.ts:193
↓ 2 callers
Method
attach_block
Attaches a block to an agent.
methods/letta/services/agent_manager.py:1109
↓ 2 callers
Method
attach_tool
Add tool to an existing agent Args: agent_id (str): ID of the agent tool_id (str): A tool id Return
methods/letta/client/client.py:707
↓ 2 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/letta/services/agent_manager.py:1448
↓ 2 callers
Method
authenticate
Authenticate a client for dashboard access and return client + JWT token. Args: email: The email address pas
methods/MIRIX/mirix/services/admin_user_manager.py:281
↓ 2 callers
Method
autoInstallIfNeeded
(skill: Skill)
methods/memOS/MemOS/apps/memos-local-openclaw/src/skill/evolver.ts:369
↓ 2 callers
Function
azure_openai_get_deployed_model_list
https://learn.microsoft.com/en-us/rest/api/azureopenai/models/list?view=rest-azureopenai-2023-05-15&tabs=HTTP
methods/letta/llm_api/azure_openai.py:32
↓ 2 callers
Function
background_task
()
methods/letta/functions/helpers.py:463
↓ 2 callers
Function
batch_cosine_similarity
Compute cosine similarity between a single query vector and multiple candidate vectors using NumPy. Args: query_vec (list[float]): T
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/reranker.py:9
↓ 2 callers
Method
beautify_multi_line_message
(message: str, plain_prefix: str)
methods/MemRL/3rdparty/LifelongAgentBench/src/utils/logger.py:140
↓ 2 callers
Function
brute_force_search
Performs a brute force search to retrieve the top triplets from the graph. Args: query (str): The search query. user (User):
methods/cognee/modules/retrieval/utils/brute_force_triplet_search.py:96
↓ 2 callers
Function
bs
(e,n)
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 2 callers
Function
buildAddMessagePayload
(cfg, messages, ctx)
methods/memOS/MemOS/apps/MemOS-Cloud-OpenClaw-Plugin/index.js:133
↓ 2 callers
Function
buildAuthHeaders
(config: MemoryConfig)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/services/memory.ts:82
↓ 2 callers
Function
buildHeaders
(provider: ResolvedProvider)
methods/memOS/MemOS/apps/memos-local-openclaw/src/openclaw-api.ts:186
↓ 2 callers
Function
buildSearchPayload
(cfg, prompt, ctx)
methods/memOS/MemOS/apps/MemOS-Cloud-OpenClaw-Plugin/index.js:85
↓ 2 callers
Function
buildUrl
(baseUrl: string, path: string)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/services/memory.ts:76
↓ 2 callers
Method
build_corpus
( self, limit: Optional[int] = None, chunk_size=1024, chunker=TextChunker,
methods/cognee/eval_framework/corpus_builder/corpus_builder_executor.py:43
↓ 2 callers
Function
build_enrich_prompt
Build the enrichment prompt for a given persona. Args: persona: Base persona dict from user_personas.json Returns: Formatted
generation/app/prompts/persona_enrich.py:254
↓ 2 callers
Function
build_file_parser
Initialize and return a configured file parser (MarkItDown). Returns: Configured parser instance or None if initialization fails.
methods/memOS/MemOS/examples/mem_reader/builders.py:39
↓ 2 callers
Function
build_llb_system_prompt
Build the LLB system prompt for a given task (db/os), aligning constraints.
methods/MemRL/memrl/lifelongbench_eval/prompts.py:58
↓ 2 callers
Function
build_openai_chat_completions_request
( llm_config: LLMConfig, messages: List[_Message], functions: Optional[list], function_call: O
methods/MIRIX/mirix/llm_api/openai.py:97
↓ 2 callers
Method
build_request_data
Constructs a request object in the expected data format for this client.
methods/letta/llm_api/llm_client_base.py:94
↓ 2 callers
Function
build_search_context
( search_req: APISearchRequest, )
methods/memOS/MemOS/src/memos/search/search_service.py:21
↓ 2 callers
Function
build_system_prompt
Build system prompt with optional Mirix memory context Args: mirix_agent: Mirix instance for memory extraction user_id: User ID f
methods/MIRIX/samples/claude_agent.py:24
↓ 2 callers
Method
build_system_prompt
Build the system prompt for the LLM API
methods/MIRIX/mirix/agent/agent.py:1951
↓ 2 callers
Function
build_task
Build LLB task object.
methods/MemRL/memrl/lifelongbench_eval/task_wrappers.py:73
↓ 2 callers
Function
build_tree
Recursively build tree structure with cycle detection
methods/memOS/MemOS/src/memos/mem_os/utils/format_utils.py:573
↓ 2 callers
Function
c
(f,a,d,v)
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 2 callers
Function
ca
(e,n,t)
methods/letta/server/static_files/assets/index-048c9598.js:38
↓ 2 callers
Function
calculate_backoff
Calculate the backoff time for a retry attempt with jitter. Args: attempt: The current retry attempt (0-based). initial_back
methods/cognee/infrastructure/llm/rate_limiter.py:260
↓ 2 callers
Function
calculate_enhanced_quality
Enhanced quality calculation, prioritizing branching degree and leaf distribution
methods/memOS/MemOS/src/memos/mem_os/utils/format_utils.py:127
↓ 2 callers
Method
calculate_metric
Calculate and return metrics based on a list of sessions. Past a list with one element to calculate the metric for a single sample.
methods/MemRL/3rdparty/LifelongAgentBench/src/tasks/task.py:502
↓ 2 callers
Function
calculate_metrics
Calculate comprehensive evaluation metrics for a prediction.
methods/amem/A-mem/utils.py:109
↓ 2 callers
Function
callSummarize
(cfg: SummarizerConfig, text: string, log: Logger)
methods/memOS/MemOS/apps/memos-local-openclaw/src/ingest/providers/index.ts:496
↓ 2 callers
Method
cancelTask
* Cancel the current task (hard kill)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/opencode/adapter.ts:245
↓ 2 callers
Method
capture_event
(self, event_name, properties=None, user_email=None)
methods/mem0/memory/telemetry.py:33
↓ 2 callers
Method
chat_completion_to_prompt
Zephyr prompt format: <|system|> </s> <|user|> {prompt}</s> <|assistant|>
methods/letta/local_llm/llm_chat_completion_wrappers/zephyr.py:29
↓ 2 callers
Method
checkOfflineUsers
()
methods/memOS/MemOS/apps/memos-local-openclaw/src/hub/server.ts:1096
↓ 2 callers
Function
check_dataset_name
(dataset_name: str)
methods/cognee/modules/pipelines/operations/pipeline.py:132
↓ 2 callers
Function
check_graph_metrics_consistency_across_adapters
(include_optional=False)
methods/cognee/tests/tasks/descriptive_metrics/metric_consistency_test.py:6
↓ 2 callers
Function
check_supports_structured_output
(model: str, tool_rules: List[ToolRule])
methods/letta/services/helpers/agent_manager_helper.py:301
↓ 2 callers
Function
check_supports_structured_output
(model: str, tool_rules: List[ToolRule])
methods/MIRIX/mirix/services/helpers/agent_manager_helper.py:243
↓ 2 callers
Method
chunkExistsByContent
* Check if a chunk with the same (session_key, role, content_hash) already exists. * Uses indexed content_hash for O(1) lookup to prevent duplicate
methods/memOS/MemOS/apps/memos-local-openclaw/src/storage/sqlite.ts:1602
↓ 2 callers
Function
cl
(c)
data/locomo/static/js/fontawesome.all.min.js:5
↓ 2 callers
Method
cleanSync
(srcDir: string, dstDir: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/skill/installer.ts:155
↓ 2 callers
Function
clean_json_string_extra_backslash
Clean extra backslashes out from stringified JSON NOTE: Google AI Gemini API likes to include these
methods/letta/local_llm/json_parser.py:8
↓ 2 callers
Function
clean_json_string_extra_backslash
Clean extra backslashes out from stringified JSON NOTE: Google AI Gemini API likes to include these
methods/MIRIX/mirix/utils.py:1249
↓ 2 callers
Function
clean_property
Clean up a property schema to match desired format
methods/letta/functions/schema_generator.py:238
↓ 2 callers
Function
clean_property
Clean up a property schema to match desired format
methods/MIRIX/mirix/functions/schema_generator.py:233
↓ 2 callers
Function
clean_schema
Clean up a schema part, handling references and nested structures
methods/letta/functions/schema_generator.py:275
↓ 2 callers
Method
cleanup
()
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/opencode/task-manager.ts:376
↓ 2 callers
Method
clear
(self)
src/result.py:334
↓ 2 callers
Method
clear
Clear all items.
methods/memOS/MemOS/src/memos/memos_tools/thread_safe_dict.py:168
↓ 2 callers
Method
clearClientHubConnection
()
methods/memOS/MemOS/apps/memos-local-openclaw/src/storage/sqlite.ts:1880
↓ 2 callers
Function
clearPreviousInstallData
* Clear all user data from previous installation
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/store/freshInstallCleanup.ts:136
↓ 2 callers
Function
clear_line
(console, strip_ui=False)
methods/letta/main.py:50
↓ 2 callers
Method
close
Close the environment and free resources.
methods/MemRL/memrl/envs/base.py:44
↓ 2 callers
Method
close
Close Redis connection pool.
methods/MIRIX/mirix/database/redis_client.py:147
← previous
next →
2,401–2,500 of 13,378, ranked by callers