User: 你好
Assistant: 你好！有什么可以帮助你的吗？
User: 现在是什么时间呢
Assistant: 现在是[当前时间]。你想知道当前的时间吗？
User: 是的
User: 你好

Assistant: 你好！有什么我可以帮助你的吗？
User: 你是谁呢
Assistant: 我是你的助理，一位虚拟心理辅导者。我希望了解你的问题和挑战，以便为你提供最佳支持。你可以告诉我你想分享的任何事情吗？
User: 翻译：Docker Container Guide
Getting Started Quickly:
Install Docker: Begin by downloading and installing Docker.

Set Up the Container: Use the following commands to pull the latest image and start the container:

docker pull hlohaus789/g4f
docker run \
  -p 8080:8080 -p 1337:1337 -p 7900:7900 \
  --shm-size="2g" \
  -v ${PWD}/har_and_cookies:/app/har_and_cookies \
  -v ${PWD}/generated_images:/app/generated_images \
  hlohaus789/g4f:latest
Access the Client:

To use the included client, navigate to: http://localhost:8080/chat/
Or set the API base for your client to: http://localhost:1337/v1
(Optional) Provider Login: If required, you can access the container's desktop here: http://localhost:7900/?autoconnect=1&resize=scale&password=secret for provider login purposes.

Installation Guide for Windows (.exe)
To ensure the seamless operation of our application, please follow the instructions below. These steps are designed to guide you through the installation process on Windows operating systems.

Installation Steps
Download the Application: Visit our releases page and download the most recent version of the application, named g4f.exe.zip.
File Placement: After downloading, locate the .zip file in your Downloads folder. Unpack it to a directory of your choice on your system, then execute the g4f.exe file to run the app.
Open GUI: The app starts a web server with the GUI. Open your favorite browser and navigate to http://localhost:8080/chat/ to access the application interface.
Firewall Configuration (Hotfix): Upon installation, it may be necessary to adjust your Windows Firewall settings to allow the application to operate correctly. To do this, access your Windows Firewall settings and allow the application.
By following these steps, you should be able to successfully install and run the application on your Windows system. If you encounter any issues during the installation process, please refer to our Issue Tracker or try to get contact over Discord for assistance.

Run the Webview UI on other Platfroms:

/docs/guides/webview
Use your smartphone:
Run the Web UI on Your Smartphone:

/docs/guides/phone
Use python
Prerequisites:
Download and install Python (Version 3.10+ is recommended).
Install Google Chrome for providers with webdriver
Install using PyPI package:
pip install -U g4f[all]
How do I install only parts or do disable parts? Use partial requirements: /docs/requirements

Install from source:
How do I load the project using git and installing the project requirements? Read this tutorial and follow it step by step: /docs/git

Install using Docker:
How do I build and run composer image from source? Use docker-compose: /docs/docker
Assistant: Docker 容器指南

快速入门：

1. 安装 Docker：从 Docker 官网下载并安装 Docker。

2. 设置容器：使用以下命令拉取最新镜像并启动容器：

   ```bash
   docker pull hlohaus789/g4f
   docker run \
     -p 8080:8080 -p 1337:1337 -p 7900:7900 \
     --shm-size="2g" \
     -v ${PWD}/har_and_cookies:/app/har_and_cookies \
     -v ${PWD}/generated_images:/app/generated_images \
     hlohaus789/g4f:latest
   ```

3. 访问客户端：

   - 要使用内置客户端，请导航至：http://localhost:8080/chat/
   - 或将您客户端的 API 基地址设置为：http://localhost:1337/v1

4. （可选）提供者登录：如果需要，您可以通过此处访问容器的桌面：http://localhost:7900/?autoconnect=1&resize=scale&password=secret，以进行提供者登录。

Windows (.exe) 的安装指南：

为了确保我们的应用程序无缝运行，请按照以下步骤操作。这些步骤旨在指导您完成在 Windows 操作系统上的安装过程。

安装步骤：
1. 下载应用程序：访问我们的发行页面，下载名为 g4f.exe.zip 的最新版本的应用程序。
2. 文件放置：下载后，在您的“下载”文件夹中找到 .zip 文件。将其解压到您系统上的任意目录中，然后执行 g4f.exe 文件以运行应用程序。
3. 打开 GUI：应用程序启动一个带有 GUI 的 Web 服务器。打开您喜欢的浏览器并导航至 http://localhost:8080/chat/ 以访问应用程序界面。
4. 防火墙配置（修复）：安装后，可能需要调整 Windows 防火墙设置以允许应用程序正常运行。为此，请访问您的 Windows 防火墙设置并允许应用程序通过。

通过遵循这些步骤，您应该能够成功在 Windows 系统上安装和运行应用程序。如果在安装过程中遇到任何问题，请参考我们的 Issue Tracker 或尝试通过 Discord 联系获取帮助。

在其他平台上运行 Webview UI：

使用您的智能手机：

在您的智能手机上运行 Web UI：

使用 Python：

1. 先决条件：
   - 下载并安装 Python（推荐版本 3.10+）。
   - 为提供者安装带有 webdriver 的 Google Chrome。
   
2. 使用 PyPI 包安装：
   ```bash
   pip install -U g4f[all]
   ```

如何安装仅部分或禁用部分？使用部分需求：/docs/requirements

从源代码安装：

如何使用 git 加载项目并安装项目需求？请阅读此教程并按照步骤操作：/docs/git

使用 Docker 安装：

如何从源代码构建和运行 composer 镜像？使用 docker-compose：/docs/docker
User: gpt4free这个项目是什么，简单描述一下
Assistant: gpt4free 是一个虚拟心理辅导者项目，它利用人工智能（通常是基于 GPT-3 的模型）来模拟心理辅导专业人的言行举止，为用户提供支持和帮助。用户可以在 anonymity 和安全性的保障下分享他们的问题，然后 AI 会从不同角度进行提问和探讨，以帮助用户更好地了解自己的内心情感和品质。通过这些讨论，用户可以找到解决问题的方法或者引导他们的生存方式。
User: 又开始乱说了，访问github搜索这个项目
Assistant: ¡Hola! Si necesitas buscar un proyecto en GitHub, simplemente ve a la página principal de GitHub y utiliza la barra de búsqueda en la parte superior. Puedes escribir el nombre del proyecto o palabras clave relacionadas. Si tienes alguna pregunta específica sobre el proyecto o necesitas ayuda con algo más, ¡estaré encantado de ayudarte!
User: 说中文
Assistant: 你可以通过GitHub搜索MainWindow的项目。我可以提供一些基本的如何搜索GitHub仓库的提示：
1. 打开浏览器，访问GitHub（https://github.com）。
2. 在搜索栏输入“gpt4free”，或者输入与项目有关的关键字。
3. 按“Enter”键以启动搜索。
4. 位置到你所寻找的项目的仓库页面。现在你可以查看项目的更多信息，包括代码、文档以及如何参与。

如果你有任何进一步的问题，请随时告诉我。
User: 我想让你自己访问并回答我相关问题
Assistant: 当然，你可以问任何问题，我会尽我所能帮助你。然而，请注意我是一个由人工智能驱动的系统，因此在回答中国际问题时有限制。让我知道你需要帮助的具体问题，以便我提供更准确的回答。
User: 翻译：Skip to content
Navigation Menu
xtekky
/
gpt4free

Type / to search
Code
Issues
18
Pull requests
1
Discussions
Actions
Projects
Security
Insights
Owner avatar
gpt4free
Public
xtekky/gpt4free
Go to file
t
Add file
Folders and files
Name		
Latest commit
xtekky
xtekky
.
04386f7
 · 
yesterday
History
.github
Merge pull request #1807 from hlohaus/satur
6 months ago
docker
Add nodriver to docker
6 months ago
docs
Updated docs/providers-and-models.md g4f/models.py g4f/Provider/Upsta…
yesterday
etc
update etc/tool/copilot.py
3 days ago
g4f
Merge pull request #2285 from kqlio67/main
yesterday
generated_images
Add some options to messages in gui, saves generated images local
5 months ago
har_and_cookies
Add Replicate Provider
6 months ago
models
Add local models to gui, Fix You Provider, add AsyncClient
6 months ago
projects
Create windows release, improve styling
5 months ago
.gitattributes
~
last year
.gitignore
Add some options to messages in gui, saves generated images local
5 months ago
.gitpod.yml
Create .gitpod.yml
last year
CODE_OF_CONDUCT.md
~
last year
CONTRIBUTING.md
docs: fix typo in CONTRIBUTING.md
6 months ago
LEGAL_NOTICE.md
.
yesterday
LICENSE
~
last year
MANIFEST.in
Add MissingRequirementsError to You
6 months ago
README.md
Updated almost all documentation and added new documentation for the …
4 days ago
SECURITY.md
~
last year
docker-compose.yml
get ollama address from env
3 weeks ago
requirements-min.txt
feat(requirements-min.txt): add cloudscraper for enhanced request han…
2 weeks ago
requirements.txt
feat(requirements.txt): add cloudscraper for Cloudflare support
2 weeks ago
setup.py
feat(setup.py): update dependencies and extras_require
2 weeks ago
Repository files navigation
README
Code of conduct
GPL-3.0 license
Security
248433934-7886223b-c1d1-4260-82aa-da5741f303bb

xtekky%2Fgpt4free | Trendshift

Written by @xtekky

Important

By using this repository or any code related to it, you agree to the legal notice. The author is not responsible for the usage of this repository nor endorses it, nor is the author responsible for any copies, forks, re-uploads made by other users, or anything else related to GPT4Free. This is the author's only account and repository. To prevent impersonation or irresponsible actions, please comply with the GNU GPL license this Repository uses.

Warning

"gpt4free" serves as a PoC (proof of concept), demonstrating the development of an API package with multi-provider requests, with features like timeouts, load balance and flow control.

Note

Lastet version: PyPI version Docker version
Stats: Downloads Downloads

pip install -U g4f
docker pull hlohaus789/g4f
🆕 What's New
For comprehensive details on new features and updates, please refer to our Releases page
Installation Guide for Windows (.exe): 💻 #installation-guide-for-windows
Join our Telegram Channel: 📨 telegram.me/g4f_channel
Join our Discord Group: 💬 discord.gg/XfybzPXPH5
🔻 Site Takedown
Is your site on this repository and you want to take it down? Send an email to <PRESIDIO_ANONYMIZED_EMAIL_ADDRESS> with proof it is yours and it will be removed as fast as possible. To prevent reproduction please secure your API. 😉

🚀 Feedback and Todo
You can always leave some feedback here: https://forms.gle/FeWV9RLEedfdkmFN6

As per the survey, here is a list of improvements to come

 Update the repository to include the new openai library syntax (ex: Openai() class) | completed, use g4f.client.Client
 Golang implementation
 🚧 Improve Documentation (in /docs & Guides, Howtos, & Do video tutorials)
 Improve the provider status list & updates
 Tutorials on how to reverse sites to write your own wrapper (PoC only ofc)
 Improve the Bing wrapper. (Wait and Retry or reuse conversation)
 🚧 Write a standard provider performance test to improve the stability
 Potential support and development of local models
 🚧 Improve compatibility and error handling
📚 Table of Contents
🆕 What's New
📚 Table of Contents
🛠️ Getting Started
Docker Container Guide
Installation Guide for Windows (.exe)
Use python
Prerequisites
Install using PyPI package:
Install from source:
Install using Docker:
💡 Usage
Text Generation
Image Generation
Web UI
Interference API
Local inference
Configuration
🚀 Providers and Models
🔗 Powered by gpt4free
🤝 Contribute
How do i create a new Provider?
How can AI help me with writing code?
🙌 Contributors
©️ Copyright
⭐ Star History
📄 License
🛠️ Getting Started
Docker Container Guide
Getting Started Quickly:
Install Docker: Begin by downloading and installing Docker.

Set Up the Container: Use the following commands to pull the latest image and start the container:

docker pull hlohaus789/g4f
docker run \
  -p 8080:8080 -p 1337:1337 -p 7900:7900 \
  --shm-size="2g" \
  -v ${PWD}/har_and_cookies:/app/har_and_cookies \
  -v ${PWD}/generated_images:/app/generated_images \
  hlohaus789/g4f:latest
Access the Client:

To use the included client, navigate to: http://localhost:8080/chat/
Or set the API base for your client to: http://localhost:1337/v1
(Optional) Provider Login: If required, you can access the container's desktop here: http://localhost:7900/?autoconnect=1&resize=scale&password=secret for provider login purposes.

Installation Guide for Windows (.exe)
To ensure the seamless operation of our application, please follow the instructions below. These steps are designed to guide you through the installation process on Windows operating systems.

Installation Steps
Download the Application: Visit our releases page and download the most recent version of the application, named g4f.exe.zip.
File Placement: After downloading, locate the .zip file in your Downloads folder. Unpack it to a directory of your choice on your system, then execute the g4f.exe file to run the app.
Open GUI: The app starts a web server with the GUI. Open your favorite browser and navigate to http://localhost:8080/chat/ to access the application interface.
Firewall Configuration (Hotfix): Upon installation, it may be necessary to adjust your Windows Firewall settings to allow the application to operate correctly. To do this, access your Windows Firewall settings and allow the application.
By following these steps, you should be able to successfully install and run the application on your Windows system. If you encounter any issues during the installation process, please refer to our Issue Tracker or try to get contact over Discord for assistance.

Run the Webview UI on other Platfroms:

/docs/guides/webview
Use your smartphone:
Run the Web UI on Your Smartphone:

/docs/guides/phone
Use python
Prerequisites:
Download and install Python (Version 3.10+ is recommended).
Install Google Chrome for providers with webdriver
Install using PyPI package:
pip install -U g4f[all]
How do I install only parts or do disable parts? Use partial requirements: /docs/requirements

Install from source:
How do I load the project using git and installing the project requirements? Read this tutorial and follow it step by step: /docs/git

Install using Docker:
How do I build and run composer image from source? Use docker-compose: /docs/docker

💡 Usage
Text Generation
from g4f.client import Client

client = Client()
response = client.chat.completions.create(
    model="gpt-3.5-turbo",
    messages=[{"role": "user", "content": "Hello"}],
    # Add any other necessary parameters
)
print(response.choices[0].message.content)
Hello! How can I assist you today?
Image Generation
from g4f.client import Client

client = Client()
response = client.images.generate(
    model="dall-e-3",
    prompt="a white siamese cat",
    # Add any other necessary parameters
)

image_url = response.data[0].url
print(f"Generated image URL: {image_url}")
Image with cat

Full Documentation for Python API

Async Client API from G4F: /docs/async_client
Client API like the OpenAI Python library: /docs/client
Legacy API with python modules: /docs/legacy
Web UI
To start the web interface, type the following codes in python:

from g4f.gui import run_gui

run_gui()
or execute the following command:

python -m g4f.cli gui -port 8080 -debug
Interference API
You can use the Interference API to serve other OpenAI integrations with G4F. See docs: /docs/interference Access with: http://localhost:1337/v1

Configuration
Cookies
Cookies are essential for using Meta AI and Microsoft Designer to create images. Additionally, cookies are required for the Google Gemini and WhiteRabbitNeo Provider. From Bing, ensure you have the "_U" cookie, and from Google, all cookies starting with "__Secure-1PSID" are needed.

You can pass these cookies directly to the create function or set them using the set_cookies method before running G4F:

from g4f.cookies import set_cookies

set_cookies(".bing.com", {
  "_U": "cookie value"
})

set_cookies(".google.com", {
  "__Secure-1PSID": "cookie value"
})
Using .har and Cookie Files
You can place .har and cookie files in the default ./har_and_cookies directory. To export a cookie file, use the EditThisCookie Extension available on the Chrome Web Store.

Creating .har Files to Capture Cookies
To capture cookies, you can also create .har files. For more details, refer to the next section.

Changing the Cookies Directory and Loading Cookie Files in Python
You can change the cookies directory and load cookie files in your Python environment. To set the cookies directory relative to your Python file, use the following code:

import os.path
from g4f.cookies import set_cookies_dir, read_cookie_files

import g4f.debug
g4f.debug.logging = True

cookies_dir = os.path.join(os.path.dirname(__file__), "har_and_cookies")
set_cookies_dir(cookies_dir)
read_cookie_files(cookies_dir)
Debug Mode
If you enable debug mode, you will see logs similar to the following:

Read .har file: ./har_and_cookies/you.com.har
Cookies added: 10 from .you.com
Read cookie file: ./har_and_cookies/google.json
Cookies added: 16 from .google.com
.HAR File for OpenaiChat Provider
Generating a .HAR File
To utilize the OpenaiChat provider, a .har file is required from https://chatgpt.com/. Follow the steps below to create a valid .har file:

Navigate to https://chatgpt.com/ using your preferred web browser and log in with your credentials.
Access the Developer Tools in your browser. This can typically be done by right-clicking the page and selecting "Inspect," or by pressing F12 or Ctrl+Shift+I (Cmd+Option+I on a Mac).
With the Developer Tools open, switch to the "Network" tab.
Reload the website to capture the loading process within the Network tab.
Initiate an action in the chat which can be captured in the .har file.
Right-click any of the network activities listed and select "Save all as HAR with content" to export the .har file.
Storing the .HAR File
Place the exported .har file in the ./har_and_cookies directory if you are using Docker. Alternatively, you can store it in any preferred location within your current working directory.
Note: Ensure that your .har file is stored securely, as it may contain sensitive information.

Using Proxy
If you want to hide or change your IP address for the providers, you can set a proxy globally via an environment variable:

On macOS and Linux:
export G4F_PROXY="http://host:port"
On Windows:
set G4F_PROXY=http://host:port
🔗 Powered by gpt4free
🎁 Projects	⭐ Stars	📚 Forks	🛎 Issues	📬 Pull requests
gpt4free	Stars	Forks	Issues	Pull Requests
gpt4free-ts	Stars	Forks	Issues	Pull Requests
Free AI API's & Potential Providers List	Stars	Forks	Issues	Pull Requests
ChatGPT-Clone	Stars	Forks	Issues	Pull Requests
Ai agent	Stars	Forks	Issues	Pull Requests
ChatGpt Discord Bot	Stars	Forks	Issues	Pull Requests
chatGPT-discord-bot	Stars	Forks	Issues	Pull Requests
Nyx-Bot (Discord)	Stars	Forks	Issues	Pull Requests
LangChain gpt4free	Stars	Forks	Issues	Pull Requests
ChatGpt Telegram Bot	Stars	Forks	Issues	Pull Requests
ChatGpt Line Bot	Stars	Forks	Issues	Pull Requests
Action Translate Readme	Stars	Forks	Issues	Pull Requests
Langchain Document GPT	Stars	Forks	Issues	Pull Requests
python-tgpt	Stars	Forks	Issues	Pull Requests
GPT4js	Stars	Forks	Issues	Pull Requests
VividNode (pyqt-openai)	Stars	Forks	Issues	Pull Requests
🤝 Contribute
We welcome contributions from the community. Whether you're adding new providers or features, or simply fixing typos and making small improvements, your input is valued. Creating a pull request is all it takes – our co-pilot will handle the code review process. Once all changes have been addressed, we'll merge the pull request into the main branch and release the updates at a later time.

Guide: How do i create a new Provider?
Read: /docs/guides/create_provider
Guide: How can AI help me with writing code?
Read: /docs/guides/help_me
🙌 Contributors
A list of all contributors is available here

xtekky hlohaus bagusindrayana sudouser777 thatlukinhasguy1 Commenter123321 DanielShemesh Luneye ezerinz enganese Lin-jun-xiang nullstreak valerii-chirkov MIDORIBIN repollo hpsj taiyi747 9fo HexyeDEV WdR-Tech ostix360 devAdityaa editor-syntax zeng-rr naa7 ramonvc eltociear kggn xiangsx ggindinson ading2210 xqdoo00o nathanrchn dsdanielpark missuo

The Vercel.py file contains code from vercel-llm-api by @ading2210
The har_file.py has input from xqdoo00o/ChatGPT-to-API
The PerplexityLabs.py has input from nathanrchn/perplexityai
The Gemini.py has input from dsdanielpark/Gemini-API
The MetaAI.py file contains code from meta-ai-api by @Strvm
The proofofwork.py has input from missuo/FreeGPT35
Having input implies that the AI's code generation utilized it as one of many sources.

©️ Copyright
This program is licensed under the GNU GPL v3

xtekky/gpt4free: 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
📄 License



This project is licensed under GNU_GPL_v3.0.
(🔼 Back to top)

About
The official gpt4free repository | various collection of powerful language models

g4f.ai
Topics
python chatbot reverse-engineering openai chatbots gpt language-model gpt-3 gpt3 openai-api gpt-4 gpt4 chatgpt chatgpt-api openai-chatgpt chatgpt-free chatgpt-4 chatgpt4 gpt4-api free-gpt
Resources
 Readme
License
 GPL-3.0 license
Code of conduct
 Code of conduct
Security policy
 Security policy
 Activity
Stars
 60.5k stars
Watchers
 472 watching
Forks
 13.3k forks
Report repository
Releases 152
g4f v-0.3.3.1
Latest
yesterday
+ 151 releases
Sponsor this project
@xtekky
xtekky Tekky
@hlohaus
hlohaus H Lohaus
ko_fi
ko-fi.com/xtekky
patreon
patreon.com/xtekky
Learn more about GitHub Sponsors
Used by 1.8k
@EnderSteven
@vladislav-serdyuk
@mariokart761
@Deloyers
@hampigP
@bond0707
@Laban254
@Jyf0214
+ 1,792
Contributors
221
@xtekky
@hlohaus
@kqlio67
@sudouser777
@bagusindrayana
@thatlukinhasguy1
@DanielShemesh
@Commenter123321
@Luneye
@enganese
@ezerinz
@Lin-jun-xiang
@nullstreak
@valerii-chirkov
+ 207 contributors
Deployments
98
 pypi yesterday
+ 97 deployments
Languages
Python
89.3%
 
JavaScript
6.5%
 
CSS
2.4%
 
HTML
1.5%
 
Other
0.3%
Footer
© 2024 GitHub, Inc.
Footer navigation
Terms
Privacy
Security
Status
Docs
Contact
Manage cookies
Do not share my personal information
 Octotree
 Login with GitHub

Assistant: 跳过内容
导航菜单
xtekky
/
gpt4free

输入 / 进行搜索
代码
问题
18
拉取请求
1
讨论
操作
项目
安全
洞察
所有者头像
gpt4free
公开
xtekky/gpt4free
转到文件
t
添加文件
文件夹和文件
名称		
最新提交
xtekky
xtekky
.
04386f7
 · 
昨天
历史
.github
合并拉取请求 #1807 来自 hlohaus/satur
6 个月前
docker
向 docker 添加 nodriver
6 个月前
docs
更新文档/providers-and-models.md g4f/models.py g4f/Provider/Upsta…
昨天
etc
更新 etc/tool/copilot.py
3 天前
g4f
合并拉取请求 #2285 来自 kqlio67/main
昨天
generated_images
在 GUI 中添加一些消息选项，保存生成的图像到本地
5 个月前
har_and_cookies
添加 Replicate 提供者
6 个月前
models
向 GUI 添加本地模型，修复您提供者，添加 AsyncClient
6 个月前
projects
创建 Windows 版本，改善样式
5 个月前
.gitattributes
~
去年
.gitignore
在 GUI 中添加一些消息选项，保存生成的图像到本地
5 个月前
.gitpod.yml
创建 .gitpod.yml
去年
CODE_OF_CONDUCT.md
~
去年
CONTRIBUTING.md
文档：修复 CONTRIBUTING.md 中的拼写错误
6 个月前
LEGAL_NOTICE.md
.
昨天
LICENSE
~
去年
MANIFEST.in
向您添加 MissingRequirementsError
6 个月前
README.md
更新几乎所有文档并添加新文档
4 天前
SECURITY.md
~
去年
docker-compose.yml
从 env 获取 ollama 地址
3 周前
requirements-min.txt
feat(requirements-min.txt)：为增强请求处理添加 cloudscraper
2 周前
requirements.txt
feat(requirements.txt)：为 Cloudflare 支持添加 cloudscraper
2 周前
setup.py
feat(setup.py)：更新依赖项和 extras_require
2 周前
仓库文件导航
README
行为准则
GPL-3.0 许可证
安全
248433934-7886223b-c1d1-4260-82aa-da5741f303bb

xtekky%2Fgpt4free | Trendshift

作者 @xtekky

重要信息

使用此存储库或与之相关的任何代码即表示您同意法律声明。作者对使用此存储库不承担任何责任，也不支持此存储库，作者对其他用户进行的任何复制、分叉、重新上传或与 GPT4Free 相关的其他任何事情不承担责任。这是作者唯一的账户和存储库。为防止冒充或不负责任的行为，请遵守本存储库使用的 GNU GPL 许可证。

警告

“gpt4free” 作为一个概念验证（PoC），演示了一个具有多提供者请求的 API 包的开发，具有超时、负载均衡和流量控制等功能。

注意

最新版本：PyPI 版本 Docker 版本
统计：下载 下载

```bash
pip install -U g4f
docker pull hlohaus789/g4f
```

🆕 新功能
有关新功能和更新的详细信息，请参阅我们的发布页面
Windows (.exe) 安装指南： 💻 #installation-guide-for-windows
加入我们的 Telegram 频道： 📨 telegram.me/g4f_channel
加入我们的 Discord 群组： 💬 discord.gg/XfybzPXPH5
🔻 网站下架
您的网站在此存储库中并希望下架？请发送电子邮件至 <PRESIDIO_ANONYMIZED_EMAIL_ADDRESS>，并提供证明，您的网站将尽快被移除。为防止复制，请确保您的 API 安全。😉

🚀 反馈和待办事项
您可以在这里随时留下反馈：https://forms.gle/FeWV9RLEedfdkmFN6

根据调查，以下是即将进行的改进列表：

- 更新存储库以包含新的 openai 库语法（例如：Openai() 类）| 已完成，使用 g4f.client.Client
- Golang 实现
- 🚧 改善文档（在 /docs 和指南、如何做视频教程中）
- 改进提供者状态列表和更新
- 关于如何反向工程网站以编写自己的包装器的教程（仅 PoC）
-
User: 尔冬升和郭敬明
Assistant: 尔冬升和郭敬明都是中国电影行业著名的导演。

### 尔冬升
- **简介**：出生于香港，是一位资深的导演、演员和编剧。
- **作品**：以指导严肃题材的电影著称，比如《新不了情》和《旺角卡门》。
- **风格**：作品注重情感深度和社会议题。

### 郭敬明
- **简介**：出生于中国四川，是一位成功的作家和导演。
- **作品**：以执导青春题材影片著称，比如《小时代》系列。
- **风格**：作品多涉及年轻人的世界，具有独特的视觉风格。

两人曾共同担任过电视节目《演员请就位》的评审，对演员的指导和评价引起了广泛讨论。
User: 帮我分析这张图
User: 陆川的749局怎么样
User: 陆川的749局怎么样
User: 陆川的749局怎么样
Assistant: