MCPcopy Create free account

hub / github.com/OpenDCAI/Paper2Any / functions

Functions4,061 in github.com/OpenDCAI/Paper2Any

↓ 3 callersMethod_normalize_slide_payload
( self, *, payload: Dict[str, Any], outline_item: Dict[str, Any], slid
fastapi_app/services/paper2ppt_frontend_service.py:3643
↓ 3 callersMethod_now_iso
(self)
fastapi_app/services/paper2ppt_task_service.py:598
↓ 3 callersFunction_pagecontent_count
(raw: Any)
fastapi_app/services/paper2ppt_task_service.py:45
↓ 3 callersFunction_parse_gpu_ids
(raw_gpu_ids: str)
dataflow_agent/toolkits/p2vtool/p2v_tool.py:253
↓ 3 callersFunction_post_raw
统一的 POST,不拼接路径,由调用方传入完整 URL
dataflow_agent/toolkits/multimodaltool/req_img.py:82
↓ 3 callersFunction_prepare_work_items
(raw_works: List[Dict[str, Any]])
dataflow_agent/workflow/wf_paper2citation.py:38
↓ 3 callersFunction_prepend_pythonpath
(extra_pythonpath: str, current_pythonpath: str = "")
dataflow_agent/toolkits/p2vtool/p2v_tool.py:55
↓ 3 callersFunction_print_json
(payload: dict[str, Any])
script/run_portal_paper2ppt_bridge.py:54
↓ 3 callersMethod_process_pdf
(self, file_path: Path, record: Dict, file_id: str)
dataflow_agent/toolkits/ragtool/vector_store_tool.py:313
↓ 3 callersMethod_quota_cache_key
(self, user_id: str)
fastapi_app/services/billing_service.py:56
↓ 3 callersMethod_read_record
(self, task_id: str)
fastapi_app/services/paper2ppt_task_service.py:321
↓ 3 callersFunction_render_table_fallback
回退方案:简单解析表格文本并用 matplotlib 渲染
dataflow_agent/agentroles/paper2any_agents/table_text_renderer.py:209
↓ 3 callersFunction_resolve_layout_checkpoint
(checkpoint: str)
dataflow_agent/toolkits/multimodaltool/sam_tool.py:324
↓ 3 callersFunction_resolve_outline_model
(state: Paper2FigureState)
dataflow_agent/workflow/wf_paper2page_content.py:29
↓ 3 callersMethod_resolve_pptx_path
(self, path: str)
fastapi_app/services/onlyoffice_file_service.py:158
↓ 3 callersFunction_resolve_publications_with_openalex
( client: OpenAlexCitationClient, publications: List[Dict[str, Any]], )
dataflow_agent/workflow/wf_paper2citation.py:272
↓ 3 callersFunction_resolve_user_dir_candidates
Build candidate output directories for one user. Historical data in this project is inconsistent: - some workflows write to outputs/{use
fastapi_app/routers/files.py:71
↓ 3 callersFunction_resolve_work_from_request
( client: OpenAlexCitationClient, raw_value: str, )
dataflow_agent/workflow/wf_paper2citation.py:47
↓ 3 callersMethod_result_has_any_outputs
(self, result: Dict[str, Any])
fastapi_app/services/paper2ppt_task_service.py:507
↓ 3 callersFunction_run_with_retry
(seg, attempts=3, base_delay=0.8, use_sem=True)
dataflow_agent/workflow/wf_kb_podcast.py:408
↓ 3 callersFunction_safe_domain
(url: str)
dataflow_agent/toolkits/research_tools.py:25
↓ 3 callersMethod_safe_filename
(filename: Optional[str], fallback: str)
fastapi_app/services/paper2poster_service.py:54
↓ 3 callersMethod_save_content
(self, content: Dict, filename: str, content_dir: Path)
dataflow_agent/toolkits/postertool/src/agents/parser.py:286
↓ 3 callersMethod_save_upload
( upload: UploadFile, dst: Path, *, allowed_ext: tuple[str, ...], )
fastapi_app/services/paper2poster_service.py:62
↓ 3 callersFunction_select_cuda_device_for_sam3
If device is 'cuda' or 'cuda:auto'/'auto', pick lowest-load GPU and set it. Returns normalized device string for SAM3 ('cuda' or 'cpu').
dataflow_agent/toolkits/multimodaltool/sam_tool.py:464
↓ 3 callersMethod_select_many
( self, table: str, columns: str, *, filters: Optional[Dict[str, Any]]
fastapi_app/services/billing_service.py:129
↓ 3 callersFunction_select_seed_works
( publication_items: List[Dict[str, Any]], *, limit: int = AUTHOR_NETWORK_SEED_LIMIT, )
dataflow_agent/workflow/wf_paper2citation.py:91
↓ 3 callersFunction_select_understanding_model
()
dataflow_agent/workflow/sam3_segment_hint.py:188
↓ 3 callersMethod_serialize_record
( self, record: Dict[str, Any], request: Request | None = None, )
fastapi_app/services/paper2ppt_task_service.py:210
↓ 3 callersMethod_set_cached_quota
(self, user_id: str, quota: Dict[str, Any])
fastapi_app/services/billing_service.py:73
↓ 3 callersFunction_shape_features
(mask: np.ndarray)
tests/_archive/manual/workflows/test_sam3_arrows.py:63
↓ 3 callersFunction_should_check_api_key
(path: str)
fastapi_app/middleware/api_key.py:147
↓ 3 callersFunction_strip_dblp_numeric_suffix
(name: str)
dataflow_agent/toolkits/citationtool/citation_utils.py:99
↓ 3 callersMethod_task_type
(self, req: PPTGenerationRequest)
fastapi_app/services/paper2ppt_task_service.py:575
↓ 3 callersFunction_to_numpy
(arr: Any)
dataflow_agent/toolkits/multimodaltool/sam_tool.py:630
↓ 3 callersMethod_tokenize_formatting
tokenize text into formatting segments with precise position tracking
dataflow_agent/toolkits/postertool/src/agents/renderer.py:458
↓ 3 callersFunction_try_skip_page
(idx: int)
dataflow_agent/workflow/wf_paper2ppt_parallel_consistent_style.py:645
↓ 3 callersFunctionaddPanelShape
( slide: PptxGenJS.Slide, pptx: PptxGenJS, box: PptBox, fillColor: string, lineColor: string, tran
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:829
↓ 3 callersFunctionadd_title_slide
添加标题页
dataflow_agent/workflow/wf_paper2expfigure.py:931
↓ 3 callersFunctionanalyze_line_heights
统计行高分布,估计"正文行高"
dataflow_agent/toolkits/multimodaltool/ppt_tool.py:811
↓ 3 callersFunctionbuildAssetMap
(slide: FrontendSlide)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:80
↓ 3 callersFunctionbuildAssetMap
(slide: FrontendSlide)
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:322
↓ 3 callersFunctionbuildCanvasContentFromSlide
(slide: FrontendSlide)
frontend-workflow/src/components/paper2ppt/index.tsx:1167
↓ 3 callersFunctionbuildFlowFromTree
(root: TreeNode | null)
frontend-workflow/src/components/knowledge-base/tools/MindMapFlowEditor.tsx:70
↓ 3 callersFunctionbuildFrontendSlideMarkup
(slide: FrontendSlide, deckTheme?: FrontendDeckTheme | null)
frontend-workflow/src/components/paper2ppt/frontendSlideUtils.ts:152
↓ 3 callersFunctionbuildInsufficientPointsMessage
( required: number, remaining: number, action: string, purchaseUrl?: string | null, )
frontend-workflow/src/utils/pointsMessaging.ts:23
↓ 3 callersFunctionbuildMindMapSvg
( root: MindMapTreeNode, options: MindMapSvgExportOptions = {}, )
frontend-workflow/src/utils/mindmapTree.ts:381
↓ 3 callersFunctionbuildTableEditableFields
(tableId: string, tableData: FrontendTableData)
frontend-workflow/src/components/paper2ppt/index.tsx:3350
↓ 3 callersFunctionbuildTreeFromMermaid
(code: string)
frontend-workflow/src/components/knowledge-base/tools/MindMapFlowEditor.tsx:27
↓ 3 callersFunctionbuildUniqueChildId
(slide: FrontendSlide, prefix: string)
frontend-workflow/src/components/paper2ppt/index.tsx:1065
↓ 3 callersFunctionbuildUnlimitedQuota
()
frontend-workflow/src/services/quotaService.ts:29
↓ 3 callersMethodbuild_chat_request
构造对话/理解请求 (OCR, Image Understanding, Video Understanding) Returns: (url, payload) Default implementation: OpenAI Sta
dataflow_agent/toolkits/multimodaltool/providers.py:99
↓ 3 callersFunctionbuild_markdown_image_catalog
(markdown_text: str, mineru_root: str | Path, *, limit: int = 80)
dataflow_agent/utils_paper_visuals.py:67
↓ 3 callersFunctioncall_ocr_async
调用OCR模型 (例如 Qwen-VL-OCR) 使用 Provider 策略进行请求构建
dataflow_agent/toolkits/multimodaltool/req_ocr.py:38
↓ 3 callersFunctioncall_video_understanding_async
调用视频理解模型
dataflow_agent/toolkits/multimodaltool/req_videos.py:112
↓ 3 callersFunctionclampZoom
(value: number)
frontend-workflow/src/components/knowledge-base/tools/MermaidPreview.tsx:147
↓ 3 callersFunctioncloneTableData
(tableData: FrontendTableData)
frontend-workflow/src/components/paper2ppt/index.tsx:1107
↓ 3 callersMethodclose
(self)
dataflow_agent/toolkits/citationtool/citation_utils.py:656
↓ 3 callersFunctioncoerceText
(value: unknown, fallback: string)
frontend-workflow/src/utils/mindmapTree.ts:38
↓ 3 callersFunctioncompile_tex
(beamer_code_path: str)
dataflow_agent/toolkits/p2vtool/p2v_tool.py:1736
↓ 3 callersMethodcreate
工厂方法 - 统一的 Agent 创建入口 提供一个标准化的方式来创建 Agent 实例,确保所有 Agent 都通过相同的接口创建,便于依赖注入和测试。 Args: too
dataflow_agent/agentroles/cores/base_agent.py:259
↓ 3 callersMethodcreate_llm
创建 LLM 实例 根据配置创建 ChatOpenAI 实例,可选择性地绑定后置工具。 Args: state (MainState): 当前状态对象,包含 API 配置
dataflow_agent/agentroles/cores/base_agent.py:537
↓ 3 callersFunctiondebug_dump
将中间图像写入 DEBUG_DIR 方便调试。
dataflow_agent/toolkits/multimodaltool/ppt_tool.py:300
↓ 3 callersFunctiondescribeElement
(node: HTMLElement)
frontend-workflow/src/components/paper2ppt/frontendSlideUtils.ts:368
↓ 3 callersFunctiondetectFileKind
(file: File)
frontend-workflow/src/components/paper2graph/index.tsx:70
↓ 3 callersFunctiondiscover_p2v_cursor_gpu_ids
()
dataflow_agent/toolkits/p2vtool/p2v_tool.py:265
↓ 3 callersFunctiondownloadSecureAsset
(pathOrUrl: string, filename?: string)
frontend-workflow/src/services/secureAssetService.ts:81
↓ 3 callersFunctionenrich_pagecontent_with_visual_assets
( pagecontent: Sequence[Dict[str, Any]], catalog: Sequence[Dict[str, Any]], *, max_assets_per_
dataflow_agent/utils_paper_visuals.py:187
↓ 3 callersFunctionensureQuotaForAction
(required: number, action: string)
frontend-workflow/src/components/Ppt2PolishPage.tsx:281
↓ 3 callersFunctionestimate_background_color
估计背景主色调,用于颜色提取时排除背景
dataflow_agent/toolkits/multimodaltool/ppt_tool.py:771
↓ 3 callersFunctionextractErrorMessage
(res: Response, fallback: string)
frontend-workflow/src/components/Ppt2PolishPage.tsx:301
↓ 3 callersFunctionextractText
(node: any)
frontend-workflow/src/components/knowledge-base/tools/MarkdownViewerModal.tsx:21
↓ 3 callersFunctionextract_markdown_sections
Parse MinerU markdown into ordered sections. Preferred split signal is markdown headings (#/##/###). If no usable headings are found, fa
dataflow_agent/utils_markdown_sections.py:128
↓ 3 callersFunctionextract_text_color
(image_bgr: np.ndarray, bbox_px: List[int])
dataflow_agent/toolkits/image2drawio/utils.py:155
↓ 3 callersFunctionfetchAccountProfileData
()
frontend-workflow/src/components/AccountPage.tsx:108
↓ 3 callersFunctionfetchLibraryFiles
()
frontend-workflow/src/components/knowledge-base/index.tsx:143
↓ 3 callersFunctionfetchProtectedText
(pathOrUrl: string)
frontend-workflow/src/components/knowledge-base/index.tsx:235
↓ 3 callersFunctionfetchVersionHistory
(pageIndex: number)
frontend-workflow/src/components/paper2ppt/index.tsx:4144
↓ 3 callersMethodfetch_html
(self, url: str, wait_time: int = 3)
dataflow_agent/agentroles/paper2any_agents/websearch_researcher.py:65
↓ 3 callersFunctionfindAutoDeletableCanvasNode
( node: FrontendCanvasNode | undefined, fieldKey: string, )
frontend-workflow/src/components/paper2ppt/index.tsx:1704
↓ 3 callersMethodfit
输入原始字号列表(pt),计算聚类中心。
dataflow_agent/toolkits/multimodaltool/ppt_tool.py:190
↓ 3 callersFunctionformatTextValue
(value: string)
frontend-workflow/src/components/paper2ppt/frontendSlideUtils.ts:18
↓ 3 callersMethodgenerate_slides
( self, req: FrontendPPTGenerationRequest, request: Request | None, )
fastapi_app/services/paper2ppt_frontend_service.py:160
↓ 3 callersFunctiongenerate_speech_bytes_async
生成单段 TTS 音频字节。失败时重试最多 max_attempts 次; 若仍失败且 max_attempts <= 5 则抛 TTSFallbackToF5Error,否则抛 RuntimeError。 支持 CosyVoice(DashScope SDK);失败可抛
dataflow_agent/toolkits/multimodaltool/req_tts.py:154
↓ 3 callersFunctiongetAuthorStatLabelMap
(t: TranslationFn)
frontend-workflow/src/components/paper2citation/index.tsx:100
↓ 3 callersFunctiongetCandidateKey
(candidate: CitationAuthorCandidate)
frontend-workflow/src/components/paper2citation/index.tsx:691
↓ 3 callersFunctiongetCanvasTextRef
(node: FrontendCanvasNode)
frontend-workflow/src/components/paper2ppt/index.tsx:1699
↓ 3 callersFunctiongetField
(slide: FrontendSlide, key?: string)
frontend-workflow/src/components/paper2ppt/structuredSlideModel.ts:101
↓ 3 callersFunctiongetImageResolution
()
frontend-workflow/src/components/Ppt2PolishPage.tsx:355
↓ 3 callersMethodget_author
(self, author_id: str)
dataflow_agent/toolkits/citationtool/citation_utils.py:563
↓ 3 callersMethodget_author_profile_and_works
( self, dblp_id: str, *, max_records: int = 25, offset: int = 0, )
dataflow_agent/toolkits/citationtool/citation_utils.py:686
↓ 3 callersFunctionget_billing_config
()
fastapi_app/config/pricing.py:186
↓ 3 callersFunctionget_mp4_duration_ffprobe
(path)
dataflow_agent/toolkits/p2vtool/p2v_tool.py:1078
↓ 3 callersFunctionget_onlyoffice_service
()
fastapi_app/routers/files.py:104
↓ 3 callersFunctionimages_to_pdf
将一组图片导出为单个 PDF 文件。
dataflow_agent/toolkits/multimodaltool/ppt_tool.py:323
↓ 3 callersFunctionisBoldStyle
(layoutNode: FrontendLayoutIRNode, fallback = false)
frontend-workflow/src/components/paper2ppt/canvasPptxExporter.ts:193
↓ 3 callersFunctionisSystemPageLabel
(value: unknown)
frontend-workflow/src/components/paper2ppt/frontendSchemaRenderer.ts:105
↓ 3 callersFunctionis_cjk
(s: str)
dataflow_agent/toolkits/multimodaltool/ppt_tool.py:455
↓ 3 callersFunctionis_gemini_25
是否为 Gemini 2.5 系列
dataflow_agent/toolkits/multimodaltool/utils.py:96
↓ 3 callersFunctionis_gemini_model
判断是否为Gemini系列模型
dataflow_agent/toolkits/multimodaltool/utils.py:92
← previousnext →501–600 of 4,061, ranked by callers