Spaces:
Sleeping
Sleeping
File size: 236 Bytes
0873e94 |
1 2 3 4 5 6 7 8 9 |
def formatter_node(output):
"""
Cleans up LLM output for exact match.
Removes prefixes, trims whitespace, ensures lowercase.
"""
answer = output.strip()
# Optionally add more cleanup rules here
return answer
|