Prompt
what should I use to search across PDFs and images semantically?
Latest observation
Oct 31, 2026
OpenAI APIWeb search: off
If you want to search across PDFs and images by meaning rather than exact keywords, you generally want a multimodal vector search setup.
Best approach
Use:
- OCR / document parsing to extract text from PDFs and images
- Multimodal embeddings to represent both text and images in the same semantic space
- A vector database to store and search those embeddings
Good model options
For text + image semantic search
- OpenAI CLIP-style models
Great for matching images and text semantically. - Sentence Transformers + OCR text Best if your PDFs are mostly text and images are just supporting content.
- Multimodal embedding models from vendors like:
- OpenAI
- Google Vertex AI
- Cohere
- Azure AI Search with vector support
- AWS Bedrock / Titan embeddings depending on setup
If your PDFs are mostly text
Use:
- PDF text extraction
- Text embeddings only
- Vector search in something like:
- Pinecone
- Weaviate
- Milvus
- Qdrant
- FAISS if you want local/open-source
If your PDFs contain scanned pages or images
Use:
- OCR first, then embeddings for the extracted text
- Optionally also embed the image itself if visual meaning matters
Common architecture
- Ingest PDF/image
- Extract text with OCR or PDF parser
- Generate embeddings for:
- extracted text
- image regions or whole images if needed
- Store in vector DB with metadata
- Search by query embedding
Quick recommendations
- Simplest robust setup: OCR + text embeddings + Qdrant
- Best for true text/image semantic matching: CLIP-like multimodal embeddings + vector DB
- Enterprise search across docs: Azure AI Search or Elastic with vector support
If you want, I can recommend a specific stack based on whether you're building:
- a local tool,
- a web app, or
- an enterprise document search system.