MCPcopy Create free account

hub / github.com/HKUDS/Paper2Slides / functions

Functions394 in github.com/HKUDS/Paper2Slides

Method__repr__
(self)
paper2slides/rag/config.py:237
Method_ensure_lightrag_initialized
Ensure LightRAG instance is initialized, create if necessary
paper2slides/raganything/raganything.py:228
Method_extract_json_from_response
Legacy method - now handled by _extract_all_json_candidates
paper2slides/raganything/modalprocessors.py:676
Method_fix_json_escapes
Legacy method - now handled by progressive strategies
paper2slides/raganything/modalprocessors.py:681
Method_process_inline_markdown
Process inline markdown formatting (bold, italic, code, links) Args: text: Raw text with markdown formatting Re
paper2slides/raganything/parser.py:439
Functioncancel_session
Cancel a running session
api/server.py:132
Functionchat
Main chat endpoint that receives files and instructions Args: message: User's text message content: 'paper' or 'general'
api/server.py:146
Methodcheck_installation
Check if MinerU 2.0 is properly installed Returns: bool: True if installation is valid, False otherwise
paper2slides/raganything/parser.py:1189
Methodcheck_installation
Check if Docling is properly installed Returns: bool: True if installation is valid, False otherwise
paper2slides/raganything/parser.py:1668
Methodcheck_parser_installation
Check if the configured parser is properly installed Returns: bool: True if the configured parser is properly installed
paper2slides/raganything/raganything.py:401
Functionclean_rag_results
(rag_results: Dict[str, List[Dict[str, Any]]])
paper2slides/summary/clean.py:32
FunctionclosePreview
()
frontend/src/components/ChatWindow.jsx:106
FunctionclosePreview
()
frontend/src/components/MessageList.jsx:13
FunctionclosePreview
()
frontend/src/components/MessageInput.jsx:63
Functioncreate_enhanced_summary
Create an enhanced summary by separating summary text and original elements. Args: summary_content: The RAG-generated summary co
paper2slides/summary/extractors/__init__.py:48
Functiondownload_file
Download generated file (supports subdirectories)
api/server.py:730
Methodenqueue_output
(pipe, queue, prefix)
paper2slides/raganything/parser.py:674
Methodfilter_supported_files
Filter file paths to only include supported file types Args: file_paths: List of file paths to filter recurs
paper2slides/raganything/batch.py:264
Methodfix_invalid_escapes
Fix common invalid escape sequences in JSON strings.
paper2slides/generator/content_planner.py:342
Methodfix_string_content
(match)
paper2slides/raganything/modalprocessors.py:634
Methodfrom_env
Create from environment variables.
paper2slides/rag/config.py:188
Methodfrom_lightrag
Wrap an existing LightRAG instance.
paper2slides/rag/client.py:52
Methodfrom_storage
Load from existing storage directory.
paper2slides/rag/client.py:46
Methodfunc
(prompt: str, system_prompt: Optional[str] = None, history_messages: List = None, **kwargs)
paper2slides/rag/client.py:68
Methodgenerate_single
(i, section)
paper2slides/generator/image_generator.py:224
FunctiongetFileIcon
(file)
frontend/src/components/ChatWindow.jsx:117
FunctiongetFileIcon
(file)
frontend/src/components/MessageList.jsx:24
Methodget_config_info
Get current configuration information.
paper2slides/rag/client.py:399
Methodget_document_processing_status
Get detailed processing status for a document. Args: doc_id: Document ID to check Returns: Dict wit
paper2slides/raganything/processor.py:1366
Methodget_figure_paths
Get list of full paths to figure images.
paper2slides/summary/models.py:94
Methodget_merged_content
Get merged content for display or saving.
paper2slides/summary/models.py:116
Methodget_processor_info
Get processor information
paper2slides/raganything/raganything.py:537
Methodget_processor_info
Get processor information.
paper2slides/rag/client.py:403
Functionget_queries
Get queries for document analysis. Returns: If use_predefined_paper_queries=True: Dict with query configs Otherwise: Lis
paper2slides/rag/query.py:234
Functionget_result
Get the final result for a completed session
api/server.py:647
Functionget_running_session
Check if there is a session currently running
api/server.py:122
Methodget_section_figures
Get (FigureInfo, focus) pairs for a section.
paper2slides/generator/content_planner.py:95
Methodget_section_tables
Get (TableInfo, extract) pairs for a section.
paper2slides/generator/content_planner.py:87
Functionget_status
Get processing status for a session
api/server.py:551
Methodget_supported_extensions
Get supported file extensions.
paper2slides/rag/client.py:395
FunctionhandleCancelDelete
(e)
frontend/src/components/ConversationList.jsx:69
FunctionhandleConfirmDelete
(e)
frontend/src/components/ConversationList.jsx:61
FunctionhandleCustomStyleChange
(e)
frontend/src/components/ConfigPanel.jsx:58
FunctionhandleDragEnter
(e)
frontend/src/components/MessageInput.jsx:91
FunctionhandleDragLeave
(e)
frontend/src/components/MessageInput.jsx:97
FunctionhandleDragOver
(e)
frontend/src/components/MessageInput.jsx:103
FunctionhandleDrop
(e)
frontend/src/components/MessageInput.jsx:108
FunctionhandleFileChange
(e)
frontend/src/components/FileUpload.jsx:11
FunctionhandleFileSelect
()
frontend/src/components/FileUpload.jsx:7
FunctionhandleRegenerate
()
frontend/src/components/ChatWindow.jsx:768
FunctionhandleSelectFile
(file)
frontend/src/components/ChatWindow.jsx:977
FunctionhandleSendMessage
(text, files)
frontend/src/components/ChatWindow.jsx:458
FunctionhandleSubmit
(e)
frontend/src/components/MessageInput.jsx:36
Functionhealth
()
api/server.py:117
Functionidentify_table_blocks
Identify all table blocks in content. Useful for debugging or selective table handling. Args: content: Text content to
paper2slides/summary/extractors/table_cleaner.py:95
Methodindex_folder
Index all documents in a folder. Args: folder_path: Path to folder containing documents. output_dir:
paper2slides/rag/client.py:197
Methodinsert_content_list
Insert content list directly without document parsing Args: content_list: Pre-parsed content list containing text and mu
paper2slides/raganything/processor.py:1723
Methodis_document_fully_processed
Check if a document is fully processed (both text and multimodal content). Args: doc_id: Document ID to check R
paper2slides/raganything/processor.py:1340
Methodlink_replacer
(match)
paper2slides/raganything/parser.py:470
Methodmineru_parse_method
Backward compatibility property for old code. .. deprecated:: Use `parse_method` instead. This property will be removed i
paper2slides/raganything/config.py:121
FunctionnextSlide
()
frontend/src/components/SlidePreview.jsx:9
Methodparse_document
Parse document using MinerU 2.0 based on file extension Args: file_path: Path to the file to be parsed metho
paper2slides/raganything/parser.py:1139
Methodparse_document
Parse document using Docling based on file extension Args: file_path: Path to the file to be parsed method:
paper2slides/raganything/parser.py:1293
Methodparse_pdf
Abstract method to parse PDF document. Must be implemented by subclasses. Args: pdf_path: Path to the PDF file
paper2slides/raganything/parser.py:482
FunctionprevSlide
()
frontend/src/components/SlidePreview.jsx:13
Methodprocess_document_complete
Complete document processing workflow Args: file_path: Path to the file to process output_dir: output direct
paper2slides/raganything/processor.py:1416
Methodprocess_document_complete_lightrag_api
API exclusively for LightRAG calls: Complete document processing workflow Args: file_path: Path to the file to process
paper2slides/raganything/processor.py:1499
Methodprocess_documents_batch_async
Asynchronously process multiple documents in batch Args: file_paths: List of file paths or directories to process
paper2slides/raganything/batch.py:207
Methodprocess_multimodal_content
Process table content with context support
paper2slides/raganything/modalprocessors.py:1111
Methodprocess_multimodal_content
Process equation content with context support
paper2slides/raganything/modalprocessors.py:1299
Methodprocess_multimodal_content
Process generic modal content with context support
paper2slides/raganything/modalprocessors.py:1473
Methodprocess_single_file
(file_path: Path)
paper2slides/raganything/batch.py:105
Methodprocess_single_file
Process a single file Args: file_path: Path to the file to process output_dir: Output directory
paper2slides/raganything/batch_parser.py:158
Methodprocess_single_item_with_correct_processor
Process single item using the correct processor for its type
paper2slides/raganything/processor.py:724
Methodquery
Synchronous version of pure text query Args: query: Query text mode: Query mode ("local", "global", "hybrid"
paper2slides/raganything/query.py:727
Methodquery_one
Execute a single query with semaphore control.
paper2slides/rag/client.py:324
Methodquery_with_multimodal
Synchronous version of multimodal query Args: query: Base query text multimodal_content: List of multimodal
paper2slides/raganything/query.py:745
Methodreplace_image_path
(match)
paper2slides/raganything/query.py:559
Functionroot
()
api/server.py:112
Functionrun_pipeline_background
Run pipeline in background and store results
api/server.py:489
Functionsave_image_callback
(img, index, total)
paper2slides/core/stages/generate_stage.py:89
Methodset_content_source_for_context
Set content source for context extraction in all modal processors. Args: content_source: Source content for cont
paper2slides/rag/client.py:421
Methodsuccess_rate
Calculate success rate as percentage
paper2slides/raganything/batch_parser.py:33
Methodto_dict
(self)
paper2slides/generator/config.py:74
Methodto_dict
(self)
paper2slides/generator/config.py:109
Methodto_dict
(self)
paper2slides/generator/content_planner.py:103
Methodto_dict
Convert to dictionary for JSON serialization.
paper2slides/summary/models.py:47
Methodto_dict
Convert to dictionary for JSON serialization.
paper2slides/summary/models.py:136
Methodto_markdown
Convert to markdown format with caption before image.
paper2slides/summary/models.py:39
Methodupdate_config
Update configuration with new values
paper2slides/raganything/raganything.py:219
Methodupdate_config
Update RAG configuration with new values.
paper2slides/rag/client.py:407
Methodupdate_context_config
Update context extraction configuration Args: **context_kwargs: Context configuration parameters to update (conte
paper2slides/raganything/raganything.py:505
Methodupdate_context_config
Update context extraction configuration. Args: **context_kwargs: Context configuration parameters
paper2slides/rag/client.py:411
Methodverify_parser_installation_once
(self)
paper2slides/raganything/raganything.py:410
← previous301–394 of 394, ranked by callers