Closed
Conversation
Collaborator
Ceceliachenen
commented
Jan 28, 2026
- 修复eval上传新的数据集时出现的错误
- run_config 支持并发评估eval数据,并在前端透出
- 支持自定义并保存eval llm评估prompt,并在前端透出
☂️ Python Coverage
Overall Coverage
New Files
Modified Files
|
Collaborator
|
这个pr可以拆成两个吗?一个fix bug,一个加自定义prompt的逻辑,我打算年前发布一个和线上0128一样的版本,不改动数据库的。自定义prompt的可以放在后面 |
moria97
reviewed
Feb 11, 2026
| # Use safe formatting to handle JSON schema braces in the prompt | ||
| # First, replace double braces with a placeholder, then format, then restore | ||
| # Replace {{ and }} with placeholders | ||
| template = self.prompt_template.replace('{{', '___DOUBLE_BRACE_OPEN___').replace('}}', '___DOUBLE_BRACE_CLOSE___') |
moria97
reviewed
Feb 11, 2026
| model_provider_name: Optional[str] = Field(default="openai_like") | ||
| case_sensitive: bool = Field(default=False) | ||
| ignore_punctuation: bool = Field(default=False) | ||
| llm_judge_prompt: Optional[str] = Field(default=None) |
Collaborator
There was a problem hiding this comment.
nit,是不是直接叫prompt_template比较直接?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.