Skip to main content

A Python package that provides free access to GPT3, GPT4, and more models.

Project description

Latest: 5 MORE STARS FOR INTERNET SEARCH GPT MODELS

PyPI version Downloads

freeGPT

A Python package that gives access to GPT3 & GPT4 models for free.
Get started by doing: pip install freeGPT

Examples:

GPT-3:

from freeGPT import gpt3

def send_prompt():
    try:
        prompt = input("> ")
        response = gpt3.Completion.create(prompt=prompt)
        print("Response:", response.text)
    except Exception as e:
        print("Error:", str(e))

while True:
    send_prompt()

GPT-4:

from freeGPT import gpt4

token = gpt4.Account.create(logging=True)
print("Token:", token) 

def send_prompt():
    try:
        prompt = input("> ")
        for response in gpt4.Completion.create(prompt=prompt, token=token):
            print("Response:", response.text)
    except Exception as e:
        print("Error:", str(e))

while True:
    send_prompt()

Source:

Models with .web have internet access on.

Models Websites
gpt3 theb.ai
gpt3.web you.com
gpt4 useless.com
gpt4.web forefront.ai

TODO-List:

  • Add GPT-4.
  • Make the library well-documented.
  • Make the over-all library easier to use.
  • Make the over-all library easier to understand.
  • Replace you.com with theb.ai for less failed responses.
  • Add a internet search model for GPT-3 & GPT-4
  • Make a discord bot
  • Add text to image generation

Star History:

Star History Chart

Discord Server:

Join my server to support me :D

-> discord.gg/NcQ26PrNDp

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.0.0.2.tar.gz (16.4 kB view hashes)

Uploaded Source

Built Distribution

freeGPT-1.0.0.2-py3-none-any.whl (16.4 kB view hashes)

Uploaded Python 3

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