mirror of
https://github.com/open-webui/docs
synced 2025-06-09 08:06:20 +00:00
commit
a7823a122b
@ -20,8 +20,8 @@ Open WebUI allows you to filter specific models for use in your instance. This f
|
||||
You can also whitelist models by adding environment variables to the backend. This method is useful for automated deployments and can be done by adding the following environment variables to your `docker run` command:
|
||||
|
||||
```bash
|
||||
-e MODEL_FILTER_ENABLED=True \
|
||||
-e ENABLE_MODEL_FILTER=True \
|
||||
-e MODEL_FILTER_LIST="llama2:13b;mistral:latest;gpt-3.5-turbo" \
|
||||
```
|
||||
|
||||
In this example, the `MODEL_FILTER_ENABLED` variable is set to `True` to enable the feature, and the `MODEL_FILTER_LIST` variable lists the models to be whitelisted. The format for the `MODEL_FILTER_LIST` variable is `model_name:version;model_name:version;...`.
|
||||
In this example, the `ENABLE_MODEL_FILTER` variable is set to `True` to enable the feature, and the `MODEL_FILTER_LIST` variable lists the models to be whitelisted. The format for the `MODEL_FILTER_LIST` variable is `model_name:version;model_name:version;...`.
|
||||
|
Loading…
Reference in New Issue
Block a user