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
Method
evaluate
(self)
benchmarks/medmemorybench/evaluator.py:227
↓ 1 callers
Method
evaluateCreate
(task: Task)
methods/memOS/MemOS/apps/memos-local-openclaw/src/skill/evaluator.ts:137
↓ 1 callers
Method
evaluateUpgrade
(task: Task, skill: Skill, skillContent: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/skill/evaluator.ts:158
↓ 1 callers
Function
evaluate_accuracy
(results, num_runs)
methods/memOS/MemOS/evaluation/scripts/longmemeval/lme_eval.py:257
↓ 1 callers
Function
evaluate_acknowledge_preference_async
( client: OpenAI, question: str, response: str )
methods/memOS/MemOS/evaluation/scripts/PrefEval/pref_eval.py:78
↓ 1 callers
Method
evaluate_conditional_tool
Parse function response to determine which child tool to use based on the mapping Args: tool (ConditionalToolRule): The
methods/MIRIX/mirix/helpers/tool_rule_solver.py:113
↓ 1 callers
Method
evaluate_correctness
( self, question: str, answer: str, golden_answer: str )
methods/cognee/eval_framework/evaluation/direct_llm_eval_adapter.py:24
↓ 1 callers
Function
evaluate_dataset
Evaluate the agent on the LoComo dataset. Args: dataset_path: Path to the dataset file model: Name of the model to use
methods/amem/A-mem/test_advanced.py:217
↓ 1 callers
Function
evaluate_dataset
Evaluate the robust agent on the LoComo dataset.
methods/amem/A-mem/test_advanced_robust.py:174
↓ 1 callers
Function
evaluate_hallucinate_preference_async
( client: OpenAI, preference: str, restatement: str )
methods/memOS/MemOS/evaluation/scripts/PrefEval/pref_eval.py:108
↓ 1 callers
Function
evaluate_helpful_response_async
( client: OpenAI, question: str, response: str )
methods/memOS/MemOS/evaluation/scripts/PrefEval/pref_eval.py:141
↓ 1 callers
Function
evaluate_violate_preference_async
( client: OpenAI, preference: str, question: str, response: str )
methods/memOS/MemOS/evaluation/scripts/PrefEval/pref_eval.py:46
↓ 1 callers
Function
event_generator
()
methods/memOS/MemOS/src/memos/api/handlers/scheduler_handler.py:440
↓ 1 callers
Function
exact_match_score
(prediction, ground_truth)
data/locomo/task_eval/evaluation.py:95
↓ 1 callers
Function
example_01a_string_message_minimal
Minimal example using `messages` as a pure string (MessagesType = str). - This is the most backward-compatible form. - Internally the se
methods/memOS/MemOS/examples/api/server_router_api.py:80
↓ 1 callers
Function
example_01b_standard_chat_triplet
Standard chat conversation: system + user + assistant. - `messages` is a list of role-based chat messages (MessageList). - Uses system c
methods/memOS/MemOS/examples/api/server_router_api.py:96
↓ 1 callers
Function
example_02a_assistant_with_tool_calls
Assistant message containing tool_calls (function calls). - `role = assistant`, `content = None`. - `tool_calls` contains a list of func
methods/memOS/MemOS/examples/api/server_router_api.py:144
↓ 1 callers
Function
example_02b_tool_message_with_result
Tool message returning the result of a tool call. - `role = tool`, `content` contains the tool execution result. - `tool_call_id` links
methods/memOS/MemOS/examples/api/server_router_api.py:177
↓ 1 callers
Function
example_02c_tool_description_input_output
Custom tool message format: tool_description, tool_input, tool_output. - This demonstrates the custom tool message format (not OpenAI standa
methods/memOS/MemOS/examples/api/server_router_api.py:218
↓ 1 callers
Function
example_03_multimodal_text_and_image
Multimodal user message: text + image_url. - `content` is a list of content parts. - Each part can be text/image_url/... etc.
methods/memOS/MemOS/examples/api/server_router_api.py:258
↓ 1 callers
Function
example_04a_pure_text_input_items
Pure text input items without dialog context. - This shape is used when there is no explicit dialog. - `messages` is a list of raw input
methods/memOS/MemOS/examples/api/server_router_api.py:298
↓ 1 callers
Function
example_04b_pure_file_input_by_file_id
Pure file input item using file_id (standard format). - Uses `file_id` when the file has already been uploaded. - Note: All FileFile fie
methods/memOS/MemOS/examples/api/server_router_api.py:323
↓ 1 callers
Function
example_04c_pure_file_input_by_file_data
Pure file input item using file_data (base64 encoded). - Uses `file_data` with base64-encoded file content. - This is the standard forma
methods/memOS/MemOS/examples/api/server_router_api.py:351
↓ 1 callers
Function
example_04d_pure_file_input_by_oss_url
Pure file input item using file_data with OSS URL. - Uses `file_data` with OSS URL (object storage service URL). - This format is used w
methods/memOS/MemOS/examples/api/server_router_api.py:378
↓ 1 callers
Function
example_05_deprecated_memory_content_and_doc_path
Use only deprecated fields to demonstrate the conversion logic: - `mem_cube_id`: will be converted to `writable_cube_ids` if missing. -
methods/memOS/MemOS/examples/api/server_router_api.py:408
↓ 1 callers
Function
example_06a_feedback_add
Feedback add example. - `is_feedback = True` marks this add as user feedback. - You can use `custom_tags` and `info` to label the feedba
methods/memOS/MemOS/examples/api/server_router_api.py:437
↓ 1 callers
Function
example_06b_family_travel_conversation
Multi-turn conversation example: family travel planning. - Demonstrates a complete conversation with multiple user-assistant exchanges.
methods/memOS/MemOS/examples/api/server_router_api.py:466
↓ 1 callers
Function
example_06c_add_with_chat_history
Add memory with chat_history field. - `chat_history` provides additional conversation context separate from `messages`. - This is useful
methods/memOS/MemOS/examples/api/server_router_api.py:515
↓ 1 callers
Function
example_07a_search_memories
Search memories using `APISearchRequest`. - Searches for memories relevant to a query. - Demonstrates usage of `readable_cube_ids` for s
methods/memOS/MemOS/examples/api/server_router_api.py:561
↓ 1 callers
Function
example_07b_chat_complete
Chat completion using `APIChatCompleteRequest`. - Sends a chat query to the system. - System retrieves relevant memories and generates a
methods/memOS/MemOS/examples/api/server_router_api.py:595
↓ 1 callers
Function
example_basic_usage
Basic example of the new MirixClient API.
methods/MIRIX/samples/new_client_example.py:17
↓ 1 callers
Function
example_complex_shared_db_delete_memory
(db)
methods/memOS/MemOS/examples/basic_modules/neo4j_example.py:610
↓ 1 callers
Function
example_complex_shared_db_search_filter
(db)
methods/memOS/MemOS/examples/basic_modules/neo4j_example.py:570
↓ 1 callers
Function
example_multi_db
(db_name: str = "paper")
methods/memOS/MemOS/examples/basic_modules/neo4j_example.py:62
↓ 1 callers
Function
example_multiple_projects
Example showing how to work with multiple projects.
methods/MIRIX/samples/new_client_example.py:112
↓ 1 callers
Function
example_with_config_dict
Example using inline config dictionary instead of file.
methods/MIRIX/samples/new_client_example.py:72
↓ 1 callers
Method
execute
(self, answers: List[Dict[str, str]], evaluator_metrics: Any)
methods/cognee/eval_framework/evaluation/evaluation_executor.py:23
↓ 1 callers
Function
executeErrorScenario
( sendEvent: (channel: string, data: unknown) => void, taskId: string )
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/test-utils/mock-task-flow.ts:299
↓ 1 callers
Function
executeInterruptedScenario
( sendEvent: (channel: string, data: unknown) => void, taskId: string, delayMs: number )
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/test-utils/mock-task-flow.ts:313
↓ 1 callers
Function
executeMockTaskFlow
( window: BrowserWindow, config: MockTaskConfig )
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/test-utils/mock-task-flow.ts:109
↓ 1 callers
Function
executePermissionScenario
( sendEvent: (channel: string, data: unknown) => void, taskId: string )
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/test-utils/mock-task-flow.ts:260
↓ 1 callers
Function
executeQuestionScenario
( sendEvent: (channel: string, data: unknown) => void, taskId: string )
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/test-utils/mock-task-flow.ts:278
↓ 1 callers
Function
executeScenario
* Execute the scenario-specific event sequence.
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/test-utils/mock-task-flow.ts:151
↓ 1 callers
Function
executeSuccessScenario
( sendEvent: (channel: string, data: unknown) => void, taskId: string, delayMs: number )
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/test-utils/mock-task-flow.ts:184
↓ 1 callers
Function
executeToolScenario
( sendEvent: (channel: string, data: unknown) => void, taskId: string, delayMs: number )
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/test-utils/mock-task-flow.ts:211
↓ 1 callers
Function
execute_evaluation
Execute the evaluation step and save results.
methods/cognee/eval_framework/evaluation/run_evaluation_module.py:36
↓ 1 callers
Function
execute_send_message_to_agent
Synchronous wrapper that calls `async_execute_send_message_to_agent` using asyncio.run. This function must be called from a synchronous conte
methods/letta/functions/helpers.py:338
↓ 1 callers
Method
execute_tool
(self, tool_name: str, tool_args: dict)
methods/letta/functions/mcp_client/base_client.py:58
↓ 1 callers
Method
execute_tool
Asynchronously execute a tool on a specific server
methods/MIRIX/mirix/functions/mcp_client/manager.py:172
↓ 1 callers
Method
execute_tool_and_persist_state
Execute tool modifications and persist the state of the agent. Note: only some agent state modifications will be persisted, such as d
methods/letta/agent.py:1239
↓ 1 callers
Method
execute_tool_and_persist_state
Execute tool modifications and persist the state of the agent. Note: only some agent state modifications will be persisted, such as d
methods/MIRIX/mirix/agent/agent.py:434
↓ 1 callers
Method
exist_user_name
Check if user name exists in the graph. Args: user_name: User name to check. Returns: dict[str, bool]: Dicti
methods/memOS/MemOS/src/memos/graph_dbs/neo4j.py:2075
↓ 1 callers
Function
expand_with_nodes_and_edges
( data_chunks: list[DocumentChunk], chunk_graphs: list[KnowledgeGraph], ontology_resolver: Ontolog
methods/cognee/modules/graph/utils/expand_with_nodes_and_edges.py:15
↓ 1 callers
Method
export
Export persona data to JSON file.
generation/pipeline/exporters.py:23
↓ 1 callers
Method
export
Export trap event data to JSON file.
generation/pipeline/exporters.py:167
↓ 1 callers
Method
export
Export dialogue data organized by sessions. Each session's knowledge_points contains all accumulated knowledge points up to that sess
generation/pipeline/exporters.py:242
↓ 1 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/preference.py:154
↓ 1 callers
Function
extractArchive
* Extract archive to destination * Uses execFileSync with array arguments to avoid command injection
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/scripts/download-nodejs.cjs:109
↓ 1 callers
Function
extractBraceBlocks
* Detect function/class bodies that aren't inside fenced blocks. * Tracks brace depth to keep complete blocks together.
methods/memOS/MemOS/apps/memos-local-openclaw/src/ingest/chunker.ts:92
↓ 1 callers
Function
extractHostModels
(openclawConfig: any)
methods/memOS/MemOS/apps/memos-local-openclaw/tests/e2e-host-model-proxy.ts:42
↓ 1 callers
Function
extractMemoryTexts
(payload: unknown)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/services/memory.ts:119
↓ 1 callers
Function
extractScreenshots
* Extract base64 screenshots from tool output * Returns cleaned text (with images replaced by placeholders) and extracted attachments
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/ipc/handlers.ts:1564
↓ 1 callers
Function
extract_all_ids_from_tree
Recursively traverse tree structure to extract all node IDs Args: tree_node: Tree node (dictionary format) Returns: set
methods/memOS/MemOS/src/memos/mem_os/utils/format_utils.py:1030
↓ 1 callers
Function
extract_answer
Extract answer from response (A, B, C, or D). Logic is kept consistent with longbench_stx.extract_answer.
methods/memOS/MemOS/evaluation/scripts/long_bench-v2/longbench_v2_responses.py:42
↓ 1 callers
Method
extract_bad_cases
Extract bad cases from judged results and corresponding search results. Args: judged_file: Path to the judged results JS
methods/memOS/MemOS/src/memos/mem_scheduler/analyzer/eval_analyzer.py:77
↓ 1 callers
Function
extract_bracket_content
Extract and parse JSON content enclosed in curly braces {} from text.
methods/memOS/MemOS/src/memos/mem_feedback/utils.py:155
↓ 1 callers
Function
extract_code_parts
( tree_root: Node, script_path: str, existing_nodes: list[DataPoint] = {} )
methods/cognee/tasks/repo_processor/get_local_dependencies.py:123
↓ 1 callers
Function
extract_content
(content)
methods/MIRIX/mirix/llm_api/google_ai.py:408
↓ 1 callers
Function
extract_content_nodes_and_relationship_names
Extracts node names and relationship_names from content through multiple rounds of analysis.
methods/cognee/tasks/graph/cascade_extract/utils/extract_content_nodes_and_relationship_names.py:16
↓ 1 callers
Function
extract_edge_triplets
Creates a knowledge graph by identifying relationships between the provided nodes.
methods/cognee/tasks/graph/cascade_extract/utils/extract_edge_triplets.py:8
↓ 1 callers
Method
extract_entities
(self, text: str)
methods/cognee/modules/retrieval/entity_extractors/DummyEntityExtractor.py:12
↓ 1 callers
Method
extract_entities
Extract all configured entity types from the given text.
methods/cognee/tasks/entity_completion/entity_extractors/regex_entity_extractor.py:61
↓ 1 callers
Method
extract_explicit_preference
Extract explicit preference from a QA pair.
methods/memOS/MemOS/src/memos/memories/textual/prefer_text_memory/extractor.py:64
↓ 1 callers
Function
extract_file_metadata
Extracts metadata from a single file.
methods/letta/data_sources/connectors_helper.py:8
↓ 1 callers
Function
extract_first_to_last_brace
(text: str)
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/organize/reorganizer.py:72
↓ 1 callers
Method
extract_implicit_preference
Extract implicit preferences from cluster qa pairs.
methods/memOS/MemOS/src/memos/memories/textual/prefer_text_memory/extractor.py:90
↓ 1 callers
Function
extract_json_block
(text)
methods/letta/llm_api/deepseek.py:253
↓ 1 callers
Function
extract_label_json
Extracts a JSON object of the form {"label": "VALUE"} from a given text string. This function is designed to handle cases where the LLM respo
methods/memOS/MemOS/evaluation/scripts/locomo/locomo_eval.py:51
↓ 1 callers
Function
extract_list_items_in_answer
Extract list items specifically from content enclosed within `<answer>...</answer>` tags. - When one or more `<answer>...</answer>` blocks a
methods/memOS/MemOS/src/memos/mem_scheduler/utils/misc_utils.py:169
↓ 1 callers
Method
extract_memory_for_system_prompt
Extract memory for system prompt from a message.
methods/MIRIX/mirix/sdk.py:234
↓ 1 callers
Function
extract_metadata_from_files
Extracts metadata for a list of files.
methods/letta/data_sources/connectors_helper.py:24
↓ 1 callers
Function
extract_metrics_and_details
Extract metrics scores and details from evaluation data.
methods/cognee/eval_framework/analysis/metrics_calculator.py:31
↓ 1 callers
Method
extract_node
Extract a node by its ID.
methods/cognee/infrastructure/databases/graph/kuzu/adapter.py:284
↓ 1 callers
Function
extract_node_name
Extract the first two words from memory as node_name
methods/memOS/MemOS/src/memos/mem_os/utils/format_utils.py:13
↓ 1 callers
Function
extract_nodes
Extracts node names from content through multiple rounds of analysis.
methods/cognee/tasks/graph/cascade_extract/utils/extract_nodes.py:16
↓ 1 callers
Method
extract_nodes
(self, node_ids: List[str])
methods/cognee/infrastructure/databases/graph/neo4j_driver/adapter.py:126
↓ 1 callers
Function
extract_ontology
(content: str, response_model: Type[BaseModel])
methods/cognee/tasks/graph/infer_data_ontology.py:35
↓ 1 callers
Function
extract_role
Extract role from message.
methods/memOS/MemOS/src/memos/mem_reader/read_multi_modal/utils.py:184
↓ 1 callers
Method
extract_schema
(self)
methods/cognee/infrastructure/databases/relational/sqlalchemy/SqlAlchemyAdapter.py:349
↓ 1 callers
Function
extract_schema_ddl
Extract DDL statements from SQLAlchemy models for PGlite
methods/MIRIX/mirix/database/schema_extractor.py:20
↓ 1 callers
Function
extract_send_message_from_steps_messages
( steps_messages: List[List[Message]], agent_send_message_tool_name: str = DEFAULT_MESSAGE_TOOL, a
methods/letta/functions/helpers.py:672
↓ 1 callers
Function
extract_square_brackets_content
Extract and parse JSON content enclosed in square brackets [] from text.
methods/memOS/MemOS/src/memos/mem_feedback/utils.py:194
↓ 1 callers
Function
extract_target_code_or_empty
(code: str, entrypoint: Optional[str] = None)
methods/MemRL/3rdparty/bigcodebench-main/bigcodebench/sanitize.py:111
↓ 1 callers
Function
extract_text_from_file
Extract text from a file
methods/cognee/infrastructure/files/utils/extract_text_from_file.py:6
↓ 1 callers
Method
extract_tokens
(self, text: str)
methods/cognee/infrastructure/llm/tokenizer/Mistral/adapter.py:20
↓ 1 callers
Function
extract_top_level_modules
Extract all top-level imported general_modules (excluding relative imports).
methods/memOS/MemOS/scripts/check_dependencies.py:12
↓ 1 callers
Function
extract_topics_with_local_model
Extract topics using a locally hosted Ollama model via the /api/chat endpoint. Reference: https://github.com/ollama/ollama/blob/main/docs/ap
methods/MIRIX/mirix/server/rest_api.py:573
↓ 1 callers
Function
extract_trace_id_from_headers
Extract trace_id from various possible headers with priority: g-trace-id > x-trace-id > trace-id.
methods/memOS/MemOS/src/memos/api/middleware/request_context.py:21
↓ 1 callers
Function
factory_initialization
()
methods/memOS/MemOS/examples/mem_agent/deepsearch_example.py:150
↓ 1 callers
Function
fail
(msg: string)
methods/memOS/MemOS/apps/memos-local-openclaw/scripts/e2e-hub-test.ts:30
← previous
next →
4,801–4,900 of 13,378, ranked by callers