SIGN IN SIGN UP

feat: Add tools/functions variables to Jinja2ChatFormatter, add function response formatting for all simple chat formats (#1273)

* Add tools/functions variables to Jinja2ChatFormatter

Also fixed missing tools/tool_choices parameters in chat_formatter_to_chat_completion_handler().

* Set grammar when doing explicit function calling

* Add function / tool response for all chat formats

---------

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
A
Andrei committed
60d8498f212ca1eb4303d95610022a055718bbb8
Parent: 18d7ce9
Committed by GitHub <noreply@github.com> on 3/19/2024, 8:55:57 AM