上得了厅堂,下得了厨房。
文能开发写文档,武能抗大锤砸墙。
能言善辩 行事稳健,心怀信念 胸怀大志。
不畏艰苦 勇攀高峰,谦虚好学 持续成长。
永远年轻,永远热泪盈眶。:laughing:
基于 laf 开发的 chatGPT 免费 免登录 免翻墙 点击开聊
License: MIT License
按照博主的方法在laf上部署了自己的ChatGPT聊天室,今天早上发现ChatGPT账号被封了。。。
let res = await api.sendMessage('“鸡你太美”指的是**大陆哪位男艺人?给你个提示,他喜欢唱、跳、篮球、Rap')
console.log(res.text)
// 传入 parentMessageId 追踪上下文
res = await api.sendMessage('不对,他姓蔡,请重新回答', {
parentMessageId: res.id
})
console.log(res.text)
return res.text
}
报错讯息:AxiosError: Request failed with status code 502"
已排除API问题;也不是代码拷贝有误——因为第一段代码运行正常,甚至第一次就会出现正确答案(蔡徐坤)。
2.laf左下角选择了内置依赖chatgpt后,安装并重启后并如教程中那样没有出现“自定义依赖 chatGPT 版本号”,依然是空白一片。
还望大神拨冗解答,谢谢!
不能关掉吗
二维码过期
还有大大你自己的项目虽然能访问,但是没办法回答问题叻
如题,是否可以实现输出的效果和官方一样(打字效果)?
按照无需登录的版本在VSCode里运行npm run dev后报错:
PS C:\Users\user\Downloads\chatGPT-main> npm run dev
npm ERR! Missing script: "dev"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Local\npm-cache_logs\2023-07-17T08_04_05_541Z-debug-0.log
PS C:\Users\user\Downloads\chatGPT-main> npm run build
npm ERR! Missing script: "build"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Local\npm-cache_logs\2023-07-17T08_04_29_480Z-debug-0.log
PS C:\Users\user\Downloads\chatGPT-main> npm run build
npm ERR! Missing script: "build"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Local\npm-cache_logs\2023-07-17T08_06_47_784Z-debug-0.log
PS C:\Users\user\Downloads\chatGPT-main> npm run dev
npm ERR! Missing script: "dev"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Local\npm-cache_logs\2023-07-17T08_06_51_310Z-debug-0.log
也许是我方法不对,还望左风大佬拨冗解答,谢谢。
问下大佬,这个怎么解决,升级plus?laf是香港的 是不是也是不支持的地区哦?还是要找个稳定的机场,或者找个海外的机器架一下服务~~
按照小白文档,将项目放到了laf上, 但是main.js报错缺少vue。我不知道去哪里下载这个依赖,三分钟小白文档也没说。
老哥好,很感谢您,学习到了很多,但是奈何前段知识匮乏,特此像您请教一下。
① 手机端的键盘升起会挡住输入框,请问是否可以设计输入框和键盘一同升起
② 做成官网效果的瀑布流输出
③ Chatgpt4
请问下作者server的代码在哪里
想咨询一下老天鹅,dist文件夹里的内容index.html和assets文件夹可以补充到publish文件夹里吗?如果可以通用的话
不懂前端,自己run build做不到啊
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.