Skip to main content

freeGPT is a Python package that gives free access to GPT and more models.

Project description

PyPI version Downloads License

freeGPT

freeGPT is a Python package that gives free access to GPT3 and GPT4 and more models.
Get started by installing the package:

py -m pip install --upgrade freeGPT

Or add our Discord bot, its Open Sourced!

Source:

Both GPT models have internet access.

Models Websites
gpt3 you.com
gpt4 forefront.ai
alpaca_7b chatllama.baseten.co

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.
  • Make GPT-3 & GPT-4 models with web access.
  • Add a non-GPT model.
  • Make a discord bot.
  • Add a text to image generation model.

Support me:

Discord bot:

  • Add the official freeGPT discord bot here
  • This bot has ALL the models in this repository available.
  • Its interactive, fast and overall easy to use.
  • And lastly its Open Sourced!

Examples:

GPT-3:

from freeGPT import gpt3

while True:
    prompt = input("👦 > ")
    try:
        # Remove the 'proxy' variable and the 'proxies' parameter if you don't want to use a proxy.
        proxy = "Your proxies IP"
        resp = gpt3.Completion.create(prompt=prompt, chat=[], proxies={"https": "http://" + proxy})
        print(f"🤖 > {str(resp['text'])}")
    except Exception as e:
        print(f"🤖 > {str(e)}")

GPT-4:

from freeGPT import gpt4

while True:
    token = gpt4.Account.create(logging=True)
    prompt = input("👦 > ")
    try:
        resp = gpt4.Completion.create(prompt=prompt, token=token)
        print(f"🤖 > {str(resp.text)}")
    except Exception as e:
        print(f"🤖 > {str(e)}")

Alpaca-7b:

from freeGPT import alpaca_7b

while True:
    prompt = input("👦 > ")
    try:
        resp = alpaca_7b.Completion.create(prompt=prompt)
        print(f"🤖 > {str(resp)}")
    except Exception as e:
        print(f"🤖 > {str(e)}")

Star History:

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.1.8.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

freeGPT-1.1.8-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for freeGPT-1.1.8.tar.gz
Algorithm Hash digest
SHA256 52e227e58534daf2fd50ff924b6311a8b69421c89e69d9a94ead67f0ec366596
MD5 073ba0ec0c43d15a6efa6251e1868818
BLAKE2b-256 97e50a694648fa02463ece88ca7cc9f8fbb9254d1739482f7220419c18d225b8

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for freeGPT-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2d65d6159c7aace36665a62ed998bd35b837c45507c40b96315828b6e6f69469
MD5 263c20e88394083368e5cabd5128cf7e
BLAKE2b-256 ca7206de330168431b31666ced9237cabb25e116a6354a85d3cd8d31dedbe872

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