A Python package that provides free access to GPT3, GPT4, and more models.
Project description
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 | Websites |
---|---|
GPT-3 | theb.ai |
GPT-4 | 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 an internet search model
- Add text to image generation
- Make a discord bot
Star History
Original by xtekky, package & improved code by Ruu3f.
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(18.0 kB
view details)
Built Distribution
freeGPT-1.0.0.1-py3-none-any.whl
(18.8 kB
view details)
File details
Details for the file freeGPT-1.0.0.1.tar.gz
.
File metadata
- Download URL: freeGPT-1.0.0.1.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b76463c6472db285768ee55d435f88a9138aa784c3bb38bfb1936d318aa81a4f |
|
MD5 | d0b03cc5f6030da3f4575ba62584aa04 |
|
BLAKE2b-256 | 89bc5bbf078dcc1dd06960e9283cd12bb417c0e031a05321f9a3f45d7e4eddcb |
Provenance
File details
Details for the file freeGPT-1.0.0.1-py3-none-any.whl
.
File metadata
- Download URL: freeGPT-1.0.0.1-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfd05dd80a289299155fe256c8fec587e7f40c4833e8cbfde7c2ba2d318d5c50 |
|
MD5 | 1fbf2082db7c16f4f6c5770ef91711e3 |
|
BLAKE2b-256 | 6c1f18dae5f1716ef281e60ff37a087b5ba228441b3e8455b39a616b686b5d97 |