LocalAI/core/http
Ettore Di Giacinto efa32a2677
feat(grammar): support models with specific construct (#2291)
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>
2024-05-12 01:13:22 +02:00
..
ctx Revert #1963 (#2056) 2024-04-17 23:33:49 +02:00
elements fix(ux): fix small glitches (#2265) 2024-05-08 19:34:33 +02:00
endpoints feat(grammar): support models with specific construct (#2291) 2024-05-12 01:13:22 +02:00
routes fix(ux): fix small glitches (#2265) 2024-05-08 19:34:33 +02:00
static feat(ui): prompt for chat, support vision, enhancements (#2259) 2024-05-08 00:42:34 +02:00
views fix(ux): fix small glitches (#2265) 2024-05-08 19:34:33 +02:00
app_test.go test: check the response URL during image gen in app_test.go (#2248) 2024-05-05 18:46:33 +00:00
app.go UI: flag trust_remote_code to users // favicon support (#2253) 2024-05-07 08:39:23 +02:00
http_suite_test.go fix: rename fiber entrypoint from http/api to http/app (#2096) 2024-04-21 22:39:28 +02:00
render.go fix: use bluemonday as recommended by blackfriday (#2142) 2024-04-26 10:34:50 +02:00