MCPcopy Create free account

hub / github.com/xerrors/Yuxi / functions

Functions3,510 in github.com/xerrors/Yuxi

Method__init__
(self, _db)
backend/test/unit/services/test_chat_service_langfuse_stream.py:17
Method__init__
(self, db)
backend/test/unit/services/test_mcp_service.py:15
Method__init__
(self, tools)
backend/test/unit/services/test_mcp_service.py:39
Method__init__
(self, *, filename: str, content_type: str | None, data: bytes)
backend/test/unit/services/test_conversation_service_attachment_state.py:13
Method__init__
(self, exc: Exception)
backend/test/unit/services/test_run_worker.py:12
Method__init__
(self, values: list[bytes])
backend/test/unit/services/test_run_worker.py:23
Method__init__
(self, name: str)
backend/test/unit/backends/test_sandbox_backends.py:124
Method__init__
(self, token: str, notion_version: str)
backend/test/unit/plugins/test_notion_kb.py:47
Method__init__
(self, content: str, distance: float)
backend/test/unit/plugins/test_milvus_kb.py:21
Method__init__
(self, distance: float = 0.8)
backend/test/unit/plugins/test_milvus_kb.py:32
Method__init__
(self)
backend/test/unit/plugins/test_milvus_kb.py:137
Method__init__
(self, payload: dict)
backend/test/unit/plugins/test_dify_kb.py:9
Method__init__
(self, response_payload: dict | None = None, raises: Exception | None = None, **kwargs)
backend/test/unit/plugins/test_dify_kb.py:20
Method__init__
(self)
backend/test/unit/repositories/test_agent_repository.py:23
Method__init__
(self)
backend/test/unit/repositories/test_agent_repository_deep_research.py:19
Method__init__
(self, tools)
backend/test/unit/agents/test_subagent_tool_filter.py:11
Method__init__
(self, _db)
backend/test/unit/agents/test_context_auth.py:119
Method__init__
(self, _db)
backend/test/unit/routers/test_subagent.py:50
Method__init__
(self)
backend/test/unit/routers/test_knowledge_router_cleanup.py:13
Method__init__
(self, enabled)
backend/test/unit/routers/test_mcp_router.py:48
Method__init__
(self, app, logger: logging.Logger = None)
backend/server/utils/access_log_middleware.py:37
Method__init__
(self)
docker/sandbox_provisioner/app.py:81
Method__init__
(self)
docker/sandbox_provisioner/app.py:148
Method__init__
(self)
docker/sandbox_provisioner/app.py:504
Method__init__
(self, backend)
docker/sandbox_provisioner/app.py:870
Method__str__
(self)
backend/package/yuxi/knowledge/parser/base.py:20
Method_async_init
()
backend/package/yuxi/knowledge/manager.py:49
Method_build_payload
(self, query: str, documents: list[str], max_length: int)
backend/package/yuxi/models/rerank.py:140
Method_build_payload
(self, query: str, documents: list[str], max_length: int)
backend/package/yuxi/models/rerank.py:153
Function_build_state_files
将附件列表转换为 StateBackend 格式的 files 字典 StateBackend 期望的格式: { "/attachments/file.md": { "content": ["line1", "line2", ...],
backend/package/yuxi/services/chat_service.py:33
Function_cleanup_expired_skill_drafts
()
backend/package/yuxi/agents/skills/service.py:211
Function_cleanup_export_file
(path: str)
backend/server/routers/skill_router.py:99
Method_create_kb_instance
创建底层知识库实例 Args: kb_id: 数据库ID config: 配置信息 Returns: 底层知识库实例
backend/package/yuxi/knowledge/base.py:187
Method_create_kb_instance
(self, kb_id: str, config: dict)
backend/package/yuxi/knowledge/implementations/read_only_connectors.py:20
Method_create_kb_instance
(self, kb_id, config)
backend/test/unit/knowledge/test_file_size_fallback.py:70
Method_create_kb_instance
(self, kb_id, config)
backend/test/unit/knowledge/test_file_size_fallback.py:180
Method_create_kb_instance
(self, slug: str, config: dict)
backend/test/unit/knowledge/test_knowledge_base_update.py:11
Method_delete_file_graph_from_neo4j
(self, kb_id: str, file_id: str)
backend/package/yuxi/knowledge/graphs/milvus_graph_service.py:449
Method_delete_from_milvus
()
backend/package/yuxi/knowledge/implementations/milvus.py:565
Method_delete_ids
(self, collection_name: str, ids: list[str])
backend/package/yuxi/knowledge/graphs/milvus_graph_vector_store.py:295
Method_delete_objects
()
backend/package/yuxi/storage/minio/client.py:267
Function_empty_agents_prompt
(_thread_id: str, _uid: str)
backend/test/unit/services/test_chat_service_sync.py:12
Method_env
(name: str, default: str = "")
backend/package/yuxi/services/oidc_service.py:62
Method_extract_results
(self, result: dict[str, Any])
backend/package/yuxi/models/rerank.py:148
Method_extract_results
(self, result: dict[str, Any])
backend/package/yuxi/models/rerank.py:164
Function_fail_rmtree
(path)
backend/test/integration/api/test_viewer_filesystem_router.py:483
Function_fake_aparse
(source: str, params=None)
backend/test/unit/services/test_conversation_service_attachment_state.py:113
Function_fake_convert
(_upload)
backend/test/unit/services/test_chat_stream_attachment_materialize.py:91
Function_fake_find_file_content
( kb_id: str, file_id: str, patterns: list[str], *, use_regex: bool =
backend/test/unit/toolkits/test_kbs_tools.py:212
Function_fake_ls
(self, path: str)
backend/test/unit/backends/test_skills_backend_error_handling.py:23
Function_fake_normalize_agent_context_config
(context, **_kwargs)
backend/test/unit/services/test_chat_service_sync.py:16
Function_fake_normalize_agent_context_config
(context, **_kwargs)
backend/test/unit/services/test_chat_service_langfuse_stream.py:12
Function_fake_open_file_content
(kb_id: str, file_id: str, offset: int = 0, limit: int = 1800)
backend/test/unit/toolkits/test_kbs_tools.py:293
Function_fake_parse_image_async
(file, params=None)
backend/test/unit/knowledge/test_parser_facade.py:152
Function_fake_process_file
(processor_type, file, params=None)
backend/test/unit/knowledge/test_parser_facade.py:169
Function_fake_read
(self, file_path: str, offset: int = 0, limit: int = 2000)
backend/test/unit/backends/test_skills_backend_error_handling.py:10
Function_fake_read_binary
(path, offset=0, limit=None)
backend/test/unit/backends/test_sandbox_backends.py:438
Function_fake_require_user_conversation
(_repo, _thread_id: str, _current_uid: str)
backend/test/unit/services/test_thread_files_service.py:23
Function_fake_resolve_viewer_state
(**kwargs)
backend/test/integration/api/test_viewer_filesystem_router.py:109
Function_fake_retriever
(query_text: str, **kwargs)
backend/test/unit/toolkits/test_kbs_tools.py:93
Function_fake_upload_image_to_minio
(image_data, filename, bucket_name, object_prefix)
backend/test/unit/knowledge/test_parser_facade.py:92
Function_fake_visible_kbs
(runtime)
backend/test/unit/toolkits/test_kbs_tools.py:86
Function_find_files
(**kwargs)
backend/test/unit/backends/test_sandbox_backends.py:354
Method_generate_dataset_task
(self, context: TaskContext)
backend/package/yuxi/knowledge/eval/service.py:350
Function_get_provider
()
backend/test/integration/api/test_viewer_filesystem_router.py:21
Method_initialize_kb_instance
初始化底层知识库实例 Args: instance: 底层知识库实例
backend/package/yuxi/knowledge/base.py:201
Method_initialize_kb_instance
(self, instance: Any)
backend/package/yuxi/knowledge/implementations/read_only_connectors.py:24
Method_initialize_kb_instance
(self, instance)
backend/test/unit/knowledge/test_file_size_fallback.py:73
Method_initialize_kb_instance
(self, instance)
backend/test/unit/knowledge/test_file_size_fallback.py:183
Method_initialize_kb_instance
(self, instance)
backend/test/unit/knowledge/test_knowledge_base_update.py:14
Method_insert_entities
(self, collection: Collection, entities: list[dict[str, Any]], embeddings: list)
backend/package/yuxi/knowledge/graphs/milvus_graph_vector_store.py:275
Method_insert_milvus_records
()
backend/package/yuxi/knowledge/implementations/milvus.py:509
Method_insert_triples
(self, collection: Collection, triples: list[dict[str, Any]], embeddings: list)
backend/package/yuxi/knowledge/graphs/milvus_graph_vector_store.py:284
Function_isolated_modules
在模块级加载 nlp/general,跑完后清理 sys.modules 避免污染其他测试。
backend/test/unit/test_chunking_token_limit.py:33
Function_json_safe
(value: Any)
backend/package/yuxi/services/chat_service.py:157
Function_list_directory
(root: Path, target: Path, *, recursive: bool = False, files_only: bool = False)
backend/package/yuxi/services/workspace_service.py:120
Function_list_user_data_root_entries
Expose thread-root files while keeping the user workspace entry visible.
backend/package/yuxi/services/viewer_filesystem_service.py:202
Function_load_workspace_agents_prompt
(thread_id: str, uid: str)
backend/package/yuxi/agents/context.py:24
Function_missing_file
(path, offset=0, limit=None)
backend/test/unit/backends/test_sandbox_backends.py:328
Method_persist_file
(self, file_id)
backend/test/unit/knowledge/test_file_size_fallback.py:76
Method_persist_kb
(self, kb_id)
backend/test/unit/knowledge/test_file_size_fallback.py:79
Method_query_existing_ids
(self, collection: Collection, ids: list[str])
backend/package/yuxi/knowledge/graphs/milvus_graph_vector_store.py:263
Function_raise_docling_error
(*args, **kwargs)
backend/test/unit/knowledge/test_parser_facade.py:56
Function_raise_upload_error
(*args, **kwargs)
backend/test/unit/knowledge/test_parser_facade.py:133
Method_run
(self)
docker/sandbox_provisioner/app.py:917
Method_run_evaluation_task
(self, context: TaskContext)
backend/package/yuxi/knowledge/eval/service.py:510
Method_save_metadata
(self)
backend/test/unit/knowledge/test_knowledge_base_update.py:41
Function_scan_pruned_files
同步扫描磁盘文件目录并进行多重限额剪枝保护 (防止大文件仓库卡死)
backend/package/yuxi/services/mention_search_service.py:47
Method_search_loaded_collection
( self, collection: Collection, query_embedding: list, top_k: int, out
backend/package/yuxi/knowledge/graphs/milvus_graph_vector_store.py:173
Method_stat_file
(file_id: str, file_path: str)
backend/package/yuxi/knowledge/base.py:1514
Function_worker_shutdown
(ctx)
backend/package/yuxi/services/run_worker.py:512
Function_worker_startup
(ctx)
backend/package/yuxi/services/run_worker.py:502
Function_write_file
(**kwargs)
backend/test/unit/backends/test_sandbox_backends.py:335
Methodabatch_encode
(self, messages: list[str], batch_size: int | None = None)
backend/package/yuxi/models/embed.py:78
Methodadd
(self, item)
backend/test/unit/repositories/test_agent_repository.py:28
Methodadd
(self, item)
backend/test/unit/repositories/test_agent_repository_deep_research.py:24
FunctionaddFiles
({ items, contentType, params, parentId })
web/src/stores/database.js:308
Methodadd_attachment
(self, conversation_id: int, attachment_info: dict)
backend/test/unit/test_tmp_attachment_service.py:85
Methodadd_attachments
(self, conversation_id: int, attachment_infos: list[dict])
backend/test/unit/test_tmp_attachment_service.py:89
Functionadd_documents
添加文档到知识库(上传 -> 解析 -> 可选入库)
backend/server/routers/knowledge_router.py:512
← previousnext →1,801–1,900 of 3,510, ranked by callers