All work

Intelligent Chatbot Service

Answers grounded in your documents.

Document ingestion, retrieval, and source-aware answers behind configurable chatbots.

Role
AI & backend engineering
When
Dec 2024 – Aug 2025
Stack
LangChain, ltree, AWS Lambda, Amazon S3, DynamoDB, Amazon SQS, RAGAS, Tonic Validate, OpenTelemetry, AWS X-Ray
  • 0.5 sAverage document-processing time per pageReported document-parser result in the December 2024–August 2025 chatbot project.
  • $0.0007Reported processing cost per pageCost reported for the document-processing pipeline.
  • 400–500Pages processed continuouslyReported continuous document-processing runs without failure.
  • $0.26Reported cost per 1,000 SEC recordsSEC-filing extraction service in the December 2024–August 2025 chatbot project, combining a self-hosted document parser with LLM extraction.
  • 90%Reported FinQA answer similarityDocument-question answering evaluation reported in my CV, alongside RAGAS and Tonic Validate evaluation work.
  • 70%Reported FinanceBench answer similarityDocument-question answering evaluation reported in my CV, alongside RAGAS and Tonic Validate evaluation work.
Intelligent Chatbot Service123DocumentsRetrievalAnswerRelevant contextSources retained
Illustrative system diagram

Document parsing preserves layouts, tables, and attribution as content enters the retrieval pipeline.

Illustration of the document-to-answer pipeline, not a screenshot of the private product.

What I built

I developed a platform where users upload documents and configure a chatbot around their information. My work connected document parsing and event-driven ingestion with retrieval, generation, evaluation, and distributed tracing.

  • Documents into context

    Built ingestion and parsing for document layouts, tables, and source attribution, including SEC-filing extraction, backed by serverless processing queues.

  • Retrieval with control

    Customized LangChain ingestion and retrieval. Combined ltree hierarchies with vector similarity and weighted scoring to recommend insights from extracted document data.

  • Evaluation and tracing

    Integrated RAGAS and Tonic Validate evaluation, plus OpenTelemetry and AWS X-Ray to inspect behavior across services.

Engineering decisions

The problem, what I chose, and what it changed.

Keep document structure and sources through retrieval

Problem
Useful document answers depend on more than raw text: layouts, tables, and source attribution must survive ingestion.
Decision
Built structure-aware processing behind serverless queues and customized LangChain ingestion, retrieval, and generation. Used ltree hierarchies with vector similarity and weighted scoring for document-based recommendations.
Result
Configurable document chatbots with contextual retrieval, source-aware processing, and evaluation using RAGAS and Tonic Validate.