AI2025

LLM Gateway Chat — RAG Projects

A retrieval-augmented chat where each project has its own knowledge base — drop in PDFs, spreadsheets, docs or code, and every answer is grounded in your files with source citations.

Role

AI Engineer

Client

LLM Gateway

Duration

2025

Stack

TypeScript · RAG · Vector DB

The challenge

Generic chat forgets context and hallucinates. Teams need answers grounded in their own documents — with citations, persistent project memory, and the freedom to switch models without rebuilding the knowledge base.

The approach

  1. 01

    Built project-scoped RAG: files are chunked, embedded and stored per project, and every answer cites the source file.

  2. 02

    Added persistent project memory so context survives across new chats.

  3. 03

    Designed the knowledge layer to be model-agnostic — any of the 280+ gateway models can be swapped mid-project.

The solution

Projects make every chat document-grounded and memory-aware, with model-agnostic knowledge bases and source citations — retrieval you can actually trust.

Results

280+

Swappable models

RAG

Source-cited answers

1

Persistent project memory

Highlights

  • ▹Project-scoped RAG with source citations
  • ▹Persistent memory across chats
  • ▹Model-agnostic knowledge bases

Technologies

TypeScriptRAGVector DBLLMsStreaming UI