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 ,以了解任何數據模型返回或傳遞的任何數據模型。