MockEvalio's RAG Pipeline Broke Hours After Launch Due to Embedding Endpoint Failure
On March 10, a retrieval-augmented generation (RAG) pipeline for MockEvalio was deployed, capable of parsing job descriptions and generating interview questions using chunked embeddings stored in a pgvector database. Just hours after launch, the embedding step failed when Groq's nomic-embed-text-v1.5 endpoint returned a 404 error at 22:57, halting the pipeline. The fix involved swapping Groq's embedding endpoint for OpenAI's text-embedding-3-small in a 17-line code change, restoring functionality while preserving the same 768-dimension output. The incident also revealed a silent failure bug in the original code, where a missing API key would return zero-vectors without raising an error, potentially corrupting similarity searches undetected. Separately, a self-hosted faster-whisper transcription service was added the same evening as the default option, replacing cloud APIs, with the stated reason being cost reduction and elimination of external API calls.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in