jianjianai / newbinggogo-web Goto Github PK
View Code? Open in Web Editor NEW一个基于微软OpenAI ChatGPT GPT4的New Bing接口的Web服务。 提供了好看的对话页面。 实现了微软New Bing的大多数功能,还添加了一些自己的特色功能。 开源免费。
License: GNU Affero General Public License v3.0
一个基于微软OpenAI ChatGPT GPT4的New Bing接口的Web服务。 提供了好看的对话页面。 实现了微软New Bing的大多数功能,还添加了一些自己的特色功能。 开源免费。
License: GNU Affero General Public License v3.0
请问,可以Syendy模式吗?
类似侧边栏newbing读取本地文档之后的那种回答,只不过可以让自定义它读取的内容,这样就能解锁悉尼人格或者修改别的人格角色了。
点击图片的跳转链接为../GeneratePicture/img.html?createmessage=a+moon(后续省略)
,实际上,源码中无此页面,与预期功能不符。
其他的问题:
提交记录中仍有cookie泄露,参考本文可以彻底删除。
有点好奇,nasapod128x128.png
中的pony是您的OC吗?
拼写错误,所有的GTP需要改为GPT。
我希望获取用户和newbing对话的文本内容以实现按字数限制ip频繁访问,关键词过滤等功能,
我尝试修改了Response goUrL以及WebWork类,但只获取了以下格式的数据
{"conversationId":"51D|BingProd|,"clientId":"","conversationSignature":"=","result":{"value":"Success","message":null}}
可不可以加入游客模式,这样就不需要cookies了
使用github mobile发送 排版可能出现问题
类似
在上一次对话中我问了你这样一个问题:
xxx
你的回答是:
xxx
于是我又追问道:
xxx
而你给出的回答是:
xxx
导出为txt 或者在新网页打开(为了给edge的侧栏用)
WebSocket connection to 'wss://私有化的部署域名(非cf的默认workers域名)/sydney/ChatHub' failed:
sendMessage @ BingChating.js:56
部署在cf的worker上,尝试发送任何第一条消息后都会返回连接发生错误:[object Event] 聊天异常中断了!可能是网络问题。
然后在console中可以看到上述的报错
NewBingGoGo插件版运行正常
ps.我开启了access进行鉴权防止他人恶意利用我的cookies,我不确定是否会和这个有关
cloudflare部署,老是网络问题。要么中断,要么回复不全。。
我使用ip加端口地址直接访问的话,没有问题。
但是使用nginx反向代理通过域名访问,可以连接上,但是一问问题就提示“连接发生错误:异常中断 聊天异常中断了!可能是网络问题。
”
哪位老大有使用nginx的,帮忙提供下nginx的配置,谢谢!
注意到NewBingGoGo-Web目前还不支持保存、聊天记录、创作等功能。
期待在未来的更新中添加。
可以增加在Web页面上设置自己的Cookie的功能,类似提供API Key的方式。
聊天记录功能可以用localStorage或者IndexedDB实现。
提示:User needs to solve CAPTCHA to continue. 发生未知错误!
我在搭建好后随便问了一句就出现报错。
Windows10
java 18.0.2.1 2022-08-18
Java(TM) SE Runtime Environment (build 18.0.2.1+1-1)
Java HotSpot(TM) 64-Bit Server VM (build 18.0.2.1+1-1, mixed mode, sharing)
服务器内部发生未知错误!详情:java.net.ProtocolException: Server redirected too many times (20) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:2005) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308) at cn.jja8.newbinggogo.NewBingGoGoServer.goUrl(NewBingGoGoServer.java:236) at cn.jja8.newbinggogo.NewBingGoGoServer.goUrl(NewBingGoGoServer.java:155) at cn.jja8.newbinggogo.NewBingGoGoServer.serveHttp(NewBingGoGoServer.java:57) at fi.iki.elonen.NanoWSD.serve(NanoWSD.java:862) at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:901) at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:148) at java.base/java.lang.Thread.run(Thread.java:833)
用的是cloudflareWorker,为什么只能进行5次对话?这个难道可以设置吗?
通过cloudflare worker部署的时候如何开启人机验证?
/turing/conversation/create
返回{"conversationId":"51D|BingProdUnAuthenticatedUsers|15B622DD41A13557B01D5C3A7707BAFA09DBBE083DCD2B7D031C461F4E781D7F","clientId":"985155485310705","conversationSignature":"rQZdWw/w9uCUUtm5Ywpd1DZRoO8HkOUFVXYXHI1MAjU=","result":{"value":"Success","message":null}}
,但/sydney/ChatHub
没有回应。
我的Workers部署也发生此问题。
谢谢各位大佬的帮忙,我已经解决了,目前出现问题如下 本地环境需要17,和要用shadowjar打包
请问如何登录自己的账户,能否给小白做个教程啊?谢谢
大佬辛苦了,已点start!
例:
一个基于微软ChatGPT GPT4的NewBing接口的web服务
-> 一个基于微软New Bing接口的Web服务
(微软ChatGPT GPT4
这个描述似乎不对应任何一个产品,我们直接调用的是New Bing,至于New Bing到底基于什么似乎没必要提及?或者基于微软ChatGPT GPT4的NewBing接口
-> 基于OpenAI GPT4的New Bing接口
?)
(下面的是根据官方商标/说明文字的修改)
NewBing
-> New Bing
edge浏览器
-> Edge浏览器
bing
-> Bing
其他都正常,就是无法复制。
这是什么原因
如题
请问这个cookie有获取教程吗?
2023年6月22日通过Cloudflare部署的常报错:
连接发生错误:异常中断
聊天异常中断了!可能是网络问题。
感谢作者的部署和配置,请问下,是否可以直接在页面做版权或其他部署,而不要在域名地址栏"workers domain**### /web/NewBingGoGo.html**"增加这个尾巴"/web/NewBingGoGo.html"做跳转,是否可以不设置?谢谢
服务器内部发生未知错误!详情:java.net.ProtocolException: Server redirected too many times (20) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:2005) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308) at cn.jja8.newbinggogo.NewBingGoGoServer.goUrl(NewBingGoGoServer.java:268) at cn.jja8.newbinggogo.NewBingGoGoServer.goUrl(NewBingGoGoServer.java:183) at cn.jja8.newbinggogo.NewBingGoGoServer.serveHttp(NewBingGoGoServer.java:60) at fi.iki.elonen.NanoWSD.serve(NanoWSD.java:862) at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:901) at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:148) at java.base/java.lang.Thread.run(Thread.java:833)
cookies:
...
- _U=1w7djTOUYWY2_bME6URBm5Jo.....
...
读取时出错!原因:java.lang.ClassCastException: class java.lang.String cannot be cast to class java.util.List (java.lang.String and java.util.List are in module java.base of loader 'bootstrap'
请教大佬,怎么在服务端上配置共享账号,有没有手册啊?
非常抱歉打扰到大大们。
我想借用 NewBingGoGo 的 cloudflareWorker.js 服务端脚本来作为代理,而我在koishi插件实现酷似NewBingGoGo-Web的操作以此实现与newbing的聊天。
代码仓库地址:https://github.com/Mcayear/koishi-NewBingGoGo/blob/main/index.js
经过我的工作我探索到NewBingGoGo-Web与cloudflareWorker的工作流程:
path:/turing/conversation/create
headers包含:new_bing_go_go-plug-create
返回如下
{
"conversationId": "51D|BingProd|E64E1ED69F3C7A259DB80D9B746BEFEF3750D81DB5C5332748B1CB04A4F9FEF0",
"clientId": "339C6F19301467C510617C0E31906652",
"conversationSignature": "e+A4FXIQy,r2+AJyGxBWH6LtgfbXggTYOy4lTGEyx34E=",
"result": {
"value": "Success",
"message": null
}
}
发送
{
"protocol": "json",
"version": 1
}
发送
{
"arguments": [
{
"source": "cib",
"optionsSets": [
"nlu_direct_response_filter",
"deepleo",
"disable_emoji_spoken_text",
"responsible_ai_policy_235",
"enablemm",
"h3imaginative",
"cricketansgnd",
"cachewriteext",
"e2ecachewrite",
"nodlcpcwrite",
"nointernalsugg",
"saharasugg",
"enablenewsfc",
"dv3sugg",
"clgalileo",
"gencontentv3"
],
"allowedMessageTypes": [
"ActionRequest",
"Chat",
"Context",
"InternalSearchQuery",
"InternalSearchResult",
"Disengaged",
"InternalLoaderMessage",
"Progress",
"RenderCardRequest",
"AdsQuery",
"SemanticSerp",
"GenerateContentQuery",
"SearchQuery"
],
"sliceIds": [
"winmuid2tf",
"sydconfigoptc",
"forallv2nscpw",
"allnopvt",
"anssuptokenlist",
"tempcacheread",
"temptacache",
"encjsreftf",
"winlongmsgtf",
"wrapnoins",
"505iccric",
"0430dv3s0",
"505scsv5",
"scprompt2",
"508jbcar",
"425bicb2",
"406sportgnds0",
"427startpm"
],
"verbosity": "verbose",
"traceId": "006532391ea24c2baf5baa8e02b4916a",
"isStartOfSession": true,
"message": {
"locale": "zh-CN",
"market": "zh-CN",
"region": "US",
"location": "lat:47.639557;long:-122.128159;re=1000m;",
"locationHints": [
{
"Center": {
"Latitude": 30.474103707944767,
"Longitude": 114.39625306330366
},
"RegionType": 2,
"SourceType": 11
},
{
"country": "United States",
"state": "Washington",
"city": "Index",
"zipcode": "98256",
"timezoneoffset": -8,
"dma": 819,
"countryConfidence": 9,
"Center": {
"Latitude": 47.8201,
"Longitude": -121.5543
},
"RegionType": 2,
"SourceType": 1
}
],
"timestamp": "2023-05-20T08:56:08+08:00",
"author": "user",
"inputMethod": "Keyboard",
"text": "你好",
"messageType": "Chat",
"requestId": "536a6fe9-ff18-4fe8-b35d-fac007ed2c1d",
"messageId": "536a6fe9-ff18-4fe8-b35d-fac007ed2c1d"
},
"tone": "Creative",
"requestId": "536a6fe9-ff18-4fe8-b35d-fac007ed2c1d",
"conversationSignature": "e+A4FXIQy,r2+AJyGxBWH6LtgfbXggTYOy4lTGEyx34E=",
"participant": {
"id": "339C6F19301467C510617C0E31906652"
},
"conversationId": "51D|BingProd|E64E1ED69F3C7A259DB80D9B746BEFEF3750D81DB5C5332748B1CB04A4F9FEF0"
}
],
"invocationId": "1",
"target": "chat",
"type": 4
}
接收:
{
"type": 2,
"invocationId": "1",
"item": {
"firstNewMessageIndex": null,
"defaultChatName": null,
"conversationId": "51D|BingProd|E64E1ED69F3C7A259DB80D9B746BEFEF3750D81DB5C5332748B1CB04A4F9FEF0",
"requestId": "536a6fe9-ff18-4fe8-b35d-fac007ed2c1d",
"telemetry": {
"metrics": null,
"startTime": "2023-05-20T00:56:08.0280732Z"
},
"result": {
"value": "UnauthorizedRequest",
"message": "Conversation signature verification failed. The signature was not the one that was expected.",
"error": "UnauthorizedRequest",
"renewCert": true,
"serviceVersion": "20230519.42"
}
}
} {
"type": 3,
"invocationId": "1"
}
在第三步的返回中可见 UnauthorizedRequest 错误。
我检查了第一步中的 conversationId、conversationSignature 与第三步中的 conversationId、conversationSignature 二者完全相同。
所用的代码仓库地址:https://github.com/Mcayear/koishi-NewBingGoGo/blob/main/index.js
目前是收不到回复。请问未来还有希望用Cloudflare方法吗?感谢大佬
我上传到vercel时一直提示404
https://bingweb.jja8.cn/web/NewBingGoGo.html 演示站任意开始对话可复现。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.