Metadata-Version: 2.1
Name: freeGPT
Version: 1.0.1
Summary: A Python package that provides free access to GPT3, GPT4, and more models.
Home-page: https://github.com/Ruu3f/freeGPT
Author: Ruu3f
License: GPLv3
Project-URL: Source, https://github.com/Ruu3f/freeGPT
Project-URL: Issues, https://github.com/Ruu3f/freeGPT/issues
Project-URL: Discussions, https://github.com/Ruu3f/freeGPT/discussions
Keywords: artificial-intelligence,machine-learning,ai-models,freegpt,chatgpt,openai,gpt3gpt4gpt,ai
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

[![PyPI version](https://badge.fury.io/py/freeGPT.svg)](https://badge.fury.io/py/freeGPT)
[![Downloads](https://static.pepy.tech/personalized-badge/freeGPT?period=month&units=international_system&left_color=grey&right_color=brightgreen&left_text=Downloads)](https://pepy.tech/project/freeGPT)
# freeGPT
A Python package that gives access to GPT3 &amp; GPT4 models for free.
<br>
*Get started by doing: `pip install freeGPT`*

## Examples

#### GPT-3

```python
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

```python
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](https://theb.ai)               |
| GPT-4         | [forefront.ai](https://chat.forefront.ai)|

### TODO-List:
- [x] Add GPT-4.
- [x] Make the library well-documented.
- [x] Make the over-all library easier to use.
- [x] Make the over-all library easier to understand.
- [x] 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
[![Star History Chart](https://api.star-history.com/svg?repos=Ruu3f/freeGPT&type=Date)](https://github.com/Ruu3f/freeGPT/stargazers)

#### Original by [xtekky](https://github.com/xtekky), package & improved code by Ruu3f.

