Examples
PDF Document Processing
Upload and process PDF documents for intelligent search
Learn how to upload PDF documents to your knowledge base and extract insights through intelligent search and summarization.
What You’ll Learn
This guide demonstrates how to:
- Upload PDF documents to your knowledge base
- Check processing status for document content
- Search within uploaded documents
- Generate summaries from PDF content
Prerequisites
- A Senso API key
- A PDF file to upload (max size: 20MB)
- Basic understanding of multipart form data uploads
Uploading a PDF Document
Working with Large PDFs
For larger PDF documents, processing may take longer. Here’s how to handle it efficiently:
Understanding PDF Processing
When you upload a PDF, Senso:
- Extracts text content from all pages
- Preserves document structure (headings, lists, tables)
- Chunks the content for optimal search performance
- Creates embeddings for semantic search
The response includes:
Best Practices
- File size limits: Keep PDFs under 20MB for optimal processing
- Text-based PDFs: Ensure PDFs contain selectable text (not scanned images)
- Descriptive titles: Use clear titles to help identify content later
- Processing time: Allow 1-2 minutes per MB for processing
- Error handling: Always check processing status before searching
Common Use Cases
Extract Specific Information
Generate FAQ from PDF
Next Steps
- Create categories and topics to organize your PDFs
- Use templates to structure extracted information
- Generate content based on your PDF knowledge base
- Build reusable snippets from PDF content