LocalAI/core/backend
Ettore Di Giacinto 35561edb6e
feat(llama.cpp): support embeddings endpoints (#2871)
* feat(llama.cpp): add embeddings

Also enable embeddings by default for llama.cpp models

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

* fix(Makefile): prepare llama.cpp sources only once

Otherwise we keep cloning llama.cpp for each of the variants

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

* do not set embeddings to false

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

* docs: add embeddings to the YAML config reference

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

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2024-07-15 22:54:16 +02:00
..
embeddings.go chore: fix go.mod module (#2635) 2024-06-23 08:24:36 +00:00
image.go chore: fix go.mod module (#2635) 2024-06-23 08:24:36 +00:00
llm.go feat: HF /scan endpoint (#2566) 2024-07-10 13:18:32 +02:00
options.go feat(llama.cpp): support embeddings endpoints (#2871) 2024-07-15 22:54:16 +02:00
rerank.go chore: fix go.mod module (#2635) 2024-06-23 08:24:36 +00:00
stores.go chore: fix go.mod module (#2635) 2024-06-23 08:24:36 +00:00
transcript.go feat(whisper): add translate option (#2649) 2024-06-24 19:21:22 +02:00
tts.go chore: fix go.mod module (#2635) 2024-06-23 08:24:36 +00:00