MCPcopy Create free account

hub / github.com/HKUDS/Paper2Slides / functions

Functions394 in github.com/HKUDS/Paper2Slides

↓ 1 callersMethodgenerate_description_only
Generate image description and entity info only, without entity relation extraction. Used for batch processing stage 1. Args
paper2slides/raganything/modalprocessors.py:810
↓ 1 callersMethodgenerate_description_only
Generate table description and entity info only, without entity relation extraction. Used for batch processing stage 1. Args
paper2slides/raganything/modalprocessors.py:1021
↓ 1 callersMethodgenerate_description_only
Generate equation description and entity info only, without entity relation extraction. Used for batch processing stage 1. A
paper2slides/raganything/modalprocessors.py:1215
↓ 1 callersMethodgenerate_description_only
Generate generic modal description and entity info only, without entity relation extraction. Used for batch processing stage 1.
paper2slides/raganything/modalprocessors.py:1399
↓ 1 callersFunctiongenerate_slides_with_pipeline
Run the actual Paper2Slides pipeline Args: session_id: Unique session ID for this upload message: User message f
api/server.py:294
↓ 1 callersFunctiongetConversationSubtitle
(conv)
frontend/src/components/ConversationList.jsx:40
↓ 1 callersFunctiongetConversationTitle
(conv)
frontend/src/components/ConversationList.jsx:29
↓ 1 callersFunctiongetHistoryItemDisplayName
(item)
frontend/src/components/HistoryPanel.jsx:30
↓ 1 callersFunctiongetOutputDisplayName
(output)
frontend/src/components/ChatWindow.jsx:136
↓ 1 callersFunctiongetStageIcon
(status)
frontend/src/components/WorkflowPanel.jsx:23
↓ 1 callersFunctiongetStageIcon
(status)
frontend/src/components/MessageList.jsx:42
↓ 1 callersFunctiongetStageStatus
(stage)
frontend/src/components/MessageList.jsx:53
↓ 1 callersMethodget_backend_info
Get information about available backends
paper2slides/raganything/enhanced_markdown.py:446
↓ 1 callersMethodget_config_info
Get current configuration information
paper2slides/raganything/raganything.py:421
↓ 1 callersFunctionget_config_name
Generate config directory name: {output}_{style}_{param}.
paper2slides/core/paths.py:21
↓ 1 callersMethodget_figures_markdown
Get all figures as markdown, sorted by original position.
paper2slides/summary/models.py:78
↓ 1 callersFunctionget_output_dir
Get output directory with timestamp to preserve history.
paper2slides/core/paths.py:70
↓ 1 callersFunctionget_processor_supports
Get processor supported features
paper2slides/raganything/utils.py:247
↓ 1 callersFunctionget_summary_md
Get path to summary markdown file.
paper2slides/core/paths.py:59
↓ 1 callersMethodget_supported_file_extensions
Get list of supported file extensions for batch processing
paper2slides/raganything/batch.py:259
↓ 1 callersFunctiongroupByDate
(convs)
frontend/src/components/ConversationList.jsx:80
↓ 1 callersFunctiongroupMessagesIntoRounds
()
frontend/src/components/MessageList.jsx:65
↓ 1 callersFunctionhandleDeleteClick
(e, convId)
frontend/src/components/ConversationList.jsx:55
↓ 1 callersFunctionhandleFilesSelected
(files)
frontend/src/components/MessageInput.jsx:44
↓ 1 callersFunctionhandleHistoryItemClick
(item)
frontend/src/components/HistoryPanel.jsx:71
↓ 1 callersFunctionhandleStyleSelect
(selectedStyle)
frontend/src/components/ConfigPanel.jsx:43
↓ 1 callersMethodindex_batch
Index multiple documents by file paths. Args: file_paths: List of file paths to process. output_dir:
paper2slides/rag/client.py:237
↓ 1 callersFunctioninsert_text_content_with_multimodal_content
Insert pure text content into LightRAG Args: lightrag: LightRAG instance input: Single document string or list of document s
paper2slides/raganything/utils.py:177
↓ 1 callersFunctionlist_outputs
List all projects and their output configurations.
paper2slides/core/pipeline.py:91
↓ 1 callersFunctionmain
Command-line interface for enhanced markdown conversion
paper2slides/raganything/enhanced_markdown.py:470
↓ 1 callersFunctionmain
Main function to run the document parser from command line
paper2slides/raganything/parser.py:1702
↓ 1 callersFunctionmain
Command-line interface for batch parsing
paper2slides/raganything/batch_parser.py:353
↓ 1 callersFunctionmerge_answers
Merge all RAG answers from a list of query results. Args: rag_results: List of query results [{"query": ..., "answer": ..., "suc
paper2slides/summary/general.py:50
↓ 1 callersFunctionnormalize_input_path
Normalize and validate input path.
paper2slides/utils/path_utils.py:9
↓ 1 callersFunctionopenPreview
(file)
frontend/src/components/ChatWindow.jsx:102
↓ 1 callersFunctionopenPreview
(file)
frontend/src/components/MessageList.jsx:9
↓ 1 callersFunctionopenPreview
(file)
frontend/src/components/MessageInput.jsx:52
↓ 1 callersMethodparse_html
Parse HTML document using Docling Supported formats: .html, .htm, .xhtml Args: html_path: Path to the HTML file
paper2slides/raganything/parser.py:1610
↓ 1 callersMethodparse_image
Abstract method to parse image document. Must be implemented by subclasses. Note: Different parsers may support different im
paper2slides/raganything/parser.py:506
↓ 1 callersMethodparse_image
Parse image document using MinerU 2.0 Note: MinerU 2.0 natively supports .png, .jpeg, .jpg formats. Other formats (.bmp, .ti
paper2slides/raganything/parser.py:918
↓ 1 callersMethodparse_office_doc
Parse office document by first converting to PDF, then parsing with MinerU 2.0 Note: This method requires LibreOffice to be installe
paper2slides/raganything/parser.py:1068
↓ 1 callersMethodparse_office_doc
Parse office document directly using Docling Supported formats: .doc, .docx, .ppt, .pptx, .xls, .xlsx Args: doc
paper2slides/raganything/parser.py:1552
↓ 1 callersMethodparse_pdf
Parse PDF document using Docling Args: pdf_path: Path to the PDF file output_dir: Output directory path
paper2slides/raganything/parser.py:1238
↓ 1 callersFunctionparse_style
Parse style string into style type and custom style.
paper2slides/utils/path_utils.py:31
↓ 1 callersMethodparse_text_file
Parse text file by first converting to PDF, then parsing with MinerU 2.0 Supported formats: .txt, .md Args: tex
paper2slides/raganything/parser.py:1105
↓ 1 callersMethodplan
Create a content plan from generation input.
paper2slides/generator/content_planner.py:134
↓ 1 callersMethodprocess_batch_async
Async version of batch processing Args: file_paths: List of file paths or directories to process output_dir:
paper2slides/raganything/batch_parser.py:319
↓ 1 callersFunctionprocess_custom_style
Process user's custom style request with LLM.
paper2slides/generator/image_generator.py:57
↓ 1 callersMethodprocess_documents_batch
Process multiple documents in batch using the new BatchParser Args: file_paths: List of file paths or directories to pro
paper2slides/raganything/batch.py:155
↓ 1 callersMethodprocess_documents_with_rag_batch
Process documents in batch and then add them to RAG This method combines document parsing and RAG insertion: 1. First, parse
paper2slides/raganything/batch.py:283
↓ 1 callersMethodprocess_folder_complete
Process all supported files in a folder Args: folder_path: Path to the folder containing files to process ou
paper2slides/raganything/batch.py:34
↓ 1 callersMethodprocess_multimodal_content
Process image content with context support
paper2slides/raganything/modalprocessors.py:916
↓ 1 callersMethodread_from_block_recursive
( self, block, type: str, output_dir: Path, cnt: int, num: str
paper2slides/raganything/parser.py:1454
↓ 1 callersFunctionremoveFile
(index)
frontend/src/components/MessageInput.jsx:48
↓ 1 callersFunctionremove_tables_from_summary
Remove all tables from summary content. Supports both formats: 1. Markdown tables: | col1 | col2 | with |---|---| separator 2. H
paper2slides/summary/extractors/table_cleaner.py:11
↓ 1 callersFunctionrun_generate_stage
Stage 4: Generate images.
paper2slides/core/stages/generate_stage.py:14
↓ 1 callersFunctionrun_plan_stage
Stage 3: Plan content sections.
paper2slides/core/stages/plan_stage.py:15
↓ 1 callersFunctionrun_rag_stage
Stage 1: Index document and run RAG queries. Args: base_dir: Base directory for this document/project config: Pipeline config
paper2slides/core/stages/rag_stage.py:256
↓ 1 callersFunctionrun_summary_stage
Stage 2: Extract content from RAG results.
paper2slides/core/stages/summary_stage.py:15
↓ 1 callersFunctionsave_images_as_pdf
Save generated images as a single PDF file. Args: images: List of GeneratedImage from ImageGenerator.generate() output_p
paper2slides/generator/image_generator.py:588
↓ 1 callersFunctionsave_text
Save text to file.
paper2slides/utils/file_utils.py:24
↓ 1 callersFunctionscrollToBottom
()
frontend/src/components/ChatWindow.jsx:93
↓ 1 callersMethodset_content_source
Set content source for context extraction Args: content_source: Source content for context extraction content_format:
paper2slides/raganything/modalprocessors.py:406
↓ 1 callersMethodstart_session
Try to start a new session. Returns False if another session is already running
api/server.py:51
↓ 1 callersMethodto_dict
(self)
paper2slides/generator/content_planner.py:49
↓ 1 callersMethodto_rag_anything_config
Convert to RAGAnythingConfig for internal use.
paper2slides/rag/config.py:206
↓ 1 callersFunctiontoggleExpand
(id)
frontend/src/components/HistoryPanel.jsx:8
↓ 1 callersFunctiontoggleMenu
(e, convId)
frontend/src/components/ConversationList.jsx:74
↓ 1 callersFunctionvalidate_image_file
Validate if a file is a valid image file Args: image_path: Path to the image file max_size_mb: Maximum file size in MB
paper2slides/raganything/utils.py:78
FunctionApp
()
frontend/src/App.test.jsx:4
FunctionApp
()
frontend/src/App.jsx:4
FunctionChatWindow
()
frontend/src/components/ChatWindow.jsx:11
FunctionConfigPanel
({ content, setContent, style, setStyle, output, setOutput, length, setLength, dens
frontend/src/components/ConfigPanel.jsx:4
FunctionConversationList
({ conversations, currentConversationId, onSelectConversation, onNewConversation, onDeleteConve
frontend/src/components/ConversationList.jsx:4
FunctionFileUpload
({ onFilesSelected, disabled, customButton })
frontend/src/components/FileUpload.jsx:4
FunctionHistoryPanel
({ history, uploadedDocuments, onSelectFile, onSelectHistoryItem })
frontend/src/components/HistoryPanel.jsx:4
FunctionMessageInput
({ onSendMessage, isLoading, outputType, style, preSelectedFiles, onPreSelectedFilesClear, hasMessages = false
frontend/src/components/MessageInput.jsx:5
FunctionMessageList
({ messages, uploadedFiles, currentWorkflow, isLoading, onCancelGeneration, conversationId })
frontend/src/components/MessageList.jsx:5
FunctionSegmentedControl
({ label, options, value, onChange })
frontend/src/components/ConfigPanel.jsx:67
FunctionSidebar
({ history, onSelectFile, onClose })
frontend/src/components/Sidebar.jsx:4
FunctionSlidePreview
({ slides })
frontend/src/components/SlidePreview.jsx:4
FunctionWorkflowPanel
({ currentWorkflow, isLoading })
frontend/src/components/WorkflowPanel.jsx:4
Method__aenter__
(self)
paper2slides/rag/client.py:438
Method__aexit__
(self, exc_type, exc_val, exc_tb)
paper2slides/rag/client.py:442
Method__init__
(self)
api/server.py:46
Method__init__
( self, api_key: str = None, base_url: str = None, model: Optional[str] = None
paper2slides/generator/image_generator.py:83
Method__init__
( self, api_key: str = None, base_url: str = None, model: str = "gpt-4o",
paper2slides/generator/content_planner.py:114
Method__init__
Initialize the converter Args: config: Configuration for conversion
paper2slides/raganything/enhanced_markdown.py:82
Method__init__
(self, return_code, error_msg)
paper2slides/raganything/parser.py:38
Method__init__
Initialize MineruParser
paper2slides/raganything/parser.py:583
Method__init__
Initialize DoclingParser
paper2slides/raganything/parser.py:1234
Method__init__
Initialize batch parser Args: parser_type: Type of parser to use ("mineru" or "docling") max_workers: Maximu
paper2slides/raganything/batch_parser.py:59
Method__init__
Initialize base processor Args: lightrag: LightRAG instance modal_caption_func: Function for generating descriptions
paper2slides/raganything/modalprocessors.py:363
Method__init__
Initialize image processor Args: lightrag: LightRAG instance modal_caption_func: Function for generating descriptions
paper2slides/raganything/modalprocessors.py:785
Method__init__
Args: config: RAG configuration. Uses defaults if None. lightrag_instance: Existing LightRAG instance to reuse.
paper2slides/rag/client.py:30
Method__post_init__
Post-initialization setup for backward compatibility
paper2slides/raganything/config.py:106
Method__post_init__
(self)
paper2slides/raganything/modalprocessors.py:44
Method__post_init__
Post-initialization setup following LightRAG pattern
paper2slides/raganything/raganything.py:99
Method__post_init__
(self)
paper2slides/rag/config.py:51
Method__post_init__
(self)
paper2slides/rag/config.py:73
← previousnext →201–300 of 394, ranked by callers