appatalks / chatgpt-html

OpenAI & Google Generative Language Chat
MIT License
21 stars 12 forks source link
bard-api bison chatgpt gemini genrative-ai google gpt-35-turbo gpt-4 html javascript openai palm

ChatGPT HTML - Using OpenAI APIs;

screenshot-catdog

v.2.0

This allows you to easily interact with the OpenAI API.

Getting Started

  1. Add your OpenAI API key to the "OPENAI_API_KEY" variable and (optionally) AWS, Google Keys in config.json for additional functionality.
  2. Open index.html and have fun!
  3. Optional: - Suno-Ai's Bark TTS Engine Added. Run server.py (GPU Enabled)
  4. Note: You may have to review/adjust the code for your specific env. ie CIDR ranges, NGINX/webserver configuration,scripting piece etc.

Features

Bugs

Grabbed the inital idea from here https://www.codeproject.com/Articles/5350454/Chat-GPT-in-JavaScript
Complete overhaul of the code base.