Remove confidence scoring and refine correction prompts
This commit is contained in:
@@ -319,11 +319,6 @@ func reconcileLLMResponse(items []LLMValidationItem, response LLMValidationRespo
|
||||
continue
|
||||
}
|
||||
d := entries[0]
|
||||
if d.Confidence < 0.0 || d.Confidence > 1.0 {
|
||||
result.Decisions = append(result.Decisions, unavailable(item.CorrectionIndex, ReasonInvalidValidationDecision, "required model validation decision had invalid confidence"))
|
||||
result.UnavailableIndices = append(result.UnavailableIndices, item.CorrectionIndex)
|
||||
continue
|
||||
}
|
||||
reasonCode := ReasonApproved
|
||||
if !d.Approved {
|
||||
reasonCode = "llm_rejected"
|
||||
|
||||
Reference in New Issue
Block a user