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
Function
normalizeEmbeddingEndpoint
* Normalize endpoint: if user provides a base_url (e.g. https://host/v1) * without the /embeddings suffix, append it automatically.
methods/memOS/MemOS/apps/memos-local-openclaw/src/embedding/providers/openai.ts:38
↓ 1 callers
Function
normalizeEndpointForProvider
* Return the correct endpoint for a given provider and base URL.
methods/memOS/MemOS/apps/memos-local-openclaw/src/ingest/providers/index.ts:44
↓ 1 callers
Function
normalizeOpenAIEndpoint
(url: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/shared/llm-call.ts:114
↓ 1 callers
Function
normalizePathForMatch
(p)
methods/memOS/MemOS/apps/memos-local-openclaw/scripts/postinstall.cjs:29
↓ 1 callers
Method
notifPollImmediate
()
methods/memOS/MemOS/apps/memos-local-openclaw/src/viewer/server.ts:2689
↓ 1 callers
Method
notifyHubLeave
()
methods/memOS/MemOS/apps/memos-local-openclaw/src/viewer/server.ts:3008
↓ 1 callers
Method
notifyHubShutdown
()
methods/memOS/MemOS/apps/memos-local-openclaw/src/viewer/server.ts:3064
↓ 1 callers
Function
num_tokens_from_string
Returns the number of tokens in a text string.
data/locomo/generative_agents/event_utils.py:64
↓ 1 callers
Function
num_tokens_from_tool_calls
Based on above code (num_tokens_from_functions). Example to encode: [{ 'id': '8b6707cf-2352-4804-93db-0423f', 'type': 'functi
methods/letta/local_llm/utils.py:155
↓ 1 callers
Function
num_tokens_from_tool_calls
Based on above code (num_tokens_from_functions). Example to encode: [{ 'id': '8b6707cf-2352-4804-93db-0423f', 'type': 'functi
methods/MIRIX/mirix/utils.py:1319
↓ 1 callers
Function
o
(t)
data/locomo/static/js/bulma-slider.min.js:1
↓ 1 callers
Function
observe_internal_span
(duration: float, span_name: str, user_id: str, task_id: str)
methods/memOS/MemOS/src/memos/mem_scheduler/utils/metrics.py:89
↓ 1 callers
Function
od
(e,n,t,r,l,o,u)
methods/letta/server/static_files/assets/index-048c9598.js:40
↓ 1 callers
Function
ok
(msg: string)
methods/memOS/MemOS/apps/memos-local-openclaw/scripts/e2e-hub-test.ts:29
↓ 1 callers
Method
onData
(callback: (data: string) => void)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/__tests__/unit/main/opencode/adapter.unit.test.ts:84
↓ 1 callers
Method
onError
(err: NodeJS.ErrnoException)
methods/memOS/MemOS/apps/memos-local-openclaw/src/hub/server.ts:88
↓ 1 callers
Method
onExit
(callback: (params: { exitCode: number; signal?: number }) => void)
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/__tests__/unit/main/opencode/adapter.unit.test.ts:89
↓ 1 callers
Method
onTaskCompleted
(cb: (task: Task) => void)
methods/memOS/MemOS/apps/memos-local-openclaw/src/ingest/task-processor.ts:45
↓ 1 callers
Method
on_agent_inference
(self, callback_args: CallbackArguments)
methods/MemRL/3rdparty/LifelongAgentBench/src/callbacks/callback.py:120
↓ 1 callers
Method
on_messages_enqueued
(self, msgs: list[ScheduleMessageItem])
methods/memOS/MemOS/src/memos/mem_scheduler/task_schedule_modules/dispatcher.py:114
↓ 1 callers
Method
on_session_create
(self, callback_args: CallbackArguments)
methods/MemRL/3rdparty/LifelongAgentBench/src/callbacks/callback.py:114
↓ 1 callers
Method
on_state_save
(self, callback_args: CallbackArguments)
methods/MemRL/3rdparty/LifelongAgentBench/src/callbacks/callback.py:129
↓ 1 callers
Method
on_task_complete
(self, callback_args: CallbackArguments)
methods/MemRL/3rdparty/LifelongAgentBench/src/callbacks/callback.py:126
↓ 1 callers
Method
on_task_interact
(self, callback_args: CallbackArguments)
methods/MemRL/3rdparty/LifelongAgentBench/src/callbacks/callback.py:123
↓ 1 callers
Method
on_task_reset
(self, callback_args: CallbackArguments)
methods/MemRL/3rdparty/LifelongAgentBench/src/callbacks/callback.py:117
↓ 1 callers
Function
open_folder_in_explorer
Opens the specified folder in the system's native file explorer. :param folder_path: Absolute path to the folder to be opened.
methods/letta/utils.py:769
↓ 1 callers
Function
openai_chat_completions_request_stream
( url: str, api_key: str, chat_completion_request: ChatCompletionRequest, )
methods/letta/llm_api/openai.py:425
↓ 1 callers
Function
openai_chat_completions_request_stream
( url: str, api_key: str, chat_completion_request: ChatCompletionRequest, )
methods/MIRIX/mirix/llm_api/openai.py:442
↓ 1 callers
Function
optional_length
(annotation)
methods/letta/functions/schema_generator.py:24
↓ 1 callers
Function
optional_length
(annotation)
methods/MIRIX/mirix/functions/schema_generator.py:17
↓ 1 callers
Function
originTag
(o?: string)
methods/memOS/MemOS/apps/memos-local-openclaw/index.ts:819
↓ 1 callers
Function
package_initial_message_sequence
( agent_id: str, initial_message_sequence: List[MessageCreate], model: str, actor: User )
methods/letta/services/helpers/agent_manager_helper.py:270
↓ 1 callers
Function
package_initial_message_sequence
Package initial messages for an agent. Args: agent_id: The agent ID these messages belong to. initial_message_sequence: List
methods/MIRIX/mirix/services/helpers/agent_manager_helper.py:199
↓ 1 callers
Function
package_summarize_message
(summary, summary_message_count, hidden_message_count, total_message_count, timestamp=None)
methods/letta/system.py:175
↓ 1 callers
Function
package_summarize_message
( summary, summary_message_count, hidden_message_count, total_message_count, timestamp=Non
methods/MIRIX/mirix/system.py:176
↓ 1 callers
Function
package_user_message
( user_message: str, time: Optional[str] = None, include_location: bool = False, location_name
methods/letta/system.py:120
↓ 1 callers
Function
package_user_message
( user_message: str, time: Optional[str] = None, include_location: bool = False, location_name
methods/MIRIX/mirix/system.py:130
↓ 1 callers
Method
parse
Parse JSON response from LLM output with fallback strategies
methods/memOS/MemOS/src/memos/mem_agent/deepsearch_agent.py:36
↓ 1 callers
Method
parse
Parse a single message in the specified mode. Args: message: Message to parse (can be str, MessageList item, or RawMessa
methods/memOS/MemOS/src/memos/mem_reader/read_multi_modal/multi_modal_parser.py:137
↓ 1 callers
Method
parseBuffer
* Parse complete lines from the buffer
methods/memOS/MemOS/apps/openwork-memos-integration/apps/desktop/src/main/opencode/stream-parser.ts:37
↓ 1 callers
Method
parseDescription
(content: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/skill/generator.ts:536
↓ 1 callers
Method
parseDescription
(content: string)
methods/memOS/MemOS/apps/memos-local-openclaw/src/skill/upgrader.ts:224
↓ 1 callers
Function
parseErrorDetail
(detail: unknown, fallback: string)
methods/MIRIX/dashboard/src/pages/Register.tsx:12
↓ 1 callers
Function
parseFilterResult
(raw: string, log: Logger)
methods/memOS/MemOS/apps/memos-local-openclaw/src/ingest/providers/gemini.ts:275
↓ 1 callers
Function
parseFilterResult
(raw: string, log: Logger)
methods/memOS/MemOS/apps/memos-local-openclaw/src/ingest/providers/anthropic.ts:275
↓ 1 callers
Function
parseFilterResult
(raw: string, log: Logger)
methods/memOS/MemOS/apps/memos-local-openclaw/src/ingest/providers/bedrock.ts:279
↓ 1 callers
Method
parseJudgeSkillResult
(raw: string, maxIndex: number)
methods/memOS/MemOS/apps/memos-local-openclaw/src/skill/evolver.ts:251
↓ 1 callers
Function
parseModelJson
(text)
methods/memOS/MemOS/apps/MemOS-Cloud-OpenClaw-Plugin/index.js:215
↓ 1 callers
Function
parseTitleFromSummary
(summary: string)
methods/memOS/MemOS/apps/memos-local-openclaw/scripts/refresh-summaries.ts:43
↓ 1 callers
Method
parseTitleFromSummary
* Extract the LLM-generated title from the summary output. * The LLM is prompted to output "📌 Title\n<title text>" as the first section. * Retur
methods/memOS/MemOS/apps/memos-local-openclaw/src/ingest/task-processor.ts:456
↓ 1 callers
Function
parse_analyze_content
Parse the analyze_content LLM response. Returns: {"keywords": [...], "context": "...", "tags": [...]}
methods/amem/A-mem/llm_text_parsers.py:213
↓ 1 callers
Function
parse_and_chunk_text
(text: str, chunk_size: int)
methods/letta/embeddings.py:13
↓ 1 callers
Function
parse_args
()
main.py:18
↓ 1 callers
Function
parse_args
()
data/locomo/generative_agents/generate_conversations.py:20
↓ 1 callers
Function
parse_args
()
data/locomo/task_eval/evaluate_qa.py:19
↓ 1 callers
Function
parse_args
()
data/locomo/task_eval/get_session_summaries.py:13
↓ 1 callers
Function
parse_args
()
data/locomo/task_eval/get_facts.py:13
↓ 1 callers
Function
parse_args
()
methods/MemRL/run/run_bcb.py:56
↓ 1 callers
Function
parse_args
(project_root: Path)
methods/MemRL/run/run_llb.py:96
↓ 1 callers
Function
parse_args
()
methods/MemRL/run/run_hle.py:40
↓ 1 callers
Function
parse_args
()
methods/MemRL/run/run_alfworld.py:43
↓ 1 callers
Function
parse_arguments
Parse command-line arguments.
methods/MIRIX/samples/load_json_batch_conversations.py:48
↓ 1 callers
Function
parse_arguments
Parse command-line arguments.
methods/MIRIX/samples/load_test_add_memory.py:310
↓ 1 callers
Function
parse_conversation
Parse conversation data.
methods/amem/A-mem/load_dataset.py:79
↓ 1 callers
Method
parse_default_and_overwrite
(self, config)
methods/MemRL/3rdparty/LifelongAgentBench/src/utils/config_loader.py:89
↓ 1 callers
Function
parse_evolution_decision
Parse the evolution decision response. Returns: {"decision": "NO_EVOLUTION|STRENGTHEN|UPDATE_NEIGHBOR|STRENGTHEN_AND_UPDATE", "r
methods/amem/A-mem/llm_text_parsers.py:237
↓ 1 callers
Method
parse_fast
Default parse_fast implementation (equivalent to simple_struct fast mode). Fast mode logic: - Extract text content from mess
methods/memOS/MemOS/src/memos/mem_reader/read_multi_modal/base.py:134
↓ 1 callers
Method
parse_fine
Parse message in fine mode (with LLM calls for better understanding). Args: message: The message to parse in
methods/memOS/MemOS/src/memos/mem_reader/read_multi_modal/base.py:207
↓ 1 callers
Method
parse_fine
Parse file content part in fine mode. Fine mode downloads and parses file content, especially for URLs. Then uses LLM to extr
methods/memOS/MemOS/src/memos/mem_reader/read_multi_modal/file_content_parser.py:617
↓ 1 callers
Method
parse_function_arguments
Get arguments of a function from its source code
methods/letta/services/tool_sandbox/base.py:198
↓ 1 callers
Method
parse_function_arguments
Get arguments of a function from its source code
methods/letta/services/tool_executor/tool_execution_sandbox.py:414
↓ 1 callers
Method
parse_function_arguments
Get arguments of a function from its source code
methods/MIRIX/mirix/services/tool_execution_sandbox.py:510
↓ 1 callers
Method
parse_imports
(self, path, raw_config)
methods/MemRL/3rdparty/LifelongAgentBench/src/utils/config_loader.py:57
↓ 1 callers
Function
parse_json
Parse JSON string into JSON with both json and demjson
methods/MIRIX/mirix/utils.py:957
↓ 1 callers
Function
parse_json_result
Parse JSON result from LLM response. Handles various formats including: - JSON wrapped in markdown code blocks - Raw JSON - Inco
methods/memOS/MemOS/src/memos/mem_reader/read_multi_modal/utils.py:52
↓ 1 callers
Function
parse_keywords_response
Parse generate_query_llm response. If JSON with "keywords", extract it. Otherwise return raw text.
methods/amem/A-mem/llm_text_parsers.py:411
↓ 1 callers
Function
parse_letta_response_for_assistant_message
( target_agent_id: str, letta_response: LettaResponse, )
methods/letta/functions/helpers.py:291
↓ 1 callers
Function
parse_messages
(messages)
methods/mem0/memory/utils.py:10
↓ 1 callers
Function
parse_mirix_response_for_assistant_message
( mirix_response: MirixResponse, assistant_message_tool_name: str = DEFAULT_MESSAGE_TOOL, assistan
methods/MIRIX/mirix/functions/helpers.py:214
↓ 1 callers
Method
parse_out_function_results_markers
Parse the function results out of the stdout using special markers. Returns (function_result_str, stripped_stdout).
methods/letta/services/tool_sandbox/local_sandbox.py:221
↓ 1 callers
Method
parse_out_function_results_markers
(self, text: str)
methods/letta/services/tool_executor/tool_execution_sandbox.py:300
↓ 1 callers
Function
parse_plain_text_answer
Parse a plain-text answer response (for QA evaluation). If the model returned JSON with an "answer" field, extract it. Otherwise return the r
methods/amem/A-mem/llm_text_parsers.py:380
↓ 1 callers
Method
parse_properties
Parse properties file content to dictionary with type inference. Supports: - Comments (lines starting with #) - Key-value pai
methods/memOS/MemOS/src/memos/api/config.py:146
↓ 1 callers
Function
parse_relevant_parts
Parse retrieve_memory_llm response. If JSON with "relevant_parts", extract it. Otherwise return raw text.
methods/amem/A-mem/llm_text_parsers.py:396
↓ 1 callers
Function
parse_requirements
Load requirements from a pip requirements file.
methods/MIRIX/setup.py:14
↓ 1 callers
Function
parse_rewritten_response
Parse index-keyed JSON from hallucination filter response. Expected shape: { "0": {"need_rewrite": bool, "rewritten": str, "reason": str}, ... }
methods/memOS/MemOS/src/memos/mem_reader/utils.py:80
↓ 1 callers
Function
parse_session
Parse a single session's data, including turns with images by using their captions.
methods/amem/A-mem/load_dataset.py:59
↓ 1 callers
Function
parse_strengthen_details
Parse the strengthen details response. Returns: {"connections": [int, ...], "tags": [str, ...]}
methods/amem/A-mem/llm_text_parsers.py:292
↓ 1 callers
Function
parse_update_neighbors
Parse the update neighbors response. Returns: [{"context": "...", "tags": [...]}, ...] — one per neighbor
methods/amem/A-mem/llm_text_parsers.py:326
↓ 1 callers
Method
parser_instances
Test that parser instances are correctly initialized.
methods/memOS/MemOS/examples/mem_reader/parser_demos/demo_multi_modal.py:305
↓ 1 callers
Method
parser_selection
Test that different input types return the correct parser.
methods/memOS/MemOS/examples/mem_reader/parser_demos/demo_multi_modal.py:19
↓ 1 callers
Method
passesRuleFilter
(chunks: Chunk[], task: Task)
methods/memOS/MemOS/apps/memos-local-openclaw/src/skill/evaluator.ts:110
↓ 1 callers
Function
patch_function
(message_history, new_message)
methods/letta/local_llm/function_parser.py:66
↓ 1 callers
Method
patternSearch
(patterns: string[], opts: { role?: string; limit?: number } = {})
methods/memOS/MemOS/apps/memos-local-openclaw/src/storage/sqlite.ts:1210
↓ 1 callers
Function
pc
(e)
methods/letta/server/static_files/assets/index-048c9598.js:9
↓ 1 callers
Function
pd
(e)
methods/letta/server/static_files/assets/index-048c9598.js:40
↓ 1 callers
Function
pickCompletionProvider
* Pick the best provider for chat completions. * Priority: openai-completions API > has apiKey > first with models.
methods/memOS/MemOS/apps/memos-local-openclaw/src/openclaw-api.ts:213
↓ 1 callers
Function
pickEmbeddingProvider
* Pick the best provider for embeddings. * Priority: model name contains "embed" > first provider with apiKey.
methods/memOS/MemOS/apps/memos-local-openclaw/src/openclaw-api.ts:245
↓ 1 callers
Function
pickFullSessionMessages
(messages, cfg)
methods/memOS/MemOS/apps/MemOS-Cloud-OpenClaw-Plugin/index.js:189
↓ 1 callers
Function
pickLastTurnMessages
(messages, cfg)
methods/memOS/MemOS/apps/MemOS-Cloud-OpenClaw-Plugin/index.js:161
← previous
next →
6,001–6,100 of 13,378, ranked by callers