- Added different AIs for ASR and for structure builder
- Forcing models to use JSON from now on
This commit is contained in:
2026-09-23 00:22:09 +03:00
parent 3ae4d82f14
commit 642542ad10
4 changed files with 34 additions and 17 deletions

View File

@@ -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)