LocalAI/api
Ettore Di Giacinto 92cbc4d516
feat(transformers): add embeddings with Automodel (#1308)
* Update huggingface.py

Switch SentenceTransformer for AutoModel in order to set trust_remote_code needed to use the encode method with embeddings models like jinai-v2

Signed-off-by: Lucas Hänke de Cansino <lhc@next-boss.eu>

* feat(transformers): split in separate backend

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

---------

Signed-off-by: Lucas Hänke de Cansino <lhc@next-boss.eu>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Co-authored-by: Lucas Hänke de Cansino <lhc@next-boss.eu>
2023-11-20 21:21:17 +01:00
..
backend feat: allow to run parallel requests (#1290) 2023-11-16 08:20:05 +01:00
config fix(api/config): allow YAML config with .yml (#1299) 2023-11-17 22:47:30 +01:00
localai feat: queue up requests if not running parallel requests (#1296) 2023-11-16 22:20:16 +01:00
openai fix: respect OpenAI spec for response format (#1289) 2023-11-15 19:36:23 +01:00
options feat: allow to run parallel requests (#1290) 2023-11-16 08:20:05 +01:00
schema fix: respect OpenAI spec for response format (#1289) 2023-11-15 19:36:23 +01:00
api_test.go feat(transformers): add embeddings with Automodel (#1308) 2023-11-20 21:21:17 +01:00
api.go feat(metrics): Adding initial support for prometheus metrics (#1176) 2023-10-17 18:22:53 +02:00
apt_suite_test.go