/freeGPT

freeGPT provides free access to GPT3, GPT4 and more models.

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

The freeGPT bot has been verified, invite it here!

PyPI Downloads Status

freeGPT

freeGPT provides free access to GPT3, GPT4 and more models.

Get started:

python -m pip install -U freeGPT

Or add the freeGPT Discord bot, it's open-sourced!

Join my Discord server for live chat, support, or if you have any issues with this package.

Source:

Models Websites
gpt3 <ava-ai-ef611.web.app>
gpt4 <you.com>
alpaca_7b <chatllama.baseten.co>
prodia <prodia.com>
pollinations <pollinations.ai>

Support this repository:

DiscordWidget

TODO List:

  • Make the library well-documented.
  • Make the overall library easier to use.
  • Make the overall library easier to understand.
  • Add a non-GPT model.
  • Make a discord bot.
  • Make a ChatUI.
  • Add an image generation model.

Discord bot:

  • Add the freeGPT Discord bot.
  • This bot has all the models in this repository available.
  • It's interactive, overall fast, and easy to use.
  • And lastly, it's open-sourced.

Example:

Text Completion:

import freeGPT
from asyncio import run


async def main():
    while True:
        prompt = input("👦: ")
        try:
            resp = await getattr(freeGPT, "MODEL NAME").Completion.create(prompt)
            print(f"🤖: {resp}")
        except Exception as e:
            print(f"🤖: {e}")


run(main())

Image Generation:

import freeGPT
from PIL import Image
from io import BytesIO
from asyncio import run


async def main():
    while True:
        prompt = input("👦: ")
        try:
            resp = await getattr(freeGPT, "MODEL NAME").Generation.create(prompt)
            Image.open(BytesIO(resp)).show()
            print(f"🤖: Image shown.")
        except Exception as e:
            print(f"🤖: {e}")


run(main())

Star History Chart:

Star History Chart