Skip to content

kelvinscodeplayground/ai-chat-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Chat Demo

This project is a monorepo designed for learning purposes, featuring a frontend AI chat interface and a backend API that connects to Ollama. The focus is on core functionality and a straightforward user experience.

Project Structure

The project is organized into two main directories:

  • ai-chat-be/: Contains the backend API service, likely built with NestJS as indicated by nest-cli.json. This service acts as an interface to Ollama.
  • ai-chat-fe/: Houses the frontend user interface, developed using Vite and React, as suggested by vite.config.ts and router.tsx.

Screenshot

Below is a screenshot of the AI Chat interface:

AI Chat Interface

Getting Started

To get this project up and running, follow these general steps:

  1. Navigate to the backend directory:
    cd ai-chat-be
  2. Install backend dependencies:
    pnpm install
  3. Start the backend server: (Refer to ai-chat-be/package.json for specific commands, e.g., pnpm start:dev)
  4. Navigate to the frontend directory:
    cd ../ai-chat-fe
  5. Install frontend dependencies:
    pnpm install
  6. Start the frontend development server: (Refer to ai-chat-fe/package.json for specific commands, e.g., pnpm dev)

Technologies

  • Backend: Node.js, NestJS (TypeScript)
  • Frontend: React (TypeScript), Vite
  • API Integration: Ollama

Contributing

This project is for learning purposes. Contributions are welcome, but please keep the focus on core functionality.

About

A full stack AI chat UI to learn how LLM UI work behind the scene

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors