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

Welcome to your LocalAI instance!

The FOSS alternative to OpenAI, Claude, and more

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

No models installed from the LocalAI gallery

Install models from the 🖼️ Gallery or check the Getting started documentation

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

Models installed without a configuration file:

{{ range .Models }}

{{.Name}}

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

{{$modelsN}} Installed Model

{{$galleryConfig:=.GalleryConfig}} {{$noicon:="https://upload.wikimedia.org/wikipedia/commons/6/65/No-Image-Placeholder.svg"}} {{ range .ModelsConfig }} {{ $backendCfg := . }} {{ $cfg:= index $galleryConfig .Name}}
{{.Name}} icon

{{.Name}}

{{ if .Backend }} {{.Backend}} {{ else }} auto {{ end }}
{{ range .KnownUsecaseStrings }} {{ if eq . "FLAG_CHAT" }} Chat {{ end }} {{ if eq . "FLAG_IMAGE" }} Image {{ end }} {{ if eq . "FLAG_TTS" }} TTS {{ end }} {{ end }}
{{ end }} {{ range .Models }}
Model icon

{{.}}

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