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

Welcome to your LocalAI

The powerful FOSS alternative to OpenAI, Claude, and more

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

No models installed yet

Get started by installing models from the gallery or check our documentation for guidance

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

Detected Model Files

These models were found but don't have configuration files yet

{{ range .Models }}

{{if .Name}}{{.Name}}{{else}}{{.}}{{end}}

No configuration

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

Installed Models

{{$modelsN}} model{{if gt $modelsN 1}}s{{end}} ready to use

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

{{.Name}}

{{ if .Backend }} {{.Backend}} {{ else }} Auto {{ end }} {{ if index $loadedModels .Name }} Running {{ end }}
{{ range .KnownUsecaseStrings }} {{ if eq . "FLAG_CHAT" }} Chat {{ end }} {{ if eq . "FLAG_IMAGE" }} Image {{ end }} {{ if eq . "FLAG_TTS" }} TTS {{ end }} {{ end }}
{{ if index $loadedModels .Name }} {{ end }}
Edit
{{ end }} {{ range .Models }}

{{.}}

Auto Backend No Config
Configuration required for full functionality
{{end}}
{{ end }}

Installed Backends

{{len .InstalledBackends}} backend{{if gt (len .InstalledBackends) 1}}s{{end}} ready to use

{{ if ne (len .InstalledBackends) 0 }} {{ else }}

No backends installed yet

Get started by installing backends from the gallery or check our documentation for guidance

{{ end }} {{ range .InstalledBackends }}

{{.Name}}

{{end}}
{{template "views/partials/footer" .}}