mirror of
https://github.com/katanemo/plano.git
synced 2026-04-29 02:46:28 +02:00
hallucination with log probs (#281)
* first init * fix * fix test * new implemenetation * fix bug * fix bug * fix bug * address issue * address issues * address comments * fix test * fix * move constatns * remove consts
This commit is contained in:
parent
f5cdafb7c8
commit
cadd3cdaf9
5 changed files with 1269 additions and 1 deletions
|
|
@ -134,4 +134,4 @@ class ArchFunctionHandler:
|
|||
fixed_str += opening_bracket[unmatched_opening]
|
||||
|
||||
# Attempt to parse the corrected string to ensure it’s valid JSON
|
||||
return fixed_str
|
||||
return fixed_str.replace("'", '"')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue