A RAG pipeline that answers questions about internal HR documents (French PDFs). Uses Celeste AI for generation and embeddings, LangGraph for orchestration, and Idun Agent Platform to serve and manage the agent.
rewrite_query → retrieve → generate
- Rewrites the user's question into a vector-search-friendly query via Celeste (
gemini-3-flash-preview) - Searches an in-memory vector store built from the PDFs using batch Celeste embeddings (
gemini-embedding-2-preview) - Generates a grounded answer from the retrieved document chunks
main.py # Graph nodes and wiring
state.py # InputState, GraphState, OutputState
celeste_adapter.py # CelesteEmbeddings adapter + call_celeste wrapper
docs/ # HR PDF documents (NexaTech)
docs/blog/ # Blog post
tests/ # Lightweight adapter tests
uv syncSet your API keys in .env:
GOOGLE_API_KEY=...
The Celeste calls use model-based provider inference, so no provider-specific SDK setup is needed beyond the API key.
idun agent serve --source=managerThe agent fetches its config from Idun Cloud and starts on http://localhost:8800.