decentralising the Ai Industry, free gpt-4/3.5 scripts through several reverse engineered api's ( poe.com, phind.com, chat.openai.com, phind.com, writesonic.com, sqlchat.ai, t3nsor.com, you.com etc...)
Go to file
valerii@valeriis-air.(none) 0d9ff67704 fix(Dockerfile): Fixed issue with unable to fetch the response.
The issue was that there were no ffmpeg installed.
2023-05-05 01:36:17 +03:00
.github Update FUNDING.yml 2023-05-01 18:39:59 +01:00
.vscode Forefront fixed 2023-05-04 16:05:45 +01:00
gpt4free Merge branch 'xtekky:main' into main 2023-05-05 01:14:29 +03:00
gui added option to remove conversations 2023-05-01 15:44:58 -04:00
Singularity Update and rename gpt4free.def to gpt4free.sif 2023-04-27 17:51:42 +08:00
testing refactored code 2023-05-01 20:04:45 +05:30
unfinished updates 2023-05-04 17:29:09 +01:00
.dockerignore Dockerfile optimization 2023-05-02 23:24:48 +05:00
.gitignore Remove ignored files from repository 2023-04-27 22:23:38 -04:00
docker-compose.yaml Add proxy config 2023-05-01 22:50:17 +08:00
Dockerfile fix(Dockerfile): Fixed issue with unable to fetch the response. 2023-05-05 01:36:17 +03:00
LICENSE Create LICENSE 2023-04-17 00:00:18 +01:00
poetry.lock added pyproject.toml file 2023-04-28 03:26:39 +05:30
pyproject.toml updates 2023-05-04 17:29:09 +01:00
README.md gpt4free typescript version 2023-05-04 22:16:38 +08:00
requirements.txt add Levenshtein in requirements.txt for gui/streamlit_chat_app.py 2023-05-02 13:37:41 +08:00

Due to legal and personal issues, the development speed of this Repository may slow down over the next one to two weeks. I apologize for any inconvenience this may cause. I have been putting a lot of effort into this small personal/educational project, and it is now on the verge of being taken down.

You may join our discord: discord.gg/gpt4free for further updates. gpt4free Discord

gpt4free logo

This repository is not associated with or endorsed by providers of the APIs contained in this GitHub repository. This project is intended for educational purposes only. This is just a little personal project. Sites may contact me to improve their security or request the removal of their site from this repository.

Please note the following:

  1. Disclaimer: The APIs, services, and trademarks mentioned in this repository belong to their respective owners. This project is not claiming any right over them nor is it affiliated with or endorsed by any of the providers mentioned.

  2. Responsibility: The author of this repository is not responsible for any consequences, damages, or losses arising from the use or misuse of this repository or the content provided by the third-party APIs. Users are solely responsible for their actions and any repercussions that may follow. We strongly recommend the users to follow the TOS of the each Website.

  3. Educational Purposes Only: This repository and its content are provided strictly for educational purposes. By using the information and code provided, users acknowledge that they are using the APIs and models at their own risk and agree to comply with any applicable laws and regulations.

  4. Copyright: All content in this repository, including but not limited to code, images, and documentation, is the intellectual property of the repository author, unless otherwise stated. Unauthorized copying, distribution, or use of any content in this repository is strictly prohibited without the express written consent of the repository author.

  5. Indemnification: Users agree to indemnify, defend, and hold harmless the author of this repository from and against any and all claims, liabilities, damages, losses, or expenses, including legal fees and costs, arising out of or in any way connected with their use or misuse of this repository, its content, or related third-party APIs.

  6. Updates and Changes: The author reserves the right to modify, update, or remove any content, information, or features in this repository at any time without prior notice. Users are responsible for regularly reviewing the content and any changes made to this repository.

By using this repository or any code related to it, you agree to these terms. The author is not responsible for any copies, forks, or reuploads made by other users. This is the author's only account and repository. To prevent impersonation or irresponsible actions, you may comply with the GNU GPL license this Repository uses.


Just API's from some language model sites.

Related gpt4free projects

🎁 Projects Stars 📚 Forks 🛎 Issues 📬 Pull requests
gpt4free Stars Forks Issues Pull Requests
gpt4free-ts Stars Forks Issues Pull Requests
ChatGPT-Clone Stars Forks Issues Pull Requests
ChatGpt Discord Bot Stars Forks Issues Pull Requests

Table of Contents

Section Description Link Status
To do list List of tasks to be done Link to Section -
Current Sites Current websites or platforms that can be used as APIs Link to Section -
Best Sites for gpt4 Recommended websites or platforms for gpt4 Link to Section -
Streamlit GPT4Free GUI Web-based graphical user interface for interacting with gpt4free Link to Section -
Docker Instructions on how to run gpt4free in a Docker container Link to Section -
ChatGPT clone A ChatGPT clone with new features and scalability Link to Website -
How to install Instructions on how to install gpt4free Link to Section -
Usage Examples
theb Example usage for theb (gpt-3.5) Link to File Active
forefront Example usage for forefront (gpt-4) Link to File Active
quora (poe) Example usage for quora Link to File Active
you Example usage for you Link to File Active
Try it Out
Google Colab Jupyter Notebook Example usage for gpt4free Open in Colab -
replit Example (feel free to fork this repl) Example usage for gpt4free -
Legal Notice Legal notice or disclaimer Link to Section -
Copyright Copyright information Link to Section -
Star History Star History Link to Section -

To do list

  • Add a GUI for the repo
  • Make a general package named gpt4free, instead of different folders
  • Live api status to know which are down and which can be used
  • Integrate more API's in ./unfinished as well as other ones in the lists
  • Make an API to use as proxy for other projects
  • Make a pypi package

Current Sites

Website s Model(s)
forefront.ai GPT-4/3.5
poe.com GPT-4/3.5
writesonic.com GPT-3.5 / Internet
t3nsor.com GPT-3.5
you.com GPT-3.5 / Internet / good search
sqlchat.ai GPT-3.5
bard.google.com custom / search
bing.com/chat GPT-4/3.5
italygpt.it GPT-3.5

Best sites

gpt-4

gpt-3.5

Install

Download or clone this GitHub repo
install requirements with:

pip3 install -r requirements.txt

To start gpt4free GUI

Move streamlit_app.py from ./gui to the base folder then run:
streamlit run streamlit_app.py or python3 -m streamlit run streamlit_app.py

Docker

Build

docker build -t gpt4free:latest .

Run

docker run -p 8501:8501 gpt4free:latest

Deploy using docker-compose

Run the following:

docker-compose up --build -d

ChatGPT clone

Currently implementing new features and trying to scale it, please be patient it may be unstable
https://chat.g4f.ai/chat This site was developed by me and includes gpt-4/3.5, internet access and gpt-jailbreak's like DAN
Run locally here: https://github.com/xtekky/chatgpt-clone

This program is licensed under the GNU GPL v3

Most code, with the exception of quora/api.py (by ading2210), has been written by me, xtekky.

xtekky/gpt4free: multiple reverse engineered language-model api's to decentralise the ai industry.
Copyright (C) 2023 xtekky

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

Star History

Star History Chart