Add judge_language config plumbing (settings + scenario + ScoreRequest)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
wangwei
2026-07-01 17:47:21 +08:00
co-authored by Copilot
parent 03e682b89c
commit 4a646b6b9c
6 changed files with 95 additions and 0 deletions
+1
View File
@@ -22,6 +22,7 @@ class EvaluationSettings(BaseSettings):
openai_api_key: str | None = Field(default=None, alias="OPENAI_API_KEY")
openai_base_url: str = Field(default="http://6.86.80.4:30080/v1", alias="OPENAI_BASE_URL")
ragas_judge_model: str = Field(default="gpt-5", alias="RAGAS_JUDGE_MODEL")
ragas_judge_language: str = Field(default="en", alias="RAGAS_JUDGE_LANGUAGE")
ragas_embedding_model: str = Field(
default="text-embedding-3-small",
alias="RAGAS_EMBEDDING_MODEL",