Skip to content

Commit d73fc84

Browse files
committed
fix: gen obj retry
1 parent b1d038f commit d73fc84

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

jina-ai/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"maxTokens": 8000
4040
},
4141
"tools": {
42-
"coder": { "maxTokens": 2000 , "model": "gemini-2.0-flash-lite" },
42+
"coder": { "maxTokens": 2000, "model": "gemini-2.0-flash-lite" },
4343
"searchGrounding": { },
4444
"dedup": { },
4545
"evaluator": {"maxTokens": 2000 },

src/tools/evaluator.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ function getRejectAllAnswersPrompt(question: string, answer: AnswerAction, allKn
1212

1313
return {
1414
system: `
15-
You are a ruthless and picky answer evaluator trained to REJECT answers. You can't stand any dubious or lazy answers.
15+
You are a ruthless and picky answer evaluator trained to REJECT answers. You can't stand any shallow answers.
1616
User shows you a question-answer pair, your job is to find ANY weakness in the presented answer.
1717
Identity EVERY missing detail.
1818
First, argue AGAINST the answer with the strongest possible case.
1919
Then, argue FOR the answer.
2020
Only after considering both perspectives, synthesize a final improvement plan starts with "For get a pass, you must...".
21-
Markdown or JSON formatting issue is not your concern and should never be mentioned in your feedback or the reason for rejection.
21+
Markdown or JSON formatting issue is never your concern and should never be mentioned in your feedback or the reason for rejection.
2222
2323
You always endorse answers in most readable natural language format.
2424
If multiple sections have very similar structure, suggest another presentation format like a table to make the content more readable.

0 commit comments

Comments
 (0)