mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-19 04:37:53 +00:00
efa32a2677
When enabling grammar with functions, it might be useful to allow more flexibility to support models that are fine-tuned against returning function calls of the form of { "name": "function_name", "arguments" {...} } rather then { "function": "function_name", "arguments": {..} }. This might call out to a more generic approach later on, but for the moment being we can easily support both as we have just to specific different types. If needed we can expand on this later on Signed-off-by: mudler <mudler@localai.io> |
||
---|---|---|
.. | ||
functions_suite_test.go | ||
functions_test.go | ||
functions.go | ||
grammar_json_schema_test.go | ||
grammar_json_schema.go | ||
parse_test.go | ||
parse.go |