Metadata-Version: 2.1
Name: freeGPT
Version: 1.2.2
Summary: freeGPT 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: Discord, https://discord.gg/XH6pUGkwRr
Keywords: artificial-intelligence,machine-learning,deep-learning,gpt4free,chatbot,freegpt,chatgpt,python,openai,llama,free,gpt4,gpt3,gpt,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
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

[![PyPI](https://img.shields.io/pypi/v/freeGPT)](https://pypi.org/project/freeGPT)
[![Downloads](https://static.pepy.tech/badge/freeGPT)](https://pypi.org/project/freeGPT)
[![Status](https://img.shields.io/pypi/status/freeGPT)](https://pypi.org/project/freeGPT)

# freeGPT

freeGPT provides free access to GPT3, GPT4 and more models.

## Get started:

```
py -m pip install --upgrade freeGPT
```

**Or add the [freeGPT Discord bot](https://dsc.gg/freegpt), it's [open-sourced](https://github.com/Ruu3f/freeGPT/tree/main/discord-bot)!**

Join my [Discord server](https://discord.gg/XH6pUGkwRr) for live chat, support, or if you have any issues with this package.

## Source:

| Models   | Websites                                                |
| -------- | ------------------------------------------------------- |
| gpt3     | [<ava-ai-ef611.web.app>](https://ava-ai-ef611.web.app/) |
| gpt4     | [<you.com>](https://you.com/)                           |
| alpaca_7b| [<chatllama.baseten.co>](https://chatllama.baseten.co/) |

## Support this repository:

- Star this repository :D
- Add the [freeGPT Discord bot](https://dsc.gg/freeGPT).
- Join my [Discord Server](https://discord.gg/XH6pUGkwRr):

[![DiscordWidget](https://discordapp.com/api/guilds/1120833966035976273/widget.png?style=banner2)](https://discord.gg/XH6pUGkwRr)

## TODO List:

- [x] Make the library well-documented.
- [x] Make the overall library easier to use.
- [x] Make the overall library easier to understand.
- [x] Add a non-GPT model.
- [x] Make a discord bot.
- [ ] Add an image generation model.

## Discord bot:

- Add the [freeGPT Discord bot](https://dsc.gg/freegpt).
- This bot has all the models in this repository available.
- It's interactive, overall fast, and easy to use.
- And lastly, it's [open-sourced](https://github.com/Ruu3f/freeGPT/tree/main/discord-bot).

## Example:

```python
import freeGPT
import asyncio


async def main():
    while True:
        prompt = input("👦: ")
        try:
            resp = await getattr(freeGPT, "MODEL NAME").Completion.create(prompt)
            print(f"🤖: {resp}")
        except Exception as e:
            print(f"🤖: {e}")


asyncio.run(main())
```

## Star History Chart:

[![Star History Chart](https://api.star-history.com/svg?repos=Ruu3f/freeGPT&type=Date)](https://github.com/Ruu3f/freeGPT/stargazers)
