返回提交历史
Modified
README.md
+4
-4
Modified
setup.py
+1
-1
XFEstudio/gpt4free
Fix typo inference
350a0769
代码差异
2 个文件
+5
-5
@@ -72,7 +72,7 @@ Curious to see what G4F can do? Dive into a live demonstration and visit the [of
72
72
- [🎨 Image Generation](#-image-generation)
73
73
- [🌐 Web Interface](#-web-interface)
74
74
- [🖥️ Local Inference](https://github.com/gpt4free/g4f.dev/blob/main/docs/local.md)
75
- [🤖 Interference API](#-interference-api)
75
- [🤖 Inference API](#-inference-api)
76
76
- [🛠️ Configuration](https://github.com/gpt4free/g4f.dev/blob/main/docs/configuration.md)
77
77
- [📱 Run on Smartphone](#-run-on-smartphone)
78
78
- [📘 Full Documentation for Python API](#-full-documentation-for-python-api)
@@ -219,11 +219,11 @@ python -m g4f --port 8080 --debug
219
219
220
220
---
221
221
222
### 🤖 Interference API
222
### 🤖 Inference API
223
223
224
The **Interference API** enables seamless integration with OpenAI's services through G4F, allowing you to deploy efficient AI solutions.
224
The **Inference API** enables seamless integration with OpenAI's services through G4F, allowing you to deploy efficient AI solutions.
225
225
226
- **Documentation**: [Interference API Docs](https://github.com/gpt4free/g4f.dev/blob/main/docs/interference-api.md)
226
- **Documentation**: [Inference API Docs](https://github.com/gpt4free/g4f.dev/blob/main/docs/inference-api.md)
227
227
- **Endpoint**: `http://localhost:1337/v1`
228
228
- **Swagger UI**: Explore the OpenAPI documentation via Swagger UI at `http://localhost:1337/docs`
229
229
- **Provider Selection**: [How to Specify a Provider?](https://github.com/gpt4free/g4f.dev/blob/main/docs/selecting_a_provider.md)
@@ -104,7 +104,7 @@ setup(
104
104
long_description=long_description,
105
105
packages=find_packages(),
106
106
package_data={
107
'g4f': ['g4f/interference/*', 'g4f/gui/client/*', 'g4f/gui/server/*', 'g4f/Provider/npm/*', 'g4f/local/models/*']
107
'g4f': ['g4f/inference/*', 'g4f/gui/client/*', 'g4f/gui/server/*', 'g4f/Provider/npm/*', 'g4f/local/models/*']
108
108
},
109
109
include_package_data=True,
110
110
install_requires=INSTALL_REQUIRE,