LocalAI/core/backend
Ettore Di Giacinto 89351f1a7d
feat(embeddings): do not require to be configured (#1842)
Certain engines requires to know during model loading
if the embedding feature has to be enabled, however, it is impractical
to have to set it to ALL the backends that supports embeddings.

There are transformers and sentencentransformers that seamelessly handle
both cases, without having this settings to be explicitly enabled.

The case sussist only for ggml-based models that needs to enable
featuresets during model loading (and thus settings `embedding` is
required), however most of the other engines does not require this.

This change disables the check done at code side, making easier to use
embeddings by not having to specify explicitly `embeddings: true`.

Part of: https://github.com/mudler/LocalAI/issues/1373
2024-03-15 18:14:23 +01:00
..
embeddings.go feat(embeddings): do not require to be configured (#1842) 2024-03-15 18:14:23 +01:00
image.go fix(config): set better defaults for inferencing (#1822) 2024-03-13 10:05:30 +01:00
llm.go fix(config): set better defaults for inferencing (#1822) 2024-03-13 10:05:30 +01:00
options.go fix(config): set better defaults for inferencing (#1822) 2024-03-13 10:05:30 +01:00
transcript.go fix(config): set better defaults for inferencing (#1822) 2024-03-13 10:05:30 +01:00
tts.go feat(tts): add Elevenlabs and OpenAI TTS compatibility layer (#1834) 2024-03-14 23:08:34 +01:00