Skip to content

使用Python-flask调用OpenAI-ChatGPT官方API封装为http服务

Notifications You must be signed in to change notification settings

Chenny0808/ChatGPT-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

使用Python-flask,调用OpenAI-ChatGPT官方API,将ChatGPT封装为http服务

1. 环境安装:Python==3.8;依赖库,requirements.txt

2. 配置 api-key:在 config.json 中配置

3. 启动 chatgpt服务:运行 server.py

image

About

使用Python-flask调用OpenAI-ChatGPT官方API封装为http服务

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages