Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDCAI/Paper2Any
/ functions
Functions
4,061 in github.com/OpenDCAI/Paper2Any
⨍
Functions
4,061
◇
Types & classes
547
↳
Endpoints
108
↓ 1 callers
Function
group_import_for_full_params
收集所有算子的导入语句
dataflow_agent/toolkits/pipetool/pipe_tools.py:584
↓ 1 callers
Function
handleAddSlide
(index: number)
frontend-workflow/src/components/paper2ppt/index.tsx:3133
↓ 1 callers
Function
handleChange
(index: number, value: string)
frontend-workflow/src/components/auth/VerifyOtpPage.tsx:46
↓ 1 callers
Function
handleConfirmFrontendOutline
()
frontend-workflow/src/components/paper2ppt/index.tsx:3844
↓ 1 callers
Function
handleDelete
(id: string, fileName: string)
frontend-workflow/src/components/FilesPage.tsx:67
↓ 1 callers
Function
handleDeleteFile
(file: KnowledgeFile)
frontend-workflow/src/components/knowledge-base/index.tsx:277
↓ 1 callers
Function
handleDeleteSlide
(id: string)
frontend-workflow/src/components/Ppt2PolishPage.tsx:891
↓ 1 callers
Function
handleDeleteSlide
(id: string)
frontend-workflow/src/components/paper2ppt/index.tsx:3129
↓ 1 callers
Function
handleDownload
(file: FileRecord)
frontend-workflow/src/components/FilesPage.tsx:53
↓ 1 callers
Function
handleDownload
()
frontend-workflow/src/components/Image2DrawioPage.tsx:270
↓ 1 callers
Function
handleDownload
(event: MouseEvent, file: KnowledgeFile)
frontend-workflow/src/components/knowledge-base/OutputView.tsx:45
↓ 1 callers
Function
handleDraftKeyPointChange
(index: number, value: string)
frontend-workflow/src/components/paper2ppt/GenerateStep.tsx:84
↓ 1 callers
Function
handleEditStart
(slide: SlideOutline)
frontend-workflow/src/components/Ppt2PolishPage.tsx:841
↓ 1 callers
Function
handleEditStart
(slide: SlideOutline)
frontend-workflow/src/components/paper2ppt/index.tsx:3092
↓ 1 callers
Function
handleGenerateFrontendFinal
()
frontend-workflow/src/components/paper2ppt/index.tsx:4772
↓ 1 callers
Function
handleImageError
(versionNumber: number, imageUrl: string)
frontend-workflow/src/components/paper2ppt/VersionHistory.tsx:35
↓ 1 callers
Function
handleKeyDown
(index: number, e: React.KeyboardEvent)
frontend-workflow/src/components/auth/VerifyOtpPage.tsx:65
↓ 1 callers
Function
handleKeyPointChange
(index: number, value: string)
frontend-workflow/src/components/Ppt2PolishPage.tsx:865
↓ 1 callers
Function
handleKeyPointChange
(index: number, value: string)
frontend-workflow/src/components/paper2ppt/index.tsx:3111
↓ 1 callers
Function
handleLoadHistorySession
(targetSessionId: string)
frontend-workflow/src/components/paper2rebuttal/index.tsx:181
↓ 1 callers
Function
handleOpenMaterial
(url?: string)
frontend-workflow/src/components/knowledge-base/tools/SearchTool.tsx:104
↓ 1 callers
Function
handleRegenerateFrontendSlide
()
frontend-workflow/src/components/paper2ppt/index.tsx:4357
↓ 1 callers
Function
handleRemoveDraftKeyPoint
(index: number)
frontend-workflow/src/components/paper2ppt/GenerateStep.tsx:94
↓ 1 callers
Function
handleRemoveKeyPoint
(index: number)
frontend-workflow/src/components/Ppt2PolishPage.tsx:880
↓ 1 callers
Function
handleRemoveKeyPoint
(index: number)
frontend-workflow/src/components/paper2ppt/index.tsx:3123
↓ 1 callers
Function
handleRemoveOutput
(file: KnowledgeFile)
frontend-workflow/src/components/knowledge-base/index.tsx:294
↓ 1 callers
Function
handleScriptChange
(pageNum: number, value: string)
frontend-workflow/src/components/paper2video/ScriptStep.tsx:30
↓ 1 callers
Function
handleSelectAvatarPreset
(presetId: string)
frontend-workflow/src/components/paper2video/index.tsx:190
↓ 1 callers
Function
handleSendMessage
()
frontend-workflow/src/components/knowledge-base/tools/ChatTool.tsx:165
↓ 1 callers
Function
handleTtsVoicePreview
(e: React.MouseEvent, voiceId: string)
frontend-workflow/src/components/paper2video/UploadStep.tsx:104
↓ 1 callers
Function
has_points_redeem_catalog
()
fastapi_app/services/managed_api_service.py:121
↓ 1 callers
Method
has_tool_calls
检查消息是否包含工具调用 Args: message (BaseMessage): 要检查的消息 Returns: bool: 如果消息包含工具调用返回 True,否
dataflow_agent/agentroles/cores/base_agent.py:685
↓ 1 callers
Function
hmacSha1Base64
(key: string, message: string)
supabase/functions/send-sms/index.ts:69
↓ 1 callers
Function
imageToken
(asset: FrontendVisualAsset | undefined, pptxCompatible = false)
frontend-workflow/src/components/paper2ppt/StructuredSlideCanvas.tsx:119
↓ 1 callers
Function
images_to_full_slide_ppt
将一组图片直接按“整页铺图”的方式导出为 PPTX。 说明: - 每张图片对应一页幻灯片; - 不做 OCR、文字重建、背景抠图; - 仅按幻灯片尺寸拉伸铺满,满足“PDF 每页作为一张图放进 PPTX”的需求。
dataflow_agent/toolkits/multimodaltool/ppt_tool.py:339
↓ 1 callers
Function
images_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 callers
Function
in_heavy_workflow_subprocess
()
fastapi_app/workflow_adapters/heavy_workflow_subprocess.py:39
↓ 1 callers
Method
infer_from_text
( self, text: str, is_bold: bool = False, is_latex: bool = False, defa
dataflow_agent/workflow/wf_paper2drawio_sam3.py:509
↓ 1 callers
Function
inference_f5
使用 F5-TTS 模型做语音生成/克隆。通过一段参考音频及其对应的文本,克隆其音色并生成目标文本的语音
dataflow_agent/toolkits/p2vtool/p2v_tool.py:1619
↓ 1 callers
Function
invalidateQuotaCache
(userId: string | null)
frontend-workflow/src/services/quotaService.ts:80
↓ 1 callers
Function
isE2EAuthBypassed
()
frontend-workflow/src/components/auth/AuthGate.tsx:22
↓ 1 callers
Function
isGeneratedManualTextFieldKey
(fieldKey: string)
frontend-workflow/src/components/paper2ppt/index.tsx:1696
↓ 1 callers
Function
isItalicStyle
(layoutNode: FrontendLayoutIRNode, fallback = false)
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:200
↓ 1 callers
Function
is_honor_enrichment_enabled
()
dataflow_agent/toolkits/citationtool/honor_enrichment.py:557
↓ 1 callers
Function
is_simple_background_region
简单判定:mask 区域附近背景是否接近纯色(方差较小)
dataflow_agent/toolkits/multimodaltool/ppt_tool.py:967
↓ 1 callers
Function
is_user_api_config_required
()
fastapi_app/services/managed_api_service.py:140
↓ 1 callers
Function
judge_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 callers
Method
list_active_sessions
(self)
fastapi_app/services/rebuttal_service.py:1401
↓ 1 callers
Method
list_history_files
列出历史文件
fastapi_app/services/paper2any_service.py:134
↓ 1 callers
Function
liveportrait_face_detect
使用 LivePortrait-detect 检测人物肖像图是否符合数字人输入规范。 仅支持 HTTP/OSS 链接,会先将本地文件上传到 DashScope 临时 OSS 再调用 face-detect。 返回 (passed, message):通过时 passed=T
dataflow_agent/toolkits/p2vtool/p2v_tool.py:655
↓ 1 callers
Function
loadAccountProfile
()
frontend-workflow/src/components/AccountPage.tsx:138
↓ 1 callers
Function
loadDomToPptxBundle
()
frontend-workflow/src/components/paper2ppt/html2pptxExport.ts:16
↓ 1 callers
Function
loadFiles
()
frontend-workflow/src/components/FilesPage.tsx:37
↓ 1 callers
Function
loadMarkdown
()
frontend-workflow/src/components/knowledge-base/index.tsx:416
↓ 1 callers
Function
loadMindmap
()
frontend-workflow/src/components/knowledge-base/index.tsx:365
↓ 1 callers
Function
load_and_fix_items
读取 JSON 并提取所有文本和图片元素,修复图片路径为绝对路径
dataflow_agent/utils_common.py:376
↓ 1 callers
Function
load_server_config
()
dataflow_agent/workflow/deprecated/wf_pdf2ppt_with_sam_ocr_mineru.py:53
↓ 1 callers
Function
load_server_config
()
dataflow_agent/workflow/deprecated/wf_pdf2ppt_optimized.py:54
↓ 1 callers
Function
load_server_config
()
dataflow_agent/workflow/deprecated/wf_pdf2ppt_parallel.py:53
↓ 1 callers
Function
local_tool_for_raster_to_svg
将位图图像转换为 SVG 矢量图的统一工具接口。 本工具基于 vtracer 封装,适合作为 DataFlow-Agent 中的本地工具被调用。 入参为包含配置项的字典,返回生成的 SVG 文件路径字符串。 必需字段 -------- - ``i
dataflow_agent/toolkits/multimodaltool/bg_tool.py:533
↓ 1 callers
Function
local_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 callers
Function
locate_content_json
寻找 *_middle.json 文件
dataflow_agent/utils_common.py:367
↓ 1 callers
Function
main
Main entry point.
script/run_paper2video_cli.py:303
↓ 1 callers
Function
main
()
script/generate_redeem_codes.py:34
↓ 1 callers
Function
main
()
script/run_paper2ppt_frontend_cli.py:234
↓ 1 callers
Function
main
Main entry point
script/run_paper2poster_cli.py:287
↓ 1 callers
Function
main
Main entry point
script/run_paper2figure_cli.py:339
↓ 1 callers
Function
main
()
script/run_portal_paper2ppt_bridge.py:390
↓ 1 callers
Function
main
Main entry point
script/run_ppt2polish_cli.py:356
↓ 1 callers
Function
main
()
script/paper2video_worker.py:153
↓ 1 callers
Function
main
同步入口: 运行异步主流程并打印关键结果。
script/run_websearch_knowledge_store.py:233
↓ 1 callers
Function
main
()
script/paper2video_cursor_local_worker.py:27
↓ 1 callers
Function
main
Main entry point
script/run_paper2ppt_cli.py:335
↓ 1 callers
Function
main
()
script/echomimic_api.py:176
↓ 1 callers
Function
main
Main entry point
script/run_pdf2ppt_cli.py:258
↓ 1 callers
Function
main
Main entry point
script/run_image2ppt_cli.py:253
↓ 1 callers
Function
main
()
script/heavy_workflow_worker.py:66
↓ 1 callers
Function
main
()
script/paper2poster_worker.py:100
↓ 1 callers
Function
main
运行所有测试
tests/test_trajectory.py:218
↓ 1 callers
Function
main
()
tests/_archive/manual/workflows/test_sam3_arrows.py:350
↓ 1 callers
Function
main
()
tests/_archive/manual/sam3/test_paper2drawio_sam3_back.py:65
↓ 1 callers
Function
main
(argv: list[str] | None = None)
tests/_archive/manual/frontend_workflows/test_frontend_workflows.py:431
↓ 1 callers
Function
main
()
dataflow_agent/toolkits/postertool/src/workflow/pipeline.py:57
↓ 1 callers
Function
main
()
dataflow_agent/toolkits/dockertool/build_docker.py:44
↓ 1 callers
Function
main
()
dataflow_agent/toolkits/dockertool/examples/hello_stdlib.py:15
↓ 1 callers
Function
main
()
dataflow_agent/toolkits/dockertool/examples/hello_thirdparty.py:17
↓ 1 callers
Function
main
()
frontend-workflow/scripts/run_paper2ppt_structured_export_cli.ts:174
↓ 1 callers
Function
make_token
(prefix: str, seen: set[str])
script/generate_redeem_codes.py:21
↓ 1 callers
Function
mapFileType
(mimeOrExt: string)
frontend-workflow/src/components/knowledge-base/index.tsx:199
↓ 1 callers
Function
map_progress_message
Map raw log messages to user-friendly progress messages
fastapi_app/routers/paper2rebuttal.py:313
↓ 1 callers
Method
mark_question_satisfied
Mark question as satisfied, ready to proceed to next question
fastapi_app/services/rebuttal_service.py:1827
↓ 1 callers
Method
mark_step_complete
标记当前步骤完成
dataflow_agent/state.py:256
↓ 1 callers
Function
markdownLines
(node: MindMapTreeNode, depth: number, lines: string[])
frontend-workflow/src/utils/mindmapTree.ts:305
↓ 1 callers
Function
mask_iou
计算两个布尔 mask 的 IoU。
dataflow_agent/toolkits/multimodaltool/sam_tool.py:1125
↓ 1 callers
Function
mergeTableCellFieldIntoGroups
( groups: Record<string, FrontendTableData>, fieldKey: string, value: string, )
frontend-workflow/src/components/paper2ppt/index.tsx:1135
↓ 1 callers
Function
merge_wav_files
将多个wav文件合并为一个wav文件,实际上是将一张ppt中的多个sentence wav合并为一个wav
dataflow_agent/toolkits/p2vtool/p2v_tool.py:1635
↓ 1 callers
Function
mineru_branch
()
dataflow_agent/workflow/deprecated/wf_pdf2ppt_optimized.py:667
↓ 1 callers
Function
mineru_branch
MinerU 分支
dataflow_agent/workflow/deprecated/wf_pdf2ppt_parallel.py:481
↓ 1 callers
Function
nms_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 callers
Function
nms_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
← previous
next →
2,101–2,200 of 4,061, ranked by callers