LocalAI/pkg/grammar
Ettore Di Giacinto 0eae727366
🔥 add LaVA support and GPT vision API, Multiple requests for llama.cpp, return JSON types (#1254)
* wip

* wip

* Make it functional

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* wip

* Small fixups

* do not inject space on role encoding, encode img at beginning of messages

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* Add examples/config defaults

* Add include dir of current source dir

* cleanup

* fixes

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* fixups

* Revert "fixups"

This reverts commit f1a4731cca.

* fixes

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2023-11-11 13:14:59 +01:00
..
functions_test.go Add tests 2023-07-04 18:58:19 +02:00
functions.go feat: resolve JSONSchema refs (planners) (#774) 2023-07-19 22:56:13 +02:00
grammar_suite_test.go feat: add grammar and functions call support 2023-07-04 18:58:19 +02:00
json_schema_test.go feat: update integer, number and string rules - allow primitives as root types (#862) 2023-08-03 23:32:30 +02:00
json_schema.go 🔥 add LaVA support and GPT vision API, Multiple requests for llama.cpp, return JSON types (#1254) 2023-11-11 13:14:59 +01:00