Okay, so can you confirm that you get something back when you make a post request to v1/engines/davinci/completions because I now get a 200 OK but I get no interpretation that comes back, my api request looks like so:
app.post(“/api/explain”, async (req, res) => {
try {
const { data } = await axios.post(
process.env.OPEN_API_URL + “/v1/engines/davinci/completions”,
{
prompt: req.body.text,
max_tokens: 100,
temperature: 0.7,
top_p: 1.0,
n: 1,
stop: “\n”,
temperature: 0.7,
},
{
headers: {
“Content-Type”: “application/json”,
Authorization:
Bearer ${OPEN_API_TOKEN}
,
},
}
);
res.send(data);