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
Method
__init__
( self, process_llm: BaseLLM, config: BaseSchedulerConfig, db_engine: Engine | None = None )
methods/memOS/MemOS/src/memos/mem_scheduler/monitors/general_monitor.py:41
Method
__init__
Initialize RabbitMQ connection settings.
methods/memOS/MemOS/src/memos/mem_scheduler/webservice_modules/rabbitmq_service.py:28
Method
__init__
intent_detector: Object used for intent recognition (such as the above IntentDetector) scheduler: The actual scheduling module/interf
methods/memOS/MemOS/src/memos/mem_scheduler/webservice_modules/redis_service.py:24
Method
__init__
( self, use_redis_queue: bool, maxsize: int, disabled_handlers: list | None =
methods/memOS/MemOS/src/memos/mem_scheduler/task_schedule_modules/task_queue.py:24
Method
__init__
Initialize the Redis queue. Args: stream_key_prefix: Name of the Redis stream consumer_group: Name of the co
methods/memOS/MemOS/src/memos/mem_scheduler/task_schedule_modules/redis_queue.py:46
Method
__init__
(self, scheduler_context: SchedulerHandlerContext)
methods/memOS/MemOS/src/memos/mem_scheduler/task_schedule_modules/base_handler.py:21
Method
__init__
Initialize the SchedulerLocalQueue with a maximum queue size limit. Arguments match SchedulerRedisQueue for compatibility. A
methods/memOS/MemOS/src/memos/mem_scheduler/task_schedule_modules/local_queue.py:26
Method
__init__
Args: queue: An instance of `SchedulerRedisQueue`.
methods/memOS/MemOS/src/memos/mem_scheduler/task_schedule_modules/orchestrator.py:31
Method
__init__
(self, scheduler_context: SchedulerHandlerContext)
methods/memOS/MemOS/src/memos/mem_scheduler/task_schedule_modules/registry.py:34
Method
__init__
( self, max_workers: int = 30, memos_message_queue: ScheduleTaskQueue | None = None,
methods/memOS/MemOS/src/memos/mem_scheduler/task_schedule_modules/dispatcher.py:48
Method
__init__
(self, thread_pool_executor=None)
methods/memOS/MemOS/src/memos/mem_scheduler/general_modules/task_threads.py:30
Method
__init__
(self, maxsize: int = 0)
methods/memOS/MemOS/src/memos/mem_scheduler/general_modules/misc.py:201
Method
__init__
Initialize the scheduler with the given configuration.
methods/memOS/MemOS/src/memos/mem_scheduler/general_modules/base.py:14
Method
__init__
Initialize RabbitMQ connection settings.
methods/memOS/MemOS/src/memos/mem_scheduler/general_modules/scheduler_logger.py:36
Method
__init__
(self, window_size: int | None = None, history_memory_turns: int | None = None)
methods/memOS/MemOS/src/memos/mem_scheduler/general_modules/api_misc.py:18
Method
__init__
(self, items: list[str] | None = None)
methods/memOS/MemOS/src/memos/mem_scheduler/orm_modules/redis_model.py:26
Method
__init__
(self, redis_client, user_id: str, mem_cube_id: str)
methods/memOS/MemOS/src/memos/mem_scheduler/orm_modules/redis_model.py:57
Method
__init__
Initialize the Redis database manager Args: engine: SQLAlchemy engine (not used for Redis, kept for compatibility) us
methods/memOS/MemOS/src/memos/mem_scheduler/orm_modules/redis_model.py:149
Method
__init__
Initialize the database manager Args: engine: SQLAlchemy engine instance user_id: Unique identifier for the user
methods/memOS/MemOS/src/memos/mem_scheduler/orm_modules/base_model.py:58
Method
__init__
Initialize the Redis database manager Args: user_id: Unique identifier for the user mem_cube_id: Unique identifier fo
methods/memOS/MemOS/src/memos/mem_scheduler/orm_modules/api_redis_model.py:31
Method
__init__
Initialize the MemoryMonitorManager database manager. Args: engine: SQLAlchemy engine instance user_id: Uniq
methods/memOS/MemOS/src/memos/mem_scheduler/orm_modules/monitor_models.py:57
Method
__init__
( self, trace_id: str | None = None, api_path: str | None = None, env: str | N
methods/memOS/MemOS/src/memos/context/context.py:32
Method
__init__
(self, target, args=(), kwargs=None, **thread_kwargs)
methods/memOS/MemOS/src/memos/context/context.py:211
Method
__init__
(self, config: MOSConfig, user_manager: UserManager | None = None)
methods/memOS/MemOS/src/memos/mem_os/core.py:45
Method
__init__
Initialize MOS with optional automatic configuration. Args: config (MOSConfig, optional): MOS configuration. If None, wi
methods/memOS/MemOS/src/memos/mem_os/main.py:30
Method
__init__
(self, config: MinimaxLLMConfig)
methods/memOS/MemOS/src/memos/llms/minimax.py:12
Method
__init__
Initialize the LLM with the given configuration.
methods/memOS/MemOS/src/memos/llms/base.py:12
Method
__init__
(self, config: OpenAILLMConfig)
methods/memOS/MemOS/src/memos/llms/openai_new.py:23
Method
__init__
(self, config: AzureLLMConfig)
methods/memOS/MemOS/src/memos/llms/openai_new.py:115
Method
__init__
Initialize the VLLM LLM to connect to an existing vLLM server.
methods/memOS/MemOS/src/memos/llms/vllm.py:24
Method
__init__
(self, config: OpenAILLMConfig)
methods/memOS/MemOS/src/memos/llms/openai.py:69
Method
__init__
(self, config: AzureLLMConfig)
methods/memOS/MemOS/src/memos/llms/openai.py:241
Method
__init__
Initialize the singleton HFLLM instance. Only initializes if this is a new instance.
methods/memOS/MemOS/src/memos/llms/hf_singleton.py:44
Method
__init__
(self, config: OllamaLLMConfig)
methods/memOS/MemOS/src/memos/llms/ollama.py:19
Method
__init__
Initialize the HFLLM model and tokenizer, and set up logits processors for sampling.
methods/memOS/MemOS/src/memos/llms/hf.py:23
Method
__init__
(self, config: DeepSeekLLMConfig)
methods/memOS/MemOS/src/memos/llms/deepseek.py:12
Method
__init__
(self, config: QwenLLMConfig)
methods/memOS/MemOS/src/memos/llms/qwen.py:12
Method
__init__
( self, level_weights: dict[str, float] | None = None, level_field: str = "background"
methods/memOS/MemOS/src/memos/reranker/cosine_local.py:53
Method
__init__
Parameters ---------- reranker_url : str HTTP endpoint for the reranker service. token : str, optional
methods/memOS/MemOS/src/memos/reranker/http_bge.py:77
Method
__init__
Parameters ---------- reranker_url : str HTTP endpoint for the reranker service. token : str, optional
methods/memOS/MemOS/src/memos/reranker/http_bge_strategy.py:77
Method
__init__
(self)
methods/memOS/MemOS/src/memos/reranker/strategies/dialogue_common.py:59
Method
__init__
Initialize memory with the given configuration.
methods/memOS/MemOS/src/memos/memories/parametric/base.py:18
Method
__init__
Initialize the LoRA Memory with a configuration.
methods/memOS/MemOS/src/memos/memories/parametric/lora.py:20
Method
__init__
Initialize memory with the given configuration.
methods/memOS/MemOS/src/memos/memories/textual/general.py:27
Method
__init__
Initialize memory with the given configuration.
methods/memOS/MemOS/src/memos/memories/textual/simple_preference.py:19
Method
__init__
Initialize memory with the given configuration.
methods/memOS/MemOS/src/memos/memories/textual/base.py:17
Method
__init__
Initialize memory with the given configuration.
methods/memOS/MemOS/src/memos/memories/textual/tree.py:42
Method
__init__
Initialize memory with the given configuration.
methods/memOS/MemOS/src/memos/memories/textual/simple_tree.py:28
Method
__init__
Initialize memory with the given configuration.
methods/memOS/MemOS/src/memos/memories/textual/preference.py:36
Method
__init__
Initialize memory with the given configuration.
methods/memOS/MemOS/src/memos/memories/textual/naive.py:62
Method
__init__
Initialize Google Custom Search API client Args: api_key: Google API key search_engine_id: Search engine ID
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/internet_retriever.py:20
Method
__init__
Initialize internet retriever Args: api_key: Google API key search_engine_id: Search engine ID e
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/internet_retriever.py:110
Method
__init__
The PreUpdateRetriever is designed for the /add phase . It serves to recall potentially duplicate/conflict memories against the new c
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/pre_update.py:17
Method
__init__
Initialize Xinyu Search API client Args: access_key: Xinyu API access key max_results: Maximum number of res
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/xinyusearch.py:28
Method
__init__
Initialize Xinyu search retriever Args: access_key: Xinyu API access key embedder: Embedder instance for gen
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/xinyusearch.py:117
Method
__init__
(self, use_jieba=True, use_stopwords=True)
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/retrieve_utils.py:363
Method
__init__
(self, llm=BaseLLM)
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/task_goal_parser.py:25
Method
__init__
Initialize Enhanced BM25 with memory management
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/bm25_util.py:22
Method
__init__
( self, graph_store: Neo4jGraphDB, embedder: OllamaEmbedder, bm25_retriever: E
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/recall.py:20
Method
__init__
( self, dispatcher_llm: OpenAILLM | OllamaLLM | AzureLLM, graph_store: Neo4jGraphDB,
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/searcher.py:42
Method
__init__
Initialize Tavily Search retriever. Args: api_key: Tavily API key embedder: Embedder instance for generating
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/tavilysearch.py:30
Method
__init__
( self, dispatcher_llm: OpenAILLM | OllamaLLM | AzureLLM, graph_store: Neo4jGraphDB,
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/advanced_searcher.py:26
Method
__init__
Initialize BochaAI Search API client. Args: api_key: BochaAI API key max_results: Maximum number of search r
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/bochasearch.py:30
Method
__init__
Initialize BochaAI Search retriever. Args: access_key: BochaAI API key embedder: Embedder instance for gener
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/bochasearch.py:140
Method
__init__
(self, llm)
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/reasoner.py:17
Method
__init__
(self, llm: OpenAILLM | OllamaLLM | AzureLLM, embedder: OllamaEmbedder)
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/retrieve/reranker.py:44
Method
__init__
Initialize the MemoryHistoryManager. Args: nli_client: NLIClient for conflict/duplicate detection. graph_db:
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/organize/history_manager.py:71
Method
__init__
(self, graph_store: Neo4jGraphDB, llm: BaseLLM, embedder: BaseEmbedder)
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/organize/handler.py:25
Method
__init__
(self, graph_store: Neo4jGraphDB, llm: BaseLLM, embedder: OllamaEmbedder)
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/organize/relation_reason_detector.py:21
Method
__init__
( self, op: Literal["add", "remove", "merge", "update", "end"], # `str` for node and e
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/organize/reorganizer.py:47
Method
__init__
( self, graph_store: Neo4jGraphDB, llm: BaseLLM, embedder: OllamaEmbedder, is_reorganize: bool )
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/organize/reorganizer.py:82
Method
__init__
( self, graph_store: Neo4jGraphDB, embedder: OllamaEmbedder, llm: OpenAILLM |
methods/memOS/MemOS/src/memos/memories/textual/tree_text_memory/organize/manager.py:55
Method
__init__
Initialize the extractor.
methods/memOS/MemOS/src/memos/memories/textual/prefer_text_memory/extractor.py:46
Method
__init__
Initialize the naive retriever.
methods/memOS/MemOS/src/memos/memories/textual/prefer_text_memory/retrievers.py:32
Method
__init__
Initialize the naive adder.
methods/memOS/MemOS/src/memos/memories/textual/prefer_text_memory/adder.py:45
Method
__init__
Initialize the splitter.
methods/memOS/MemOS/src/memos/memories/textual/prefer_text_memory/spliter.py:13
Method
__init__
Initialize the activation memory with a configuration.
methods/memOS/MemOS/src/memos/memories/activation/base.py:10
Method
__init__
Initialize the KV Cache Memory with a configuration.
methods/memOS/MemOS/src/memos/memories/activation/kv.py:26
Method
__init__
Initialize the VLLM KV Cache Memory with a configuration.
methods/memOS/MemOS/src/memos/memories/activation/vllmkv.py:25
Method
__init__
(self, config: SenTranEmbedderConfig)
methods/memOS/MemOS/src/memos/embedders/sentence_transformer.py:18
Method
__init__
(self, config: ArkEmbedderConfig)
methods/memOS/MemOS/src/memos/embedders/ark.py:18
Method
__init__
Initialize the embedding model with the given configuration.
methods/memOS/MemOS/src/memos/embedders/base.py:78
Method
__init__
(self, config: OllamaEmbedderConfig)
methods/memOS/MemOS/src/memos/embedders/ollama.py:14
Method
__init__
(self, config: UniversalAPIEmbedderConfig)
methods/memOS/MemOS/src/memos/embedders/universal_api.py:33
Method
__init__
Initialize the MemCube with a configuration.
methods/memOS/MemOS/src/memos/mem_cube/general.py:24
Method
__init__
Initialize the MemCube with the given configuration.
methods/memOS/MemOS/src/memos/mem_cube/base.py:17
Method
__init__
Initialize the MemCube with memory instances.
methods/memOS/MemOS/src/memos/mem_cube/navie.py:20
Method
__init__
(self, mos_instance: MOS | None = None)
methods/memOS/MemOS/src/memos/api/mcp_serve.py:128
Method
__init__
( self, api_key: str | None = None, base_url: str | None = None, is_global: st
methods/memOS/MemOS/src/memos/api/client.py:34
Method
__init__
Initialize the middleware. Args: app: The ASGI application source: Source identifier (e.g., 'product' or 'se
methods/memOS/MemOS/src/memos/api/middleware/request_context.py:39
Method
__init__
Initialize search handler. Args: dependencies: HandlerDependencies instance
methods/memOS/MemOS/src/memos/api/handlers/search_handler.py:35
Method
__init__
Initialize feedback handler. Args: dependencies: HandlerDependencies instance
methods/memOS/MemOS/src/memos/api/handlers/feedback_handler.py:23
Method
__init__
Initialize chat handler. Args: dependencies: HandlerDependencies instance chat_llms: Dictionary mapping mode
methods/memOS/MemOS/src/memos/api/handlers/chat_handler.py:59
Method
__init__
Initialize handler dependencies. Args: llm: Language model instance naive_mem_cube: Memory cube instance
methods/memOS/MemOS/src/memos/api/handlers/base_handler.py:26
Method
__init__
Initialize base handler. Args: dependencies: HandlerDependencies instance containing all shared resources
methods/memOS/MemOS/src/memos/api/handlers/base_handler.py:103
Method
__init__
Initialize add handler. Args: dependencies: HandlerDependencies instance
methods/memOS/MemOS/src/memos/api/handlers/add_handler.py:28
Method
__init__
Initialize the BaseMemAgent with the given configuration.
methods/memOS/MemOS/src/memos/mem_agent/base.py:11
Method
__init__
(self, llm: BaseLLM, name: str = "QueryRewriter")
methods/memOS/MemOS/src/memos/mem_agent/deepsearch_agent.py:56
Method
__init__
(self, llm: BaseLLM, name: str = "Reflector")
methods/memOS/MemOS/src/memos/mem_agent/deepsearch_agent.py:85
Method
__init__
Initialize DeepSearchMemAgent. Args: llm: Language model for query rewriting and response generation memory_
methods/memOS/MemOS/src/memos/mem_agent/deepsearch_agent.py:129
← previous
next →
7,601–7,700 of 13,378, ranked by callers