Skip to content

API Reference parrot_loaders.ppt

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_loaders.ppt

View source

Attribute MARKITDOWN_AVAILABLE

Attribute MarkItDown

Attribute PPTX_AVAILABLE

Class PowerPointLoader

Enhanced PowerPoint loader with multiple backends.

Supports:

  1. MarkItDown backend for rich markdown extraction (primary)
  2. python-pptx backend for detailed control and fallback

Features:

  • Slide-by-slide processing with proper markdown formatting
  • Automatic slide title detection
  • Bullet point preservation
  • Slide notes extraction
  • Image-only slide detection and filtering
  • Configurable output formats
Parameter Type Default Description
source Optional[Union[str, PurePath, List[PurePath]]] None
tokenizer Union[str, Callable] None
text_splitter Union[str, Callable] None
source_type str 'file'
backend str 'auto'
output_format Literal['markdown', 'plain'] 'markdown'
skip_image_only_slides bool True
skip_empty_slides bool True
extract_slide_notes bool True
preserve_slide_structure bool True
min_slide_content_length int 10
clean_whitespace bool True
merge_consecutive_headers bool True
**kwargs {}

Attributes:

Attribute Type Description
extensions List[str]

Method PowerPointLoader.extract_slide_text

Extract all text from a slide as a single string.

extract_slide_text(slide)

Parameter Type Default Description
slide

Method PowerPointLoader.slide_has_text

Determine if a slide contains any text.

slide_has_text(slide) -> bool

Parameter Type Default Description
slide

Returns: bool

Method PowerPointLoader.slide_has_images_only

Return True if slide has images and no text.

slide_has_images_only(slide) -> bool

Parameter Type Default Description
slide

Returns: bool

Method PowerPointLoader.get_supported_backends

Get list of available backends.

get_supported_backends() -> List[str]

Returns: List[str]

Method PowerPointLoader.get_backend_info

Get information about current backend configuration.

get_backend_info() -> dict

Returns: dict

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally