nextjs chatgpt plugin starter
1.0.0
从本质上讲,这是Openai Chat GPT文档中记录的Python应用程序的JavaScript版本。
我最初很难让标题和COR正常工作,因此我认为我会在这里记录如何执行此操作。
该应用程序没有用户界面,而是与GhatGpt的UI一起使用,因此您必须访问ChatGpt插件,目前仍处于Beta中。
git clone [email protected]:dabit3/nextjs-chatgpt-starter.git
cd nextjs-chatgpt-starter
yarn # or npm install, pnpmnpm run build
npm start
# If you run this in dev mode, the memory may not persist well as the server will randomly restart sometimes提示您的网站域时,请输入'http:// localhost:3000'
要求您的戒酒清单:
what are my todos ?
# or anything like that添加一个todo:
add book flight to my todos总结托多斯:
How many todos do I have left?
或您可能有任何其他问题。
添加更多路线:
在pages/api目录中创建新路线。
用新路径更新openapi.yaml
使用架构更新openapi.yaml ,以了解任何数据模型返回或传递的任何数据模型。