fix(go-llama): use llama-cpp as default (#1849)

* fix(go-llama): use llama-cpp as default

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>

* fix(backends): drop obsoleted lines

---------

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
Ettore Di Giacinto 2024-03-17 23:08:22 +01:00 committed by GitHub
parent 020ce29cd8
commit 88b65f63d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,12 +15,11 @@ import (
)
var Aliases map[string]string = map[string]string{
"go-llama": GoLlamaBackend,
"go-llama": LLamaCPP,
"llama": LLamaCPP,
}
const (
GoLlamaBackend = "llama"
LlamaGGML = "llama-ggml"
LLamaCPP = "llama-cpp"
Gpt4AllLlamaBackend = "gpt4all-llama"
@ -35,15 +34,11 @@ const (
TinyDreamBackend = "tinydream"
PiperBackend = "piper"
LCHuggingFaceBackend = "langchain-huggingface"
// External Backends that need special handling within LocalAI:
TransformersMusicGen = "transformers-musicgen"
)
var AutoLoadBackends []string = []string{
LLamaCPP,
LlamaGGML,
GoLlamaBackend,
Gpt4All,
BertEmbeddingsBackend,
RwkvBackend,