LocalAI/pkg/functions/grammars
Ettore Di Giacinto 2169c3497d
feat(grammar): add llama3.1 schema (#3015)
* wip

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

* get rid of panics

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

* expose it properly from the config

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

* Simplify

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

* forgot to commit

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

* Remove focus on test

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

* Small fixups

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

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2024-07-26 20:11:29 +02:00
..
bnf_rules.go feat(grammar): add llama3.1 schema (#3015) 2024-07-26 20:11:29 +02:00
grammars_suite_test.go feat(grammar): add llama3.1 schema (#3015) 2024-07-26 20:11:29 +02:00
json_schema_test.go feat(grammar): add llama3.1 schema (#3015) 2024-07-26 20:11:29 +02:00
json_schema.go feat(grammar): add llama3.1 schema (#3015) 2024-07-26 20:11:29 +02:00
llama31_schema_test.go feat(grammar): add llama3.1 schema (#3015) 2024-07-26 20:11:29 +02:00
llama31_schema.go feat(grammar): add llama3.1 schema (#3015) 2024-07-26 20:11:29 +02:00
options.go feat(grammar): add llama3.1 schema (#3015) 2024-07-26 20:11:29 +02:00
rules.go feat(grammar): add llama3.1 schema (#3015) 2024-07-26 20:11:29 +02:00
types.go feat(grammar): add llama3.1 schema (#3015) 2024-07-26 20:11:29 +02:00