Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/Paper2Slides
/ functions
Functions
394 in github.com/HKUDS/Paper2Slides
⨍
Functions
394
◇
Types & classes
54
↳
Endpoints
8
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
Function
cancel_session
Cancel a running session
api/server.py:132
Function
chat
Main chat endpoint that receives files and instructions Args: message: User's text message content: 'paper' or 'general'
api/server.py:146
Method
check_installation
Check if MinerU 2.0 is properly installed Returns: bool: True if installation is valid, False otherwise
paper2slides/raganything/parser.py:1189
Method
check_installation
Check if Docling is properly installed Returns: bool: True if installation is valid, False otherwise
paper2slides/raganything/parser.py:1668
Method
check_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
Function
clean_rag_results
(rag_results: Dict[str, List[Dict[str, Any]]])
paper2slides/summary/clean.py:32
Function
closePreview
()
frontend/src/components/ChatWindow.jsx:106
Function
closePreview
()
frontend/src/components/MessageList.jsx:13
Function
closePreview
()
frontend/src/components/MessageInput.jsx:63
Function
create_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
Function
download_file
Download generated file (supports subdirectories)
api/server.py:730
Method
enqueue_output
(pipe, queue, prefix)
paper2slides/raganything/parser.py:674
Method
filter_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
Method
fix_invalid_escapes
Fix common invalid escape sequences in JSON strings.
paper2slides/generator/content_planner.py:342
Method
fix_string_content
(match)
paper2slides/raganything/modalprocessors.py:634
Method
from_env
Create from environment variables.
paper2slides/rag/config.py:188
Method
from_lightrag
Wrap an existing LightRAG instance.
paper2slides/rag/client.py:52
Method
from_storage
Load from existing storage directory.
paper2slides/rag/client.py:46
Method
func
(prompt: str, system_prompt: Optional[str] = None, history_messages: List = None, **kwargs)
paper2slides/rag/client.py:68
Method
generate_single
(i, section)
paper2slides/generator/image_generator.py:224
Function
getFileIcon
(file)
frontend/src/components/ChatWindow.jsx:117
Function
getFileIcon
(file)
frontend/src/components/MessageList.jsx:24
Method
get_config_info
Get current configuration information.
paper2slides/rag/client.py:399
Method
get_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
Method
get_figure_paths
Get list of full paths to figure images.
paper2slides/summary/models.py:94
Method
get_merged_content
Get merged content for display or saving.
paper2slides/summary/models.py:116
Method
get_processor_info
Get processor information
paper2slides/raganything/raganything.py:537
Method
get_processor_info
Get processor information.
paper2slides/rag/client.py:403
Function
get_queries
Get queries for document analysis. Returns: If use_predefined_paper_queries=True: Dict with query configs Otherwise: Lis
paper2slides/rag/query.py:234
Function
get_result
Get the final result for a completed session
api/server.py:647
Function
get_running_session
Check if there is a session currently running
api/server.py:122
Method
get_section_figures
Get (FigureInfo, focus) pairs for a section.
paper2slides/generator/content_planner.py:95
Method
get_section_tables
Get (TableInfo, extract) pairs for a section.
paper2slides/generator/content_planner.py:87
Function
get_status
Get processing status for a session
api/server.py:551
Method
get_supported_extensions
Get supported file extensions.
paper2slides/rag/client.py:395
Function
handleCancelDelete
(e)
frontend/src/components/ConversationList.jsx:69
Function
handleConfirmDelete
(e)
frontend/src/components/ConversationList.jsx:61
Function
handleCustomStyleChange
(e)
frontend/src/components/ConfigPanel.jsx:58
Function
handleDragEnter
(e)
frontend/src/components/MessageInput.jsx:91
Function
handleDragLeave
(e)
frontend/src/components/MessageInput.jsx:97
Function
handleDragOver
(e)
frontend/src/components/MessageInput.jsx:103
Function
handleDrop
(e)
frontend/src/components/MessageInput.jsx:108
Function
handleFileChange
(e)
frontend/src/components/FileUpload.jsx:11
Function
handleFileSelect
()
frontend/src/components/FileUpload.jsx:7
Function
handleRegenerate
()
frontend/src/components/ChatWindow.jsx:768
Function
handleSelectFile
(file)
frontend/src/components/ChatWindow.jsx:977
Function
handleSendMessage
(text, files)
frontend/src/components/ChatWindow.jsx:458
Function
handleSubmit
(e)
frontend/src/components/MessageInput.jsx:36
Function
health
()
api/server.py:117
Function
identify_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
Method
index_folder
Index all documents in a folder. Args: folder_path: Path to folder containing documents. output_dir:
paper2slides/rag/client.py:197
Method
insert_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
Method
is_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
Method
link_replacer
(match)
paper2slides/raganything/parser.py:470
Method
mineru_parse_method
Backward compatibility property for old code. .. deprecated:: Use `parse_method` instead. This property will be removed i
paper2slides/raganything/config.py:121
Function
nextSlide
()
frontend/src/components/SlidePreview.jsx:9
Method
parse_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
Method
parse_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
Method
parse_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
Function
prevSlide
()
frontend/src/components/SlidePreview.jsx:13
Method
process_document_complete
Complete document processing workflow Args: file_path: Path to the file to process output_dir: output direct
paper2slides/raganything/processor.py:1416
Method
process_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
Method
process_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
Method
process_multimodal_content
Process table content with context support
paper2slides/raganything/modalprocessors.py:1111
Method
process_multimodal_content
Process equation content with context support
paper2slides/raganything/modalprocessors.py:1299
Method
process_multimodal_content
Process generic modal content with context support
paper2slides/raganything/modalprocessors.py:1473
Method
process_single_file
(file_path: Path)
paper2slides/raganything/batch.py:105
Method
process_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
Method
process_single_item_with_correct_processor
Process single item using the correct processor for its type
paper2slides/raganything/processor.py:724
Method
query
Synchronous version of pure text query Args: query: Query text mode: Query mode ("local", "global", "hybrid"
paper2slides/raganything/query.py:727
Method
query_one
Execute a single query with semaphore control.
paper2slides/rag/client.py:324
Method
query_with_multimodal
Synchronous version of multimodal query Args: query: Base query text multimodal_content: List of multimodal
paper2slides/raganything/query.py:745
Method
replace_image_path
(match)
paper2slides/raganything/query.py:559
Function
root
()
api/server.py:112
Function
run_pipeline_background
Run pipeline in background and store results
api/server.py:489
Function
save_image_callback
(img, index, total)
paper2slides/core/stages/generate_stage.py:89
Method
set_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
Method
success_rate
Calculate success rate as percentage
paper2slides/raganything/batch_parser.py:33
Method
to_dict
(self)
paper2slides/generator/config.py:74
Method
to_dict
(self)
paper2slides/generator/config.py:109
Method
to_dict
(self)
paper2slides/generator/content_planner.py:103
Method
to_dict
Convert to dictionary for JSON serialization.
paper2slides/summary/models.py:47
Method
to_dict
Convert to dictionary for JSON serialization.
paper2slides/summary/models.py:136
Method
to_markdown
Convert to markdown format with caption before image.
paper2slides/summary/models.py:39
Method
update_config
Update configuration with new values
paper2slides/raganything/raganything.py:219
Method
update_config
Update RAG configuration with new values.
paper2slides/rag/client.py:407
Method
update_context_config
Update context extraction configuration Args: **context_kwargs: Context configuration parameters to update (conte
paper2slides/raganything/raganything.py:505
Method
update_context_config
Update context extraction configuration. Args: **context_kwargs: Context configuration parameters
paper2slides/rag/client.py:411
Method
verify_parser_installation_once
(self)
paper2slides/raganything/raganything.py:410
← previous
301–394 of 394, ranked by callers