Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 870 Bytes

File metadata and controls

34 lines (22 loc) · 870 Bytes

LocalAI Extension

LocalAI directly in localstack

Install local development version

To install the extension into localstack in developer mode, you will need Python 3.10, and create a virtual environment in the extensions project.

In the newly generated project, simply run

make install

Then, to enable the extension for LocalStack, run

localstack extensions dev enable .

You can then start LocalStack with EXTENSION_DEV_MODE=1 to load all enabled extensions:

EXTENSION_DEV_MODE=1 localstack start

Install from GitHub repository

To distribute your extension, simply upload it to your github account. Your extension can then be installed via:

localstack extensions install "git+https://github.com/localstack/localstack-localai-extension/#egg=localstack-localai-extension"