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:
@@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user