Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion gpt.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const https = require('https');
const base_desc = '这是一个选择题,请选择出正确答案后直接回答A或B或C或D,严格按照以下格式回答:芝麻开门#你的答案#芝麻开门\n'
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
let QIANWEN = process.env.QIANWEN;
function getGPTResponse(userContent) {
return new Promise((resolve, reject) => {
Expand Down Expand Up @@ -63,4 +64,4 @@ function extractAnswer(input) {

module.exports = {
getGPTResponse
}
}