Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/xerrors/Yuxi
/ functions
Functions
3,510 in github.com/xerrors/Yuxi
⨍
Functions
3,510
◇
Types & classes
382
↳
Endpoints
220
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
Method
abatch_encode
(self, messages: list[str], batch_size: int | None = None)
backend/package/yuxi/models/embed.py:78
Method
add
(self, item)
backend/test/unit/repositories/test_agent_repository.py:28
Method
add
(self, item)
backend/test/unit/repositories/test_agent_repository_deep_research.py:24
Function
addFiles
({ items, contentType, params, parentId })
web/src/stores/database.js:308
Method
add_attachment
(self, conversation_id: int, attachment_info: dict)
backend/test/unit/test_tmp_attachment_service.py:85
Method
add_attachments
(self, conversation_id: int, attachment_infos: list[dict])
backend/test/unit/test_tmp_attachment_service.py:89
Function
add_documents
添加文档到知识库(上传 -> 解析 -> 可选入库)
backend/server/routers/knowledge_router.py:512
← previous
next →
1,801–1,900 of 3,510, ranked by callers