-
Notifications
You must be signed in to change notification settings - Fork 7.6k
ChatGPT_CN
Michael.X edited this page Mar 8, 2023
·
6 revisions
ChatGPT 是OpenAI推出的人工智能聊天服务。
为了满足大家体验最新的人工智能,XX-Net实现了一站式解决方案:
- 不需要获得国外的手机号码
- 不需要另外找翻墙工具
- 不需要国外的信用卡来绑定账户
- 只需要一个XX-Net帐号,即可使用ChatGPT
打开 客户端ChatGPT页面, 输入提问,即可获得ChatGPT的回答。
如何更好的提问,请参考推荐用法
XX-Net 本地客户端提供访问ChatGPT API功能,使用方法非常简单,只需要把openai的网址换成本地8085端口:
shell 方式:
curl -v http://localhost:8085/openai/v1/completions \
-H 'Content-Type: application/json' \
-d '{
"model": "text-davinci-003",
"prompt": "Say this is a test",
"max_tokens": 7,
"temperature": 0
}'
Python方式:
import openai
openai.api_key = "abc"
openai.api_base = "http://localhost:8085/openai/v1"
response = openai.Completion.create(model="text-davinci-003",
prompt="Say this is a test",
temperature=0,
max_tokens=7
)
for solution in response.choices:
print(solution.text)
- 每个付费用户赠送一百万token
- 购买更多token 的付费功能正在开发中
- 目前客户端界面上的ChatGPT功能比较简单,每一个提问都是独立的,因此建议每次提问带上所有背景信息。 界面上的功能会持续改进,欢迎大家在Issue区留言提需求。
- openai API代理目前只支持Chat Completion,更多功能大家可以提需求,根据大家需要排优先级逐个支持。