Skip to content

Commit 46114f0

Browse files
committed
Fixed prompt for extracting keywords
1 parent ce5f43b commit 46114f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ai-assistant/src/core/prompt.factory.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ export namespace PromptFactory {
2525
4. INPUT: "Can you please tell me more about the file tests/commands.spec.ts?"
2626
OUTPUT: <ANSWER>tests/commands.spec.ts</ANSWER>
2727
28-
OUTPUT FORMAT: <ANSWER>keyword1,keyword2,full/path/1,full/path/2</ANSWER>
28+
OUTPUT STRICT FORMAT: <ANSWER>keyword1,keyword2,full/path/1,full/path/2</ANSWER>
2929
`);
3030
prompt.pushUser(`
31-
Hey I have this query, can you please extract the possible keywords from it? Please answer in <ANSWER_START>keyword1, keyword2<ANSWER_END> format only and don't say literally anything else.
32-
31+
Hey I have this query, can you please extract the possible keywords from it? Please answer in <ANSWER>keyword1, keyword2<ANSWER> format only and don't say literally anything else.
32+
3333
Here's my query:
3434
${query}
3535
`);

0 commit comments

Comments
 (0)