Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

freeGPT-1.2.6.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

freeGPT-1.2.6-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file freeGPT-1.2.6.tar.gz.

File metadata

  • Download URL: freeGPT-1.2.6.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for freeGPT-1.2.6.tar.gz
Algorithm Hash digest
SHA256 54ff8f4a5ff1ac371d4baa19348b5f1a9e07f7669a5b1125af3d84ea54a7c774
MD5 aa51eba4ada1072ae36d7007d1adad56
BLAKE2b-256 e189052fdb6891f034bf5e851b00dd32c21dfab465bd4deea7edd18781e605b3

See more details on using hashes here.

Provenance

File details

Details for the file freeGPT-1.2.6-py3-none-any.whl.

File metadata

  • Download URL: freeGPT-1.2.6-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for freeGPT-1.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9c73b1d84f7d54c7e6d8e9e555357d7a5799578f34192040fb304f994399142b
MD5 ad7d4cbcd32e65cd86159accc0def892
BLAKE2b-256 c4a693b37f6f751923d10d72e66a67bc312ba7e2c5f9834b28e78638f6fd943d

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page