WIP
- Added different AIs for ASR and for structure builder - Forcing models to use JSON from now on
This commit is contained in:
@@ -52,7 +52,7 @@ class AsrEventizer:
|
||||
retries_left = 5
|
||||
while retries_left > 0:
|
||||
retries_left -= 1
|
||||
response = self._agent.completion(messages=messages)
|
||||
response = self._agent.completion(messages=messages, response_format=_EventizeResult)
|
||||
if debug_dir:
|
||||
with open(f"{debug_dir}/{retries_left}-retries-left.txt", "w") as f:
|
||||
f.write(response)
|
||||
|
||||
Reference in New Issue
Block a user