{{template "views/partials/head" .}}
{{template "views/partials/navbar" .}}

Welcome to your LocalAI instance!

The FOSS alternative to OpenAI, Claude, ...

Documentation
{{template "views/partials/inprogress" .}} {{ if eq (len .ModelsConfig) 0 }}

Ouch! seems you don't have any models installed from the LocalAI gallery!

..install something from the 🖼️ Gallery or check the Getting started documentation

{{ if ne (len .Models) 0 }}

However, It seems you have installed some models installed without a configuration file:

{{ range .Models }}

{{.}}

{{end}} {{end}} {{ else }} {{ $modelsN := len .ModelsConfig}} {{ $modelsN = add $modelsN (len .Models)}}

{{$modelsN}} Installed model(s)

{{$galleryConfig:=.GalleryConfig}} {{$noicon:="https://upload.wikimedia.org/wikipedia/commons/6/65/No-Image-Placeholder.svg"}} {{ range .ModelsConfig }} {{ $cfg:= index $galleryConfig .Name}} {{ end }} {{ range .Models }} {{end}}
Model Name Backend Actions
{{ with $cfg }} {{ else}} {{ end }}

{{.Name}}

{{ if .Backend }} {{.Backend}} {{ else }} auto {{ end }}

{{.}}

auto No Configuration
{{ end }}
{{template "views/partials/footer" .}}