Skip to content

Commit

Permalink
Adjust prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
Supernova3339 committed Dec 1, 2023
1 parent 2724973 commit e63e295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
}

try {
const prompt = `Your response must be formatted as markdown. Answer the following question: ${searchQuery}`;
const prompt = `Answer the following question: ${searchQuery}`;
const openaiInstance = new openai.OpenAI({
apiKey: process.env.OPENAI_API_KEY,
});
Expand Down

0 comments on commit e63e295

Please sign in to comment.