benepstein
10/08/2025, 12:28 PMbaml_py.internal_monkeypatch.BamlValidationError: BamlValidationError(message=Failed to parse LLM response: Failed to coerce value: <root>: Failed while parsing required fields: missing=1, unparsed=0
- <root>: Missing required field: reasoning, raw_output=\`\`\`json
{
"best_flagged_rules": [
1505,
10688,
7433
],
dna"reasoning": "These three...
that dna infront of reasoning is weird.
My prompt ends like this, pretty standard
Answer in JSON using this schema:
{
// The IDs of the 3 best flagged rules from the candidates provided
best_flagged_rules: int[],
// Brief explanation of why these were chosen as the best exemplars
reasoning: string,
}
this is gemini 2.5 proaaronv (BAML)
10/08/2025, 3:29 PMaaronv (BAML)
10/08/2025, 3:30 PMbenepstein
10/08/2025, 4:43 PMbenepstein
10/08/2025, 4:43 PMName: baml-py
Version: 0.201.0benepstein
10/08/2025, 4:44 PMaaronv (BAML)
10/08/2025, 5:11 PMaaronv (BAML)
10/08/2025, 5:11 PMbenepstein
10/08/2025, 5:58 PM