Skip to content

krglkvrmn/openai_api_ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI chat application

A UI wrapper for an OpenAI chat completions API

Motivation ✨

  • Paid ChatGPT subscription isn't the best option for users that only use AI occasionally, but still sometimes need to work with powerful models like GPT-4.
  • The project was created to utilize pay as you go model of OpenAI's API instead of monthly subscriptions while preserving ChatGPT-like user experience.
  • Also I wanted to add some additional features, which I miss in ChatGPT

Demo 📺

Unique features* ⭐️

Prompts library 📚

  • Your system prompts (custom rules and instructions for an assistant) are saved and can be re-used

Parallel message generation ✉️

  • This app allows simultaneous message generation in different chats

Pay per token with your own API key 🔑

  • You have full control of how much you spend, because you pay per token (input and output). You can check out pricing on this page
  • Users are able to save their API keys to personal account on this app for convenience
  • Alternatively, if you are worried about security, you have an option to not save the key.

Chat specific system prompts 💬

  • You can configure system prompts for each chat separately, not just globally

Features to be implemented 📌

Assistants API 🤖

Assistants API is more convenient for a developer than a completions API. These changes will not probably affect end-users, because full implementation (assistants creation and configuration) is not currently in near future plans.

Work with images 🖼️

Image analysis DALLE-3 integration

Theming 🌓

Currently only dark theme is supported

Technology stack 🛠️

Python FastAPI Postgres Redis Nginx

TypeScript React Vite React Router React Query

How to Use? 🚀

Application is available online at chat.krglkvrmn.me 🏳️‍🌈 For a local development check out separate instructions for frontend and backend

In order to use it, you should acquire an OpenAI API key 🔑 and add credits to balance of your OpenAI account 💳

Browser support 🌐

The app was tested in most popular browsers including:

Google Chrome Firefox Edge Opera Safari

📱Mobile browsers are supported, but minor UI problems may occur

License

This project is licensed under the terms of the MIT license.

Contacts

If you have any questions, please contact @krglkvrmn - Telegram or kruglikov1911@mail.ru - Email

About

This is a full-stack app wrapping functionality of openai API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors