mirror of
https://github.com/mudler/LocalAI.git
synced 2025-01-29 15:44:17 +00:00
b739cbb86b
Revert "build(deps): bump the pip group across 4 directories with 8 updates (…" This reverts commit e0dee52a2ab811fccc18f309a6c5fefcb4725448.
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
cp -rfv .env.example .env
# Edit the .env file to set a different model by editing `PRELOAD_MODELS`.
vim .env
docker-compose run --rm functions
Note: The example automatically downloads the openllama
model as it is under a permissive license.