# Intuo

Front end of a retrieval-style AI chat assistant. Users ask questions against a body of documents, narrow the search with five filter groups, watch the answer stream in and open the cited source documents with their original pages, all against a separate back-end API.

- **Facts:** 2024, Built for a client, Completed, role: Team member
- **What I did:** I built about half of the project, with 2 other developers.
- **Scope:** frontend
- **Domain:** ai
- **Stack:** Next.js, React, TypeScript, Tailwind CSS, Radix UI, TanStack Query, Zod, React Hook Form, Server-Sent Events, shadcn/ui, ESLint, Prettier, pnpm, Figma
- **Page:** https://sergey-petrinich.vercel.app/work/intuo

Capabilities:

- Sidebar with named conversations, a new chat button and the active one highlighted from the address
- First question creates the conversation and names it
- Rename in a dialog with live validation, delete with a confirmation
- Prompt box with Enter to send and five filter popovers (24 options) with live counts
- Answers stream in as chunks, with a loader while the first one is awaited
- Markdown answers with highlighted code blocks, copy and download as a text file
- Side sheet with one collapsible card per cited source
- Cached cover images and source text rendered as Markdown
- Dialog with the full original page of a source

Back to the [work archive](https://sergey-petrinich.vercel.app/work.md) · [CV](https://sergey-petrinich.vercel.app/cv.md) · [all of it in one file](https://sergey-petrinich.vercel.app/llms-full.txt)
