Comments (9)
你加了渠道,启用它,然后在apikey那个页面生成一个key,就可以通过标准的 OpenAI ChatCompletions 接口调用了,详细请看文档
from free-one-api.
在qianwen后台并未看到对话记录啊
"model": "gpt-3.5-turbo", 返回的信息是这样的`
data: {"id": "chatcmpl-001QianW7xbKFlwgztQfAD9sU35B5", "object": "chat.completion.chunk", "created": 1709024879, "model": "gpt-3.5-turbo", "choices": [{"index": 0, "delta": {"content": "8"}, "finish_reason": null}]}
data: {"id": "chatcmpl-001QianW7xbKFlwgztQfAD9sU35B5", "object": "chat.completion.chunk", "created": 1709024879, "model": "gpt-3.5-turbo", "choices": [{"index": 0, "delta": {}, "finish_reason": "stop"}]}
` 这个信息是gpt返回的吗?还是qianwen ?
from free-one-api.
千问啊,你这个差不多就没问题了的。你这个数据就是 free-one-api 把 千问的逆向工程返回的数据转换成的 OpenAI 标准数据。你可以看到 id 的 横杠 后面 有一个 QianW 前缀,代表这个的上游是 千问 渠道
from free-one-api.
对话记录不会在 qianwen的https://tongyi.aliyun.com/qianwen/ web后台看到吗?
from free-one-api.
会自动删除
from free-one-api.
哪里可以设置不删除吗?
from free-one-api.
目前暂时不支持,可以考虑添加一下
from free-one-api.
既然是revTongYi 应该要返回对话id 方便支持连续对话
from free-one-api.
OpenAI 协议中不会传递千问的msgid给调用者,故 free-one-api 没法识别每个请求对应的 千问对话id。目前free-one-api 内部是简单地通过拼接多条历史消息为一条消息,发送给上游以获取回复。
from free-one-api.
Related Issues (20)
- 请教下,这个acheong08/ChatGPT官方网页的逆向是不是不可用了? HOT 3
- 错误:Post "http://127.0.0.1:8001/v1/chat/completions": dial tcp 127.0.0.1:8001: connect: connection refused HOT 1
- 安装成功 打开登录显示需要令牌.... HOT 1
- 可以构建arm平台的docker吗? HOT 1
- 无法保存千问的设置Failed: 'XSRF-TOKEN' HOT 1
- 3000端口运行失败,打不开管理界面 HOT 1
- The suffix/v1/chat/completion is incorrect, displaying 404 HOT 9
- This may be a bug, as when I try to connect to the context using an API, there will be repeated responses from the previous time HOT 1
- 貌似不能解决重复问题 HOT 3
- KoushikNavuluri/Claude-API 作为 Adapter,总是测试失败 HOT 1
- 心跳检测机制、自动禁用不可用的渠道,但是不自动恢复 HOT 1
- 无法更改端口 HOT 1
- 海外服务器不需要反向代理API,如何填 HOT 2
- acheong08/ChatGPT GG HOT 3
- 千问网页版支持绘图,好像配置了cookie之后接口不支持绘图 HOT 1
- GPT Pilot doesn't work with gpt4free HOT 6
- Collect reverse engineering libs / 在这里收集、同步新的逆向工程库的信息 HOT 1
- 点了star哈!Free one API,请教一下,如果用gpt 4 free,怎么样选择只用you.com的那个模型呢
- g4f也要gg了吗 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from free-one-api.