LocalAI/core/http/routes
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
..
elevenlabs.go feat: auth v2 - supersedes #2894 (#3476) 2024-09-16 23:29:07 -04:00
explorer.go feat(explorer): make possible to run sync in a separate process (#3224) 2024-08-12 19:25:44 +02:00
health.go fix(health): do not require auth for /healthz and /readyz (#3656) 2024-09-24 18:25:59 +00:00
jina.go feat: auth v2 - supersedes #2894 (#3476) 2024-09-16 23:29:07 -04:00
localai.go feat(template): read jinja templates from gguf files (#4332) 2024-12-08 13:50:33 +01:00
openai.go feat(template): read jinja templates from gguf files (#4332) 2024-12-08 13:50:33 +01:00
ui.go fix: roll out bluemonday Sanitize more widely (#3794) 2024-10-12 09:45:47 +02:00