Skip to content

Commit

Permalink
modified api
Browse files Browse the repository at this point in the history
  • Loading branch information
zion-off committed Apr 26, 2023
1 parent 0332a92 commit 892e466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion back-end/services/home.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function generateText(transcript, nameCookie, req) {
"https://api.openai.com/v1/completions",
{
model: "text-davinci-003",
prompt: `From most preferred to least preferred, my partner's love languages are: ${first}, ${second}, ${third}, ${fourth}, and ${fifth}. ${transcript}. Answer based on the given information, but don't give me a list of their love languages.`,
prompt: `From most preferred to least preferred, my partner's love languages are: ${first}, ${second}, ${third}, ${fourth}, and ${fifth}. ${transcript}. Answer based on the given information, and be creative, but don't give me a list of their love languages or step by step instructions.`,
temperature: 0.7,
max_tokens: 256,
top_p: 1,
Expand Down

0 comments on commit 892e466

Please sign in to comment.