Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danvictorgithub/gpt-teer
A rework to my depricated project gpt-wright project using Puppeteer
https://github.com/danvictorgithub/gpt-teer
express gpt4o puppeteer
Last synced: 4 days ago
JSON representation
A rework to my depricated project gpt-wright project using Puppeteer
- Host: GitHub
- URL: https://github.com/danvictorgithub/gpt-teer
- Owner: Danvictorgithub
- License: mit
- Created: 2024-11-02T14:02:55.000Z (14 days ago)
- Default Branch: main
- Last Pushed: 2024-11-10T12:50:41.000Z (6 days ago)
- Last Synced: 2024-11-10T13:39:49.559Z (6 days ago)
- Topics: express, gpt4o, puppeteer
- Language: JavaScript
- Homepage:
- Size: 1.09 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gpt-teer
A rework to my depricated project gpt-wright project, Puppeteer have better stealth-mode integration than playwright.
Old Project: https://github.com/Danvictorgithub/gpt-wright
### ChatGPT 4o mini/3.5 Turbo reverse proxy with Chromium/Firefox based Puppeteer, Express REST-API, A free non-fine-tunable REST-API alternative for GPT chat completion API
## Routes
GET / - Information or Health Check
POST /start - Generates a Chat ID - kills inactivity after 15 mins
POST /conversation - Prompt chat [ requires on request-body {prompt:string} ]
supports multiple chat conversations
## How it works
Uses Puppeteer with Stealth plugin to always have unique browser configurations (and also bypasses cloudflare allowing almost limitless API calls and ChatGPT 1 hour limit prompts, Can generate 50k prompts in 24 hours on 12 threads CPU with medium length response or around 1-2k tokens)
Applies parallel API calls with each dependent Chat ID to have a 'Queue middleware'/it waits for pending response to finish (recurring chats must be finished before the next prompt is processed, or waiting for chatgpt to response before the next prompt is processed, this only applies if there are many pending prompts on the same ChatID)
This process uses ChatGPT no logins prompts which is similar to doing OPEN AI chat_completion API but free (but lacks the ability to fine tune)
Disclaimer: This must be used with caution as abuse on the OpenAI server may result in rate limiting issues based on IPs
# Usecases
Chatbots: This project can be used for simple application like chatbots
Synthetic Data Generation: This project is currently used in generating basic conversation data for thesis "Enhancing Language Model Efficiency through Sequence-Level Knowledge Distillation with Sparse Transformers" by Ronald John Atanoso and Dan Victor Lofranco