freeGPT is a Python package that gives free access to GPT3 and GPT4 models.
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!
GPT-3 has internet access.
Models | Websites |
---|---|
gpt3 | you.com |
gpt4 | ava-ai-ef611.web.app |
alpaca_7b | chatllama.baseten.co |
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)}")
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)}")
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)}")