[Error] Failed to load resource: the server responded with a status of 404 () (roles, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (bootstrap.min.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (6de00f2697a1683b235e589897df757a94e6809643432a9e3ad259420752442d.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (bootstrap.bundle.min.js.map, line 0)
更新后,后台已经登录,其他选项正常,,AI角色设置那边,会提示“请登录”, 然后编辑、新建的角色下面的分类没有数据
plugin/ai/app/controller/SettingController.php 加一个 'categories'
mark
为什么我升级了没有vip标识?
文档有介绍,要配置支付配置才有
登陆用户可以同步角色信息了吗,还有就是这个版本还能离线安装吗?不用数据库
并不能,自己二开了
估计下版本
可以不用数据,不用数据库的话只能对话,登录、支付、应用市场等依赖数据库的功能不可用
👌
你们买了都做什么用途?我也想买,但是不知道能干嘛
我也想知道,能不能放到小程序中
程序员的话可以让他帮你写代码,webman/ai的很多js代码都是用webman/ai生成的,碰到比如laravel db不会用的地方都可以问它,省去我很多时间。
也可以搭建起来卖会员盈利,官网AI没有做任何宣传,会员大概每天有100-200左右收益。
不能上架小程序,容易被下架。
老大,你是在说我么?我的程序基本靠AI帮忙写
后面有没有打算收集用户的聊天记录?我看swoole是收集了的,而且设置了私有、公开话题的。
后面看情况
老大,官方ai站点的应用市场数据方便给个下载地址嘛?
https://www.workerman.net/ai_roles.sql
收到,已导入,很喜欢。期待后续更新,新的角色也一并更新进来QAQ
logo的图片也打包麻烦发一下呢~~~~
logo散落在目录里,不好分离,自己下载下吧
因为做了二开,不方便后台点升级,请问升级的菜单sql在哪
购买页面下载一份源码,就在源码目录里
原谅我有点眼瞎,下载来了的,找半天没找到,才来问的。只看到install.sql文件,没有其他sql了
菜单没有sql文件,在menu.php里配置的
看到了,Install.php读取的更新menu.php文件写入到数据库的。有必要去写个webman的插件,学习下了
后台ApiKey设置 添加新的key 要手动刷新 才能显示出来, 还有就是key 设置报key失效了,我之前这个key就没有用过呀
key有过期时间,超过了就不能用了。过期时间一般1-3个月
过期了可以去淘宝搜apikey,5刀的大概1-5元一个
不想自己部署了,希望官方demo這裡除了包月會員還能提供終身(限每日次數)的會員
终身不好做,终身多久不好定义
也是,終身好像是個偽需求,但可以考慮包年
已有包年
所谓终身就是只要官方ai在,就能用,不在了就不能用了。
大佬请教个问题,我换了个几个代理接口,没有用openAI的,当我请求这些接口的时候,返回Enable JavaScript and cookies to continue,用postman去请求是正常的。请问在我们这个应用里请求如何开启JavaScript和cookies?
发下接口
我本地测试没问题
谢谢大佬,我再试试
大佬,我试了下,还是不行
配置应该没什么问题 接口也设置了,Key也设置了
接口返回一个html
内容就是
我直接用api发起请求,是能跑通的
我本地测试没问题,要不你问下提供接口的人,我这没有返回过 Enable JavaScript and cookies to continue 类似的东西,我不清楚他们什么意思
好的,谢谢大佬
提个问:我用自己搭建的代理地址对话没有回显数据
做了一下比较如下
代理地址:https://proxy.jey.cn 返回的数据
array (
'max_tokens' => 2000,
'temperature' => 0.5,
'stream' => true,
'messages' =>
array (
0 =>
array (
'role' => 'assistant',
'content' => '你好,我是AI助手,请问您需要什么帮助?',
),
1 =>
array (
'role' => 'user',
'content' => '一加一',
),
),
'model' => 'gpt-3.5-turbo',
)
1b2
data: {"id":"chatcmpl-7uhYe50d5kRWtyRrXlSa2Z8a8sgNV","object":"chat.completion.chunk","created":1693748160,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null}]}
data: {"id":"chatcmpl-7uhYe50d5kRWtyRrXlSa2Z8a8sgNV","object":"chat.completion.chunk","created":1693748160,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"一"},"finish_reason":null}]}
d1
data: {"id":"chatcmpl-7uhYe50d5kRWtyRrXlSa2Z8a8sgNV","object":"chat.completion.chunk","created":1693748160,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"加"},"finish_reason":null}]}
d1
data: {"id":"chatcmpl-7uhYe50d5kRWtyRrXlSa2Z8a8sgNV","object":"chat.completion.chunk","created":1693748160,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"一"},"finish_reason":null}]}
d1
data: {"id":"chatcmpl-7uhYe50d5kRWtyRrXlSa2Z8a8sgNV","object":"chat.completion.chunk","created":1693748160,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"等"},"finish_reason":null}]}
d1
data: {"id":"chatcmpl-7uhYe50d5kRWtyRrXlSa2Z8a8sgNV","object":"chat.completion.chunk","created":1693748160,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"于"},"finish_reason":null}]}
d1
data: {"id":"chatcmpl-7uhYe50d5kRWtyRrXlSa2Z8a8sgNV","object":"chat.completion.chunk","created":1693748160,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"二"},"finish_reason":null}]}
d1
data: {"id":"chatcmpl-7uhYe50d5kRWtyRrXlSa2Z8a8sgNV","object":"chat.completion.chunk","created":1693748160,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"。"},"finish_reason":null}]}
d2
data: {"id":"chatcmpl-7uhYe50d5kRWtyRrXlSa2Z8a8sgNV","object":"chat.completion.chunk","created":1693748160,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{},"finish_reason":"stop"}]}
data: [DONE]
0
我自己搭建的代理地址返回的数据:
array (
'max_tokens' => 2000,
'temperature' => 0.5,
'stream' => true,
'messages' =>
array (
0 =>
array (
'role' => 'assistant',
'content' => '你好,我是AI助手,请问您需要什么帮助?',
),
1 =>
array (
'role' => 'user',
'content' => '一加一',
),
),
'model' => 'gpt-3.5-turbo',
)
data: {"id":"chatcmpl-7uhZPSBkdBmyAGAMnWS6IXKUs0ICS","object":"chat.completion.chunk","created":1693748207,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null}]}
data: {"id":"chatcmpl-7uhZPSBkdBmyAGAMnWS6IXKUs0ICS","object":"chat.completion.chunk","created":1693748207,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"一"},"finish_reason":null}]}
data: {"id":"chatcmpl-7uhZPSBkdBmyAGAMnWS6IXKUs0ICS","object":"chat.completion.chunk","created":1693748207,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"加"},"finish_reason":null}]}
data: {"id":"chatcmpl-7uhZPSBkdBmyAGAMnWS6IXKUs0ICS","object":"chat.completion.chunk","created":1693748207,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"一"},"finish_reason":null}]}
data: {"id":"chatcmpl-7uhZPSBkdBmyAGAMnWS6IXKUs0ICS","object":"chat.completion.chunk","created":1693748207,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"等"},"finish_reason":null}]}
data: {"id":"chatcmpl-7uhZPSBkdBmyAGAMnWS6IXKUs0ICS","object":"chat.completion.chunk","created":1693748207,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"于"},"finish_reason":null}]}
data: {"id":"chatcmpl-7uhZPSBkdBmyAGAMnWS6IXKUs0ICS","object":"chat.completion.chunk","created":1693748207,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"二"},"finish_reason":null}]}
data: {"id":"chatcmpl-7uhZPSBkdBmyAGAMnWS6IXKUs0ICS","object":"chat.completion.chunk","created":1693748207,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{"content":"。"},"finish_reason":null}]}
data: {"id":"chatcmpl-7uhZPSBkdBmyAGAMnWS6IXKUs0ICS","object":"chat.completion.chunk","created":1693748207,"model":"gpt-3.5-turbo-0613","choices":[{"index":0,"delta":{},"finish_reason":"stop"}]}
data: [DONE]
想问一下是因为数据中没有d*导致的吗,还是其他原因呢?
还有一个地方不一样:我自己的返回没有Content-Length,我把$bodyLength改为1,下面的判断注释了,也只输出到前端了一次,就没有后续返回了,但是后端是记录下来了的
HTTP/1.1 200 OK
Server: nginx
Date: Sun, 03 Sep 2023 13:40:38 GMT
Content-Type: text/event-stream
Connection: close
access-control-allow-origin: *
Cache-Control: no-cache, must-revalidate
openai-organization: user-vkiztc4bcsdmjem6e4kznbdk
openai-processing-ms: 8
openai-version: 2020-10-01
strict-transport-security: max-age=15724800; includeSubDomains
x-ratelimit-limit-requests: 200
x-ratelimit-limit-tokens: 40000
x-ratelimit-remaining-requests: 192
x-ratelimit-remaining-tokens: 37981
x-ratelimit-reset-requests: 53m28.919s
x-ratelimit-reset-tokens: 3.028s
x-request-id: 4a2df5e907041544ecc850cd3de1e75e
CF-Cache-Status: DYNAMIC
CF-RAY: 800e67dd6bb9cf65-SJC
alt-svc: h3=":443"; ma=86400
Strict-Transport-Security: max-age=31536000
https://www.workerman.net/a/1567 这里发了一个webman作为代理的例子
大佬提供一下需求哈,有时间的话还望能实现:
你这是推广的可以啊
好的
下个大版本先把midjourney接入进来。后面会优化你说的这些
老大没想到风口原来在ai爱❤️
展示代码背景太黑了,主要代码还是深色的,怎么改可以使用light风格?我看官网的好像改了。
还有,应用商店不支持分页吗?现在弄了60多个角色了,好像没分页。
下个版本统一light风格。应用商店不支持分页,60个不多,每行4个才15行
大佬,下版本发布时间预计在什么时候
提个建议:
1.apikey数据表加一个GPT-4的标识,标识该key专门回答GPT-4的请求,其他的都只能访问GPT-4以下的,GPT-4的key太贵了
2.界面加入暗黑模式
3.GPT-4限制只能会员使用
好的
老大,刚才在客户端给角色上传图片,很长时间没动静了,然后就刷新了页面,结果所有角色都没有了。咋办呢
上传不会删除数据库角色,你自己定位下吧
[Error] Failed to load resource: the server responded with a status of 404 () (roles, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (bootstrap.min.css.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (6de00f2697a1683b235e589897df757a94e6809643432a9e3ad259420752442d.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (bootstrap.bundle.min.js.map, line 0)
xxx.map 404不用管,用来做调试用的,只有调试模式才会加载,也不会有人去调试bootstrap js 。