More Premium Hugo Themes Premium Nextjs Themes

Light Gpt

Light-GPT is an interactive website project based on the GPT-3.5-Turbo Model.

Light Gpt

Light-GPT is an interactive website project based on the GPT-3.5-Turbo Model.

Author Avatar Theme by riwigefi
Github Stars Github Stars: 836
Last Commit Last Commit: Apr 13, 2023 -
First Commit Created: Aug 27, 2024 -
default image

Overview

Light-GPT is an interactive website project based on the GPT-3.5-Turbo model. Built with the Next.js framework and deployed on the Vercel cloud platform, Light-GPT is a lightweight pure front-end application that facilitates dialogue interactions with an AI model.

Features

  • Front-end application utilizing the GPT-3.5-Turbo model with API KEY integration for OpenAI dialogue interface requests.
  • Supports streaming data and displays robot replies in a typewriter effect on the webpage.
  • Users can set their API KEY on the front-end page for fast Q&A speed and client-side API KEY storage to prevent leakage.
  • Allows for new thematic dialogues, viewing historical dialogues, and storing dialogue data locally in the IndexedDB for enhanced privacy.
  • AI responses to programming-related questions feature multiple syntax highlighting options and one-click code copying.
  • Enables dialogue image export and PDF export functionalities.
  • Fully responsive design for both PC and mobile devices, offering convenience and flexibility.
  • DIY feature supports customizable user avatars and AI avatars.

Installation

Local Deployment

  1. Download the project to your local machine.
  2. Navigate to the project directory and install dependencies:
    npm install
    
  3. Start the application:
    npm start
    
  4. Preview the project at http://localhost:3000 and enter your API KEY on the front-end page to begin chatting.

Vercel Online Deployment

  1. Register for a Vercel account.
  2. Fork the Light-GPT repository to your Github account.
  3. Log in to Vercel, click “Add New”, select “Project”, import the forked project, and click “Deploy”.

Docker Local Deployment

  1. Pull the latest Docker image:
    docker pull <image_name>
    
  2. Run the image and map port 3000 to port 3000:
    docker run -p 3000:3000 <image_name>
    

Summary

Light-GPT is a fascinating interactive website project that leverages the advanced GPT-3.5-Turbo model for dialogue interactions. With its user-friendly features, secure API KEY handling, and versatile deployment options, Light-GPT offers a unique and efficient AI-powered chatting experience.