A simple UI for the ChatGPT Open AI Api
The SvelteKit ChatGPT UI is a chat application built with SvelteKit. It allows users to have chat conversations with an AI-powered chatbot. The application features include persisting chat history, auto-scrolling, and message streaming. The chat messages, answer, and chat history are stored in separate stores, allowing for efficient data management and seamless user experience.
To install the SvelteKit ChatGPT UI, follow these steps:
Clone the repository:
git clone <repository-url>
Change to the project directory:
cd sveltekit-chatgpt-ui
Install the dependencies using npm:
npm install
Create an .env file and add your OpenAI API key:
OPENAI_KEY=your-openai-api-key
Start the application:
npm run dev
Open your browser and navigate to http://localhost:5000 to access the chat interface.
Enjoy chatting with the AI-powered chatbot!
The SvelteKit ChatGPT UI is a powerful chat application that utilizes SvelteKit for a smooth and responsive user experience. It offers features such as persisted chat history, auto-scrolling, and message streaming. The application stores chat messages, answers, and chat history separately, ensuring efficient data management and easy updates. With easy installation steps, users can quickly set up the SvelteKit ChatGPT UI and enjoy seamless chat interactions with the AI chatbot.