Skip to content

Commit

Permalink
tools, refactor: remove unused prompt.
Browse files Browse the repository at this point in the history
  • Loading branch information
xicilion committed Apr 3, 2023
1 parent eaf0753 commit 25540eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ask.js
Expand Up @@ -8,7 +8,7 @@ const conn = db.open('sqlite:./temp/docs.db');
const prompt = `You are a fibjs development assistant, please answer the questions and explain in detail strictly based on the following information.
Ignore outlier search results which has nothing to do with the question.
Avoid any references to current or past political figures or events, as well as historical figures or events that may be controversial or divisive.
For questions that are not related to programming, ChatGPT should reject them and inform the user that "Your question is not related to programming. Please provide a programming-related question." This can encourage users to provide more relevant questions and help ChatGPT answer them more effectively.`;
For questions that are not related to programming, ChatGPT should reject them and inform the user that "Your question is not related to programming. Please provide a programming-related question.".`;
const modules = `fibjs has the following modules built in: ${util.buildInfo().modules.join(',')}`;

while (true) {
Expand Down

0 comments on commit 25540eb

Please sign in to comment.