LocalAI/api
Ettore Di Giacinto c72808f18b
feat(tools): support Tool calls in the API (#1715)
* feat(tools): support Tools in the API

Co-authored-by: =?UTF-8?q?Stephan=20A=C3=9Fmus?= <stephan.assmus@sap.com>

* feat(tools): support function streaming

* Adhere to new return types when using tools instead of functions

* Keep backward compatibility with function calling

* Evaluate function names in chat templates

* Disable recovery with --debug

* Correctly stream out the entire result

* Detect when llm chooses to reply and to not perform any action in SSE

* Feedback from code review

---------

Co-authored-by: =?UTF-8?q?Stephan=20A=C3=9Fmus?= <stephan.assmus@sap.com>
2024-02-17 10:00:34 +01:00
..
backend feat(tts): respect YAMLs config file, add sycl docs/examples (#1692) 2024-02-10 21:37:03 +01:00
config feat(tts): respect YAMLs config file, add sycl docs/examples (#1692) 2024-02-10 21:37:03 +01:00
ctx feat(tts): respect YAMLs config file, add sycl docs/examples (#1692) 2024-02-10 21:37:03 +01:00
localai fix(tts): fix regression when supplying backend from requests (#1713) 2024-02-15 17:33:06 +01:00
openai feat(tools): support Tool calls in the API (#1715) 2024-02-17 10:00:34 +01:00
options feat(startup): fetch model definition remotely (#1654) 2024-01-28 00:14:16 +01:00
schema feat(tools): support Tool calls in the API (#1715) 2024-02-17 10:00:34 +01:00
api_test.go feat: Use ubuntu as base for container images, drop deprecated ggml-transformers backends (#1689) 2024-02-08 20:12:51 +01:00
api.go feat(tools): support Tool calls in the API (#1715) 2024-02-17 10:00:34 +01:00
apt_suite_test.go Revert "[Refactor]: Core/API Split" (#1550) 2024-01-05 18:04:46 +01:00