Overview
This example demonstrates how to query a single CV using the RAG (Retrieval Augmented Generation) approach. You’ll learn how to load a PDF resume, vectorize it, and ask questions about the candidate’s profile.Setup
First, configure the LLM and embedding models:Loading and Vectorizing the CV
Load a CV PDF and create a vector store for semantic search:Creating the Query Chain
Set up the prompt template and processing chain:Executing a Query
Now ask questions about the candidate’s profile:Expected Output
Key Takeaways
- Simple Setup: Load any CV PDF and start querying immediately
- Semantic Search: The retriever finds relevant information based on meaning, not just keywords
- Structured Analysis: The LLM provides organized, professional insights
- Flexible Questions: Ask about skills, projects, experience, or any aspect of the CV
Next Steps
Batch Processing
Process multiple CVs at scale
Visualization
Create interactive dashboards