Skip to content
cd ~/projects: all projects

AI chat platform

Apex Bot

A company AI assistant that answers from its own documents, with a private knowledge base, role-based access and an admin dashboard.

Visit site(opens in a new tab)
Screens from Apex Bot

cat README.md: overview

Apex Bot is a ChatGPT-style assistant for a company. Staff ask questions in plain language and get answers drawn from the company’s own documents and business data, with the sources shown under each reply.

Admins feed the knowledge base from uploaded files and from a Floorzap data sync: the app scrapes the company’s Floorzap records, and admins choose which tables to chunk and embed for retrieval. The interface is Next.js 16 with Redux Toolkit, on a FastAPI backend that connects the knowledge base to the language model.

What I built

  • Chat with history, pinned and renamed chats, date dividers and replies shown as soon as they arrive
  • File attachments in chat, sent with resumable (tus) uploads and progress, and previewed in the conversation
  • Knowledge base built from uploaded PDF, Word and text files or typed entries
  • Floorzap data sync: run a scrape, browse the scraped tables and sync rows into the knowledge base
  • Admin dashboard with usage charts, users and roles, and every chat session to review
  • Login with OTP password reset, profile and avatar settings, and no public sign-up: admins create the accounts
  • Role-based access: users chat, admins also manage the dashboard
  • Server-rendered with Next.js 16 Cache Components, streaming skeletons and token refresh in the proxy