mirror of
https://github.com/katanemo/plano.git
synced 2026-06-26 15:39:40 +02:00
Update the logic of intent detection
This commit is contained in:
parent
79eafc0241
commit
afec644789
2 changed files with 18 additions and 12 deletions
|
|
@ -69,6 +69,8 @@ async def function_calling(req: ChatMessage, res: Response):
|
|||
# logger.error(f"Error in chat_completion from `Arch-Function`: {e}")
|
||||
res.status_code = 500
|
||||
return {"error": f"[Arch-Function] - {e}"}
|
||||
# [TODO] Review: define the behavior if `Arch-Intent` doesn't detect an intent
|
||||
# else:
|
||||
|
||||
except Exception as e:
|
||||
# [TODO] Review: update how to collect debugging outputs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue