Skip to main content

freeGPT provides access to GPT and other models for free.

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!
Join my Discord Server for live chat and support or if you have any issues with this package.

Source:

GPT-3 has internet access.

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

TODO-List:

  • 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 image generation model.

Support this repository:

DiscordWidget

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:
    prompt = input("👦 > ")
    try:
        resp = gpt4.Completion.create(prompt=prompt)
        print(f"🤖 > {str(resp)}")
    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.2.0.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

freeGPT-1.2.0-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: freeGPT-1.2.0.tar.gz
  • Upload date:
  • Size: 19.2 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.0.tar.gz
Algorithm Hash digest
SHA256 b6fdac4330807498bdf91459edc0e76c446d3b38569cdf98e114a110301cf632
MD5 18bceda0a6c894decae7568c41c68c0e
BLAKE2b-256 858869e923f84517d77eadbf6d217908edbb6b8445127dcc490c36efa66f7b41

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: freeGPT-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 19.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 442e8a4b997aba756f976f71acd1e63b15510ffa5ffc1a1ce2cb0869efeede73
MD5 60b65ef64632f1ae11e481868741cf17
BLAKE2b-256 ab257ac5d87c1f04c1bd264a1347496fe0e8a419385644e19c244e181d348810

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