NextAI
Conversational document application for text- and voice-based question answering over uploaded PDFs.

Problem
Working across long PDFs and multiple documents means constant scrolling and searching to find the relevant passage, and there is no fast, hands-free way to ask a question and get a grounded answer.
Solution
NextAI is a conversational document application that answers text and voice questions over uploaded PDFs, returning answers grounded in the source documents.
Technical Approach
A React front end and Express back end coordinate document ingestion, retrieval, and chat.
A RAG workflow built with LangChain and the OpenAI APIs handles document processing, text chunking, vector embeddings, and context retrieval.
In-memory vector-store caching avoids rebuilding the index for repeated queries against the same documents, reducing redundant processing and improving response times.
Implementation
- Developed a conversational document application using React, Express, LangChain, and OpenAI APIs to support question answering over uploaded PDFs.
- Implemented a RAG workflow involving document processing, text chunking, vector embeddings, and context retrieval.
- Used in-memory vector-store caching to reduce redundant processing and improve response times.
- Added speech-to-text and text-to-speech functionality for voice interaction.
Key Features
In-memory vector caching
Caching document embeddings in memory keeps repeated retrievals against the same documents fast, avoiding recomputation and lowering query latency.
Voice-first accessibility
Speech-to-text and text-to-speech make the assistant usable hands-free and more accessible, so users can ask and hear answers without reading or typing.