MCPcopy Create free account

hub / github.com/xerrors/Yuxi / functions

Functions3,510 in github.com/xerrors/Yuxi

↓ 1 callersMethod_build_entity_records
(self, kb_id: str, entities: list[dict[str, Any]])
backend/package/yuxi/knowledge/graphs/milvus_graph_service.py:355
↓ 1 callersMethod_build_file_name_expr
(self, kb_id: str, file_name: str | None)
backend/package/yuxi/knowledge/implementations/milvus.py:576
↓ 1 callersMethod_build_graph_seed_weights
( self, kb_id: str, base_chunks: list[dict], entity_hits: list[dict[str, Any]]
backend/package/yuxi/knowledge/implementations/milvus.py:1074
↓ 1 callersMethod_build_jsonl_content
(self, items: list[Any])
backend/package/yuxi/knowledge/eval/service.py:131
↓ 1 callersFunction_build_middlewares
构建中间件列表
backend/package/yuxi/agents/buildin/chatbot/graph.py:22
↓ 1 callersFunction_build_middlewares
(context)
backend/package/yuxi/agents/buildin/subagent/graph.py:41
↓ 1 callersMethod_build_payload
(self, query: str, documents: list[str], max_length: int)
backend/package/yuxi/models/rerank.py:32
↓ 1 callersMethod_build_pod_spec
( self, sandbox_id: str, thread_id: str, uid: str, env: dict[str, str]
docker/sandbox_provisioner/app.py:539
↓ 1 callersMethod_build_query
(self, label: str, keyword: str, limit: int, max_depth: int, exclude_chunk: bool = False)
backend/package/yuxi/knowledge/graphs/milvus_graph_service.py:719
↓ 1 callersMethod_build_search_result
( self, client: _NotionClient, page: dict[str, Any], query_text: str,
backend/package/yuxi/knowledge/implementations/notion.py:327
↓ 1 callersMethod_build_service_spec
(self, sandbox_id: str)
docker/sandbox_provisioner/app.py:639
↓ 1 callersMethod_build_skills_section
构建 skills 提示段
backend/package/yuxi/agents/middlewares/skills.py:451
↓ 1 callersFunction_build_state_uploads
(attachments: list[dict])
backend/package/yuxi/services/conversation_service.py:227
↓ 1 callersMethod_build_task_tool
(self, available_agents: str)
backend/package/yuxi/agents/middlewares/subagent_task.py:341
↓ 1 callersFunction_build_tree
(path: Path, base_dir: Path)
backend/package/yuxi/agents/skills/service.py:752
↓ 1 callersMethod_build_triple_records
( self, kb_id: str, relations: list[dict[str, Any]], entity_record_by_local_id
backend/package/yuxi/knowledge/graphs/milvus_graph_service.py:374
↓ 1 callersMethod_build_where
(exclude_chunk: bool, keyword: str)
backend/package/yuxi/knowledge/graphs/milvus_graph_service.py:707
↓ 1 callersMethod_call_layout_api
调用PP-Structure-V3版面解析API
backend/package/yuxi/knowledge/parser/pp_structure_v3.py:58
↓ 1 callersFunction_child_config
( runtime: ToolRuntime, *, child_thread_id: str, uid: str, parent_thread_id: str, file
backend/package/yuxi/agents/middlewares/subagent_task.py:210
↓ 1 callersFunction_chunk_thread_id
(chunk: dict, fallback: str | None)
backend/package/yuxi/services/run_worker.py:228
↓ 1 callersFunction_cleanup_department
(test_client, headers, department_id: int)
backend/test/integration/api/test_auth_router.py:71
↓ 1 callersMethod_cleanup_expired_login_code
(cls)
backend/package/yuxi/services/oidc_service.py:175
↓ 1 callersMethod_cleanup_expired_state
(cls)
backend/package/yuxi/services/oidc_service.py:168
↓ 1 callersMethod_collect_expired_sandbox_ids
(self)
docker/sandbox_provisioner/app.py:910
↓ 1 callersFunction_collect_message_chunks
(payload: dict[str, Any])
backend/test/e2e/test_subagent_stream_e2e.py:100
↓ 1 callersMethod_collect_prompt_metadata
收集指定 slugs 的提示词元数据
backend/package/yuxi/agents/middlewares/skills.py:276
↓ 1 callersFunction_collect_sandbox_file_paths
(backend, remote_dir: str, file_paths: list[str] | None = None)
backend/package/yuxi/agents/toolkits/buildin/install_skill.py:40
↓ 1 callersFunction_collect_sse_payloads
(response)
backend/test/integration/api/test_agent_run_events_router.py:20
↓ 1 callersFunction_collect_subagent_routes
(run, parent_thread_id: str, routes: dict[tuple[str, ...], dict[str, str]])
backend/package/yuxi/agents/base.py:82
↓ 1 callersFunction_command_tool_finished
模拟 write_todos / task 这类返回 Command 的工具的 tool-finished 事件。
backend/test/unit/agents/test_base_tool_event_normalize.py:9
↓ 1 callersFunction_compact_message_dict
(message: dict)
backend/package/yuxi/services/agent_run_service.py:86
↓ 1 callersFunction_compact_run_event_payload
(event_type: str, payload: dict | None)
backend/package/yuxi/services/agent_run_service.py:193
↓ 1 callersFunction_compact_semantic_stream_event
(stream_event: dict)
backend/package/yuxi/services/agent_run_service.py:96
↓ 1 callersFunction_compact_tool_stream_event
(event: dict)
backend/package/yuxi/services/agent_run_service.py:118
↓ 1 callersFunction_completed_tool_response
(result: dict[str, Any], tool_call_id: str, subagent_run: dict[str, Any])
backend/package/yuxi/agents/middlewares/subagent_task.py:115
↓ 1 callersMethod_compress_image
压缩图片,如果超过大小限制 Args: img: PIL Image对象 original_format: 原始格式 Returns: Tuple[bytes, str]:
backend/package/yuxi/utils/image_processor.py:141
↓ 1 callersFunction_compute_dir_hash
(source_dir: Path)
backend/package/yuxi/agents/skills/service.py:329
↓ 1 callersMethod_connect
(self)
backend/package/yuxi/storage/neo4j/manager.py:46
↓ 1 callersFunction_consume_run_stream
( client: httpx.AsyncClient, headers: dict[str, str], run_id: str, )
backend/test/e2e/test_subagent_stream_e2e.py:111
↓ 1 callersFunction_consume_stream_with_cancel
(agen, run_ctx: RunContext)
backend/package/yuxi/services/run_worker.py:257
↓ 1 callersMethod_conversation
(self, thread_id: str)
backend/test/unit/services/test_chat_service_sync.py:26
↓ 1 callersMethod_conversation
(self, thread_id: str)
backend/test/unit/services/test_chat_service_langfuse_stream.py:21
↓ 1 callersFunction_convert_docx_with_python_docx
使用 python-docx 解析 DOCX(Docling 失败时兜底)。
backend/package/yuxi/knowledge/parser/unified.py:164
↓ 1 callersFunction_convert_upload_to_markdown
Persist an UploadFile temporarily, convert it to markdown, and clean up.
backend/package/yuxi/services/conversation_service.py:78
↓ 1 callersFunction_create_dify_database
(test_client, admin_headers)
backend/test/integration/api/test_unified_graph_router.py:10
↓ 1 callersFunction_create_directory
( client: httpx.AsyncClient, headers: dict[str, str], *, agent_id: str, thread_id: str,
backend/test/e2e/test_viewer_filesystem_e2e.py:100
↓ 1 callersMethod_create_kb_instance
创建 Milvus 集合
backend/package/yuxi/knowledge/implementations/milvus.py:301
↓ 1 callersMethod_create_postgres_checkpointer
(self)
backend/package/yuxi/agents/base.py:381
↓ 1 callersFunction_create_run
( client: httpx.AsyncClient, headers: dict[str, str], *, agent_id: str, thread_id: str,
backend/test/e2e/test_subagent_stream_e2e.py:51
↓ 1 callersFunction_create_run
( client: httpx.AsyncClient, headers: dict[str, str], *, agent_config_id: int, thread_id:
backend/test/e2e/test_agent_bubble_sort_e2e.py:38
↓ 1 callersMethod_create_subagent_run
( self, *, child_thread_id: str, description: str, subagent_type: str,
backend/package/yuxi/agents/middlewares/subagent_task.py:265
↓ 1 callersFunction_create_tavily_search
Create and register TavilySearch tool with metadata.
backend/package/yuxi/agents/toolkits/buildin/tools.py:20
↓ 1 callersMethod_create_temp_image_file
将图像数据保存为临时文件
backend/package/yuxi/knowledge/parser/rapid_ocr.py:131
↓ 1 callersFunction_create_thread
(client: httpx.AsyncClient, headers: dict[str, str], agent_id: str)
backend/test/e2e/test_attachment_and_agent_state.py:13
↓ 1 callersFunction_create_thread
(client: httpx.AsyncClient, headers: dict[str, str], agent_id: str, marker: str)
backend/test/e2e/test_subagent_stream_e2e.py:38
↓ 1 callersFunction_create_thread
(client: httpx.AsyncClient, headers: dict[str, str], agent_id: str)
backend/test/e2e/test_agent_bubble_sort_e2e.py:21
↓ 1 callersMethod_dataset_item_to_dict
(self, item)
backend/package/yuxi/knowledge/eval/service.py:56
↓ 1 callersFunction_dedupe_pairs
(pairs: list[tuple[str, str]])
backend/package/yuxi/knowledge/chunking/ragflow_like/parsers/qa.py:195
↓ 1 callersFunction_delete
( client: httpx.AsyncClient, headers: dict[str, str], *, agent_id: str, thread_id: str,
backend/test/e2e/test_viewer_filesystem_e2e.py:83
↓ 1 callersFunction_delete_agent
(client: httpx.AsyncClient, headers: dict[str, str], slug: str)
backend/test/e2e/test_subagent_stream_e2e.py:33
↓ 1 callersFunction_delete_database
(test_client, admin_headers, kb_id: str)
backend/test/integration/api/test_unified_graph_router.py:29
↓ 1 callersFunction_describe_read_error
(file_path: str, exc: Exception)
backend/package/yuxi/agents/backends/sandbox/backend.py:125
↓ 1 callersMethod_detect_milvus_inconsistencies
检测 Milvus 中的数据不一致
backend/package/yuxi/knowledge/manager.py:791
↓ 1 callersMethod_dfs
(self, node: Node, tree_list: list[str], titles: list[str])
backend/package/yuxi/knowledge/chunking/ragflow_like/nlp.py:567
↓ 1 callersFunction_dirs_equal
检查两个目录内容是否相同(通过文件列表比较)
backend/package/yuxi/agents/skills/service.py:320
↓ 1 callersMethod_discovered_matches_request
( self, sandbox_id: str, *, uid: str, file_thread_id: str, ski
docker/sandbox_provisioner/app.py:680
↓ 1 callersFunction_dispatch_markdown_parser
( preset_id: str, filename: str, markdown_content: str, parser_config: dict[str, Any] )
backend/package/yuxi/knowledge/chunking/ragflow_like/dispatcher.py:49
↓ 1 callersFunction_docx_heading_tree
(markdown_content: str)
backend/package/yuxi/knowledge/chunking/ragflow_like/parsers/laws.py:52
↓ 1 callersFunction_download
( client: httpx.AsyncClient, headers: dict[str, str], *, agent_id: str, thread_id: str,
backend/test/e2e/test_viewer_filesystem_e2e.py:66
↓ 1 callersMethod_download_and_extract
下载并解压结果文件
backend/package/yuxi/knowledge/parser/mineru_official.py:298
↓ 1 callersFunction_download_skill_dir
递归通过沙盒 API 下载 skill 目录到本地。
backend/package/yuxi/agents/toolkits/buildin/install_skill.py:57
↓ 1 callersMethod_download_zip
下载结果ZIP到临时文件并返回路径
backend/package/yuxi/knowledge/parser/mineru_official.py:351
↓ 1 callersMethod_encode_file_to_base64
将文件编码为Base64
backend/package/yuxi/knowledge/parser/pp_structure_v3.py:34
↓ 1 callersFunction_ensure_chunk_token_limit
对输出 chunk 做 token 上限保护:默认 512 token 时允许到 768 再硬切。
backend/package/yuxi/knowledge/chunking/ragflow_like/parsers/general.py:35
↓ 1 callersFunction_ensure_metadata_loaded
延迟加载工具元数据(首次调用时自动触发)
backend/package/yuxi/agents/toolkits/service.py:35
↓ 1 callersMethod_ensure_metadata_loaded
确保元数据已加载(延迟加载)
backend/package/yuxi/knowledge/base.py:125
↓ 1 callersMethod_ensure_public_read_access
设置存储桶策略,允许公开读取对象
backend/package/yuxi/storage/minio/client.py:330
↓ 1 callersFunction_ensure_punkt_tab
首次使用分句能力时检查 NLTK punkt_tab 资源,缺失时给出可操作错误。
backend/package/yuxi/knowledge/chunking/ragflow_like/utils/semantic_utils.py:15
↓ 1 callersFunction_ensure_workdir
()
backend/package/yuxi/services/conversation_service.py:54
↓ 1 callersFunction_entity_key
(entity: dict[str, Any])
backend/package/yuxi/knowledge/graphs/extractors/base.py:146
↓ 1 callersFunction_entity_refs
(raw_entity: Any, entity: dict[str, Any])
backend/package/yuxi/knowledge/graphs/extractors/base.py:150
↓ 1 callersFunction_entry_for_local_path
(thread_id: str, uid: str, path: Path, listing_root: Path)
backend/package/yuxi/services/viewer_filesystem_service.py:136
↓ 1 callersFunction_expand_article_line
(line: str)
backend/package/yuxi/knowledge/chunking/ragflow_like/parsers/laws.py:29
↓ 1 callersFunction_extract_client_ip
(request: Request)
backend/server/main.py:54
↓ 1 callersFunction_extract_client_ip
提取客户端IP地址
backend/server/utils/access_log_middleware.py:24
↓ 1 callersFunction_extract_custom_delimiters
(delimiter: str)
backend/package/yuxi/knowledge/chunking/ragflow_like/nlp.py:456
↓ 1 callersFunction_extract_interrupt_info
从 LangGraph state 中提取中断信息
backend/package/yuxi/services/chat_service.py:485
↓ 1 callersFunction_extract_pairs_by_prefix
(lines: list[str])
backend/package/yuxi/knowledge/chunking/ragflow_like/parsers/qa.py:169
↓ 1 callersFunction_extract_pairs_from_csv
(lines: list[str], delimiter: str)
backend/package/yuxi/knowledge/chunking/ragflow_like/parsers/qa.py:56
↓ 1 callersMethod_extract_results
(self, result: dict[str, Any])
backend/package/yuxi/models/rerank.py:36
↓ 1 callersFunction_extract_tool_info
从 tool_obj 提取基础信息
backend/package/yuxi/agents/toolkits/service.py:9
↓ 1 callersFunction_failed_tool_response
(error: Exception, tool_call_id: str, subagent_run: dict[str, Any])
backend/package/yuxi/agents/middlewares/subagent_task.py:169
↓ 1 callersFunction_fetch_models_from_endpoint
按单个模型类型端点拉取并规范化远端模型列表。
backend/package/yuxi/models/providers/service.py:305
↓ 1 callersMethod_file_or_url
(value: dict[str, Any])
backend/package/yuxi/knowledge/implementations/notion.py:532
↓ 1 callersMethod_fill_missing_file_sizes
为缺少 size 的已有文件从 MinIO 补全大小信息
backend/package/yuxi/knowledge/base.py:1493
↓ 1 callersMethod_filter_matches
(self, matches: list[GrepMatch])
backend/package/yuxi/agents/backends/skills_backend.py:56
↓ 1 callersFunction_filter_readable_matches
(matches: list[GrepMatch])
backend/package/yuxi/agents/backends/sandbox/backend.py:109
↓ 1 callersFunction_final_assistant_text
(messages: list[Any])
backend/package/yuxi/agents/middlewares/subagent_task.py:69
↓ 1 callersFunction_find_kb_document_callable
()
backend/test/unit/toolkits/test_kbs_tools.py:27
↓ 1 callersFunction_find_module_path
()
backend/test/unit/backends/test_sandbox_provisioner_config.py:14
← previousnext →901–1,000 of 3,510, ranked by callers