Skip to content

A local Web UI for GPT 3.5 aka ChatGPT's API

Notifications You must be signed in to change notification settings

RocketDerp/my-chat-gpt_copy0

Repository files navigation

my-chat-gpt

A locally run Web UI for GPT 3.5 aka ChatGPT's API

Start and switch between multiple chat conversations

chats

Set System Instructions and begin chatting just like you would on ChatGPT

chats

Configure Conversations to switch between summary/memory presets and tweak settings

chats

Request Dalle-2 Images depicting a scene from the current conversation

chats chats

View and edit conversation summary

Summarization is a technique for keeping track of conversations that exceed the 4096 token limit. The backend will keep track of a running summary, and any time messages are too old to be included in the next API request, a seperate API request will summarize those messages and add it to the running summary. chats

View conversation contexts and memories

Context/Memories is another technique for keeping track of conversations that exceed the 4096 token limit. The backend will keep track of a list of context memory groups, where each time a group of messages are too old to be included in the next API request, a seperate API request will generate a context and list of memories from those messages. These memories have keywords so future AI requests can be preceded with an API call to select the most relevant keywords, and the memories associated with those keywords will be added to the AI request. chats

Prompt engineer better prompts for summarization, memory generation, and image prompt request

chats

Quick Start

Run npm install from the base directory (in terminal, git bash, powershell, etc. Lookup a tutorial for node if you're not familiar with it)

You may need to install Angular CLI version 15.2.1 seperately. If you have issues with the following step.

Follow the guides below to start the frontend and backend servers.

Running just the Backend Server

Run npm run startBackend for the backend server. The application will not reload until you close the server and restart it.

Running just the Frontend Web UI Server

Run npm run startFrontend for the frontend server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Angular Development Info

This project was generated with Angular CLI version 15.2.1.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

About

A local Web UI for GPT 3.5 aka ChatGPT's API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published