LocalAI/core/config
Ettore Di Giacinto cea5a0ea42
feat(template): read jinja templates from gguf files (#4332)
* Read jinja templates as fallback

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

* Move templating out of model loader

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

* Test TemplateMessages

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

* Set role and content from transformers

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

* Tests: be more flexible

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

* More jinja

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

* Small refactoring and adaptations

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

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2024-12-08 13:50:33 +01:00
..
application_config.go feat: allow to disable '/metrics' endpoints for local stats (#3945) 2024-10-23 15:34:32 +02:00
backend_config_filter.go groundwork: ListModels Filtering Upgrade (#2773) 2024-10-01 18:55:46 +00:00
backend_config_loader.go chore(refactor): imply modelpath (#4208) 2024-11-20 18:06:35 +01:00
backend_config_test.go groundwork: ListModels Filtering Upgrade (#2773) 2024-10-01 18:55:46 +00:00
backend_config.go feat(template): read jinja templates from gguf files (#4332) 2024-12-08 13:50:33 +01:00
config_suite_test.go dependencies(grpcio): bump to fix CI issues (#2362) 2024-05-21 14:33:47 +02:00
config_test.go feat(llama.cpp): guess model defaults from file (#2522) 2024-06-08 22:13:02 +02:00
gallery.go refactor: gallery inconsistencies (#2647) 2024-06-24 17:32:12 +02:00
guesser.go feat(template): read jinja templates from gguf files (#4332) 2024-12-08 13:50:33 +01:00