InfiniteGPT is a Python script that lets you input an unlimited size text into the OpenAI API. No more tedious copy & pasting. Long live multithreading!

emmethalm emmethalm Last update: Apr 24, 2024

InfiniteGPT 🚀

InfiniteGPT is a Python script that lets you input an unlimited size text into the OpenAI API. No more tedious copy & pasting. It's a single python script that can connect to any of the OpenAI API chat models (gpt-3.5-turbo, gpt4, etc.).

This eliminates the need for re-prompting when using a large text input or copying and pasting endless chunks of text into chatGPT. 📚

Dependencies 📦

  • python3
  • openai

BYOK (Bring Your Own Keys!) 🔑

Go to OpenAI to get your personal API keys.

This script does not hide your API keys, so please do so if you plan on integrating it into a public application. ⚠️

Usage 🛠️

  1. Clone the repository
  2. Install the required dependencies
  3. Add your API keys
  4. Run the script

License 📄

MIT License. See LICENSE for more information.

Connect with me 📣

I write about using AI tools & share my latest building on Twitter @ehalm_. DM me with any questions. 🐦

Happy building! 🎉

Tags:

Subscribe to our newsletter