Repository navigation
Proposal: opt-in PowerPoint speaker notes extraction in PPTParser #4348
xiaoyesoso
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Use case
Training and maintenance decks often put instructions in PowerPoint speaker notes rather than on the slide itself. When these decks are parsed for a knowledge base, the search index can miss the actual instruction even though it contains the slide title.
Current behavior
An offline check against the
PPTParsersource on main (c296a8df) generated a two-slide deck withpython-pptx: slide 1 had the titleCircuit breaker inspectionand the speaker noteReplace after 10,000 cycles; consult the maintenance log.; slide 2 had no notes part. Reopening the deck withpython-pptxreturned the note, butPPTParser().parse(...)returned only the title, withmetadata={"slide": 1}. This is consistent with the current slide-shape-only parser.Proposal
include_speaker_notes=Falseargument toPPTParser, using the existingpython-pptxdependency. Keep the default output and built-in knowledge-base configuration unchanged: notes may be private or irrelevant to retrieval.slidemetadata, and mark the section as speaker notes so callers can distinguish it from visible slide text. Only read the notes text placeholder, not slide numbers, headers, or footers.has_notes_slidebefore accessingnotes_slideso parsing does not create missing notes parts.Would a parser-only opt-in be a useful first step? I can implement and test that scope if it fits the roadmap. This proposal does not include UI settings, notes formatting, or additional dependencies.
All reactions