Skip to content

Tutorials

Choose your interface:

CLI Guide - Command Line

For: Quick tasks, scripting, getting started

bookwyrm extract-pdf doc.pdf --output extracted.json
bookwyrm cite phrases.jsonl --question "What are the findings?"

Client Library Guide - Python API

For: Applications, complex workflows

with BookWyrmClient() as client:
    for response in client.stream_extract_pdf(pdf_bytes=data):
        process_page(response.page_data)

What You'll Learn

  • 📄 Document Processing - PDF extraction, classification, character mapping
  • 📝 Text Analysis - Phrasal processing, smart chunking
  • 🔍 Citation Finding - Question answering with quality scores
  • 📊 Summarization - Hierarchical summaries, structured output

Sample Files

Start here: CLI GuideClient Library GuideExamples