Skip to content

Latest commit

 

History

History

README.md

LocalAI functions

Example of using LocalAI functions, see the OpenAI blog post.

Run

# Clone LocalAI
git clone https://github.com/mudler/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.