Update backends.md

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
Ettore Di Giacinto 2025-06-19 19:47:09 +02:00 committed by GitHub
parent f9b968e19d
commit 49d026a229
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -91,6 +91,13 @@ Your backend container should:
5. Have a top level `run.sh` file that will be used to run the backend 5. Have a top level `run.sh` file that will be used to run the backend
6. Pushed to a registry so can be used in a gallery 6. Pushed to a registry so can be used in a gallery
### Getting started
For getting started, see the available backends in LocalAI here: https://github.com/mudler/LocalAI/tree/master/backend .
- For Python based backends there is a template that can be used as starting point: https://github.com/mudler/LocalAI/tree/master/backend/python/common/template .
- For Golang based backends, you can see the `bark-cpp` backend as an example: https://github.com/mudler/LocalAI/tree/master/backend/go/bark
- For C++ based backends, you can see the `llama-cpp` backend as an example: https://github.com/mudler/LocalAI/tree/master/backend/cpp/llama
### Publishing Your Backend ### Publishing Your Backend
@ -116,4 +123,4 @@ LocalAI supports various types of backends:
- **LLM Backends**: For running language models - **LLM Backends**: For running language models
- **Diffusion Backends**: For image generation - **Diffusion Backends**: For image generation
- **TTS Backends**: For text-to-speech conversion - **TTS Backends**: For text-to-speech conversion
- **Whisper Backends**: For speech-to-text conversion - **Whisper Backends**: For speech-to-text conversion