config: set default judge_model=gpt-5, embedding_model=text-embedding-3-small

gpt-5.4/5.5/5.2/5.4-mini/5.4-nano are incompatible with RAGAS 0.4.3
because they require max_completion_tokens instead of max_tokens.
gpt-5 / gpt-4.1 support max_tokens and json_object mode required by RAGAS.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-06-23 15:29:01 +08:00
parent 2ad2c1ea9d
commit a781ba1e4a
4 changed files with 8 additions and 6 deletions

View File

@@ -420,7 +420,7 @@ class ScoreRequest(BaseModel):
"context_recall",
"context_precision",
],
"judge_model": "gpt-5.4",
"judge_model": "gpt-5",
"embedding_model": "text-embedding-3-small",
}
}