mirror of
https://github.com/mudler/LocalAI
synced 2026-04-21 13:27:21 +00:00
| .. | ||
| .env | ||
| docker-compose.yaml | ||
| Dockerfile | ||
| functions-openai.py | ||
| README.md | ||
| requirements.txt | ||
LocalAI functions
Example of using LocalAI functions, see the OpenAI blog post.
Run
# Clone LocalAI
git clone https://github.com/go-skynet/LocalAI
cd LocalAI/examples/functions
docker-compose run --rm functions
Note: The example automatically downloads the openllama model as it is under a permissive license.
See the .env configuration file to set a different model with the model-gallery by editing PRELOAD_MODELS.