MCPcopy Create free account

hub / github.com/OpenDCAI/Paper2Any / functions

Functions4,061 in github.com/OpenDCAI/Paper2Any

↓ 1 callersFunctiongroup_import_for_full_params
收集所有算子的导入语句
dataflow_agent/toolkits/pipetool/pipe_tools.py:584
↓ 1 callersFunctionhandleAddSlide
(index: number)
frontend-workflow/src/components/paper2ppt/index.tsx:3133
↓ 1 callersFunctionhandleChange
(index: number, value: string)
frontend-workflow/src/components/auth/VerifyOtpPage.tsx:46
↓ 1 callersFunctionhandleConfirmFrontendOutline
()
frontend-workflow/src/components/paper2ppt/index.tsx:3844
↓ 1 callersFunctionhandleDelete
(id: string, fileName: string)
frontend-workflow/src/components/FilesPage.tsx:67
↓ 1 callersFunctionhandleDeleteFile
(file: KnowledgeFile)
frontend-workflow/src/components/knowledge-base/index.tsx:277
↓ 1 callersFunctionhandleDeleteSlide
(id: string)
frontend-workflow/src/components/Ppt2PolishPage.tsx:891
↓ 1 callersFunctionhandleDeleteSlide
(id: string)
frontend-workflow/src/components/paper2ppt/index.tsx:3129
↓ 1 callersFunctionhandleDownload
(file: FileRecord)
frontend-workflow/src/components/FilesPage.tsx:53
↓ 1 callersFunctionhandleDownload
()
frontend-workflow/src/components/Image2DrawioPage.tsx:270
↓ 1 callersFunctionhandleDownload
(event: MouseEvent, file: KnowledgeFile)
frontend-workflow/src/components/knowledge-base/OutputView.tsx:45
↓ 1 callersFunctionhandleDraftKeyPointChange
(index: number, value: string)
frontend-workflow/src/components/paper2ppt/GenerateStep.tsx:84
↓ 1 callersFunctionhandleEditStart
(slide: SlideOutline)
frontend-workflow/src/components/Ppt2PolishPage.tsx:841
↓ 1 callersFunctionhandleEditStart
(slide: SlideOutline)
frontend-workflow/src/components/paper2ppt/index.tsx:3092
↓ 1 callersFunctionhandleGenerateFrontendFinal
()
frontend-workflow/src/components/paper2ppt/index.tsx:4772
↓ 1 callersFunctionhandleImageError
(versionNumber: number, imageUrl: string)
frontend-workflow/src/components/paper2ppt/VersionHistory.tsx:35
↓ 1 callersFunctionhandleKeyDown
(index: number, e: React.KeyboardEvent)
frontend-workflow/src/components/auth/VerifyOtpPage.tsx:65
↓ 1 callersFunctionhandleKeyPointChange
(index: number, value: string)
frontend-workflow/src/components/Ppt2PolishPage.tsx:865
↓ 1 callersFunctionhandleKeyPointChange
(index: number, value: string)
frontend-workflow/src/components/paper2ppt/index.tsx:3111
↓ 1 callersFunctionhandleLoadHistorySession
(targetSessionId: string)
frontend-workflow/src/components/paper2rebuttal/index.tsx:181
↓ 1 callersFunctionhandleOpenMaterial
(url?: string)
frontend-workflow/src/components/knowledge-base/tools/SearchTool.tsx:104
↓ 1 callersFunctionhandleRegenerateFrontendSlide
()
frontend-workflow/src/components/paper2ppt/index.tsx:4357
↓ 1 callersFunctionhandleRemoveDraftKeyPoint
(index: number)
frontend-workflow/src/components/paper2ppt/GenerateStep.tsx:94
↓ 1 callersFunctionhandleRemoveKeyPoint
(index: number)
frontend-workflow/src/components/Ppt2PolishPage.tsx:880
↓ 1 callersFunctionhandleRemoveKeyPoint
(index: number)
frontend-workflow/src/components/paper2ppt/index.tsx:3123
↓ 1 callersFunctionhandleRemoveOutput
(file: KnowledgeFile)
frontend-workflow/src/components/knowledge-base/index.tsx:294
↓ 1 callersFunctionhandleScriptChange
(pageNum: number, value: string)
frontend-workflow/src/components/paper2video/ScriptStep.tsx:30
↓ 1 callersFunctionhandleSelectAvatarPreset
(presetId: string)
frontend-workflow/src/components/paper2video/index.tsx:190
↓ 1 callersFunctionhandleSendMessage
()
frontend-workflow/src/components/knowledge-base/tools/ChatTool.tsx:165
↓ 1 callersFunctionhandleTtsVoicePreview
(e: React.MouseEvent, voiceId: string)
frontend-workflow/src/components/paper2video/UploadStep.tsx:104
↓ 1 callersFunctionhas_points_redeem_catalog
()
fastapi_app/services/managed_api_service.py:121
↓ 1 callersMethodhas_tool_calls
检查消息是否包含工具调用 Args: message (BaseMessage): 要检查的消息 Returns: bool: 如果消息包含工具调用返回 True,否
dataflow_agent/agentroles/cores/base_agent.py:685
↓ 1 callersFunctionhmacSha1Base64
(key: string, message: string)
supabase/functions/send-sms/index.ts:69
↓ 1 callersFunctionimageToken
(asset: FrontendVisualAsset | undefined, pptxCompatible = false)
frontend-workflow/src/components/paper2ppt/StructuredSlideCanvas.tsx:119
↓ 1 callersFunctionimages_to_full_slide_ppt
将一组图片直接按“整页铺图”的方式导出为 PPTX。 说明: - 每张图片对应一页幻灯片; - 不做 OCR、文字重建、背景抠图; - 仅按幻灯片尺寸拉伸铺满,满足“PDF 每页作为一张图放进 PPTX”的需求。
dataflow_agent/toolkits/multimodaltool/ppt_tool.py:339
↓ 1 callersFunctionimages_to_pdf_and_ppt
将给定的一组图片转换为 PDF 和可编辑 PPTX。 参数: image_paths: 按页面顺序排列的图片路径列表。 output_pdf_path: 输出 PDF 文件路径,若为 None 则不生成 PDF。 output_pp
dataflow_agent/toolkits/multimodaltool/ppt_tool.py:1190
↓ 1 callersFunctionin_heavy_workflow_subprocess
()
fastapi_app/workflow_adapters/heavy_workflow_subprocess.py:39
↓ 1 callersMethodinfer_from_text
( self, text: str, is_bold: bool = False, is_latex: bool = False, defa
dataflow_agent/workflow/wf_paper2drawio_sam3.py:509
↓ 1 callersFunctioninference_f5
使用 F5-TTS 模型做语音生成/克隆。通过一段参考音频及其对应的文本,克隆其音色并生成目标文本的语音
dataflow_agent/toolkits/p2vtool/p2v_tool.py:1619
↓ 1 callersFunctioninvalidateQuotaCache
(userId: string | null)
frontend-workflow/src/services/quotaService.ts:80
↓ 1 callersFunctionisE2EAuthBypassed
()
frontend-workflow/src/components/auth/AuthGate.tsx:22
↓ 1 callersFunctionisGeneratedManualTextFieldKey
(fieldKey: string)
frontend-workflow/src/components/paper2ppt/index.tsx:1696
↓ 1 callersFunctionisItalicStyle
(layoutNode: FrontendLayoutIRNode, fallback = false)
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:200
↓ 1 callersFunctionis_honor_enrichment_enabled
()
dataflow_agent/toolkits/citationtool/honor_enrichment.py:557
↓ 1 callersFunctionis_simple_background_region
简单判定:mask 区域附近背景是否接近纯色(方差较小)
dataflow_agent/toolkits/multimodaltool/ppt_tool.py:967
↓ 1 callersFunctionis_user_api_config_required
()
fastapi_app/services/managed_api_service.py:140
↓ 1 callersFunctionjudge_type
Determine and return the type of a sample. Args: sample: The sample to be judged. Returns: The type
dataflow_agent/toolkits/basetool/file_tools.py:51
↓ 1 callersMethodlist_active_sessions
(self)
fastapi_app/services/rebuttal_service.py:1401
↓ 1 callersMethodlist_history_files
列出历史文件
fastapi_app/services/paper2any_service.py:134
↓ 1 callersFunctionliveportrait_face_detect
使用 LivePortrait-detect 检测人物肖像图是否符合数字人输入规范。 仅支持 HTTP/OSS 链接,会先将本地文件上传到 DashScope 临时 OSS 再调用 face-detect。 返回 (passed, message):通过时 passed=T
dataflow_agent/toolkits/p2vtool/p2v_tool.py:655
↓ 1 callersFunctionloadAccountProfile
()
frontend-workflow/src/components/AccountPage.tsx:138
↓ 1 callersFunctionloadDomToPptxBundle
()
frontend-workflow/src/components/paper2ppt/html2pptxExport.ts:16
↓ 1 callersFunctionloadFiles
()
frontend-workflow/src/components/FilesPage.tsx:37
↓ 1 callersFunctionloadMarkdown
()
frontend-workflow/src/components/knowledge-base/index.tsx:416
↓ 1 callersFunctionloadMindmap
()
frontend-workflow/src/components/knowledge-base/index.tsx:365
↓ 1 callersFunctionload_and_fix_items
读取 JSON 并提取所有文本和图片元素,修复图片路径为绝对路径
dataflow_agent/utils_common.py:376
↓ 1 callersFunctionload_server_config
()
dataflow_agent/workflow/deprecated/wf_pdf2ppt_with_sam_ocr_mineru.py:53
↓ 1 callersFunctionload_server_config
()
dataflow_agent/workflow/deprecated/wf_pdf2ppt_optimized.py:54
↓ 1 callersFunctionload_server_config
()
dataflow_agent/workflow/deprecated/wf_pdf2ppt_parallel.py:53
↓ 1 callersFunctionlocal_tool_for_raster_to_svg
将位图图像转换为 SVG 矢量图的统一工具接口。 本工具基于 vtracer 封装,适合作为 DataFlow-Agent 中的本地工具被调用。 入参为包含配置项的字典,返回生成的 SVG 文件路径字符串。 必需字段 -------- - ``i
dataflow_agent/toolkits/multimodaltool/bg_tool.py:533
↓ 1 callersFunctionlocal_tool_for_sample
( state: DFRequest, sample_size: int = 10, use_file_sys: int = 1, cache_type: str = "jsonl",
dataflow_agent/toolkits/basetool/file_tools.py:30
↓ 1 callersFunctionlocate_content_json
寻找 *_middle.json 文件
dataflow_agent/utils_common.py:367
↓ 1 callersFunctionmain
Main entry point.
script/run_paper2video_cli.py:303
↓ 1 callersFunctionmain
()
script/generate_redeem_codes.py:34
↓ 1 callersFunctionmain
()
script/run_paper2ppt_frontend_cli.py:234
↓ 1 callersFunctionmain
Main entry point
script/run_paper2poster_cli.py:287
↓ 1 callersFunctionmain
Main entry point
script/run_paper2figure_cli.py:339
↓ 1 callersFunctionmain
()
script/run_portal_paper2ppt_bridge.py:390
↓ 1 callersFunctionmain
Main entry point
script/run_ppt2polish_cli.py:356
↓ 1 callersFunctionmain
()
script/paper2video_worker.py:153
↓ 1 callersFunctionmain
同步入口: 运行异步主流程并打印关键结果。
script/run_websearch_knowledge_store.py:233
↓ 1 callersFunctionmain
()
script/paper2video_cursor_local_worker.py:27
↓ 1 callersFunctionmain
Main entry point
script/run_paper2ppt_cli.py:335
↓ 1 callersFunctionmain
()
script/echomimic_api.py:176
↓ 1 callersFunctionmain
Main entry point
script/run_pdf2ppt_cli.py:258
↓ 1 callersFunctionmain
Main entry point
script/run_image2ppt_cli.py:253
↓ 1 callersFunctionmain
()
script/heavy_workflow_worker.py:66
↓ 1 callersFunctionmain
()
script/paper2poster_worker.py:100
↓ 1 callersFunctionmain
运行所有测试
tests/test_trajectory.py:218
↓ 1 callersFunctionmain
()
tests/_archive/manual/workflows/test_sam3_arrows.py:350
↓ 1 callersFunctionmain
()
tests/_archive/manual/sam3/test_paper2drawio_sam3_back.py:65
↓ 1 callersFunctionmain
(argv: list[str] | None = None)
tests/_archive/manual/frontend_workflows/test_frontend_workflows.py:431
↓ 1 callersFunctionmain
()
dataflow_agent/toolkits/postertool/src/workflow/pipeline.py:57
↓ 1 callersFunctionmain
()
dataflow_agent/toolkits/dockertool/build_docker.py:44
↓ 1 callersFunctionmain
()
dataflow_agent/toolkits/dockertool/examples/hello_stdlib.py:15
↓ 1 callersFunctionmain
()
dataflow_agent/toolkits/dockertool/examples/hello_thirdparty.py:17
↓ 1 callersFunctionmain
()
frontend-workflow/scripts/run_paper2ppt_structured_export_cli.ts:174
↓ 1 callersFunctionmake_token
(prefix: str, seen: set[str])
script/generate_redeem_codes.py:21
↓ 1 callersFunctionmapFileType
(mimeOrExt: string)
frontend-workflow/src/components/knowledge-base/index.tsx:199
↓ 1 callersFunctionmap_progress_message
Map raw log messages to user-friendly progress messages
fastapi_app/routers/paper2rebuttal.py:313
↓ 1 callersMethodmark_question_satisfied
Mark question as satisfied, ready to proceed to next question
fastapi_app/services/rebuttal_service.py:1827
↓ 1 callersMethodmark_step_complete
标记当前步骤完成
dataflow_agent/state.py:256
↓ 1 callersFunctionmarkdownLines
(node: MindMapTreeNode, depth: number, lines: string[])
frontend-workflow/src/utils/mindmapTree.ts:305
↓ 1 callersFunctionmask_iou
计算两个布尔 mask 的 IoU。
dataflow_agent/toolkits/multimodaltool/sam_tool.py:1125
↓ 1 callersFunctionmergeTableCellFieldIntoGroups
( groups: Record<string, FrontendTableData>, fieldKey: string, value: string, )
frontend-workflow/src/components/paper2ppt/index.tsx:1135
↓ 1 callersFunctionmerge_wav_files
将多个wav文件合并为一个wav文件,实际上是将一张ppt中的多个sentence wav合并为一个wav
dataflow_agent/toolkits/p2vtool/p2v_tool.py:1635
↓ 1 callersFunctionmineru_branch
()
dataflow_agent/workflow/deprecated/wf_pdf2ppt_optimized.py:667
↓ 1 callersFunctionmineru_branch
MinerU 分支
dataflow_agent/workflow/deprecated/wf_pdf2ppt_parallel.py:481
↓ 1 callersFunctionnms_sam_items_by_bbox
基于 bbox IoU 的 Non-Maximum Suppression(NMS)去重。 - 按 score_key(score 或 area)从大到小排序; - 依次保留与已有保留框 IoU 小于阈值的实例。 Parameters ---------
dataflow_agent/toolkits/multimodaltool/sam_tool.py:1145
↓ 1 callersFunctionnms_sam_items_by_mask
基于 mask IoU 的 Non-Maximum Suppression(NMS)去重。 - IoU 计算使用像素级 mask,更精确但速度稍慢; - 其他逻辑与 nms_sam_items_by_bbox 类似。 Parameters -------
dataflow_agent/toolkits/multimodaltool/sam_tool.py:1206
← previousnext →2,101–2,200 of 4,061, ranked by callers