soev for developers
soev-serverReference

Commands

Run the server from the environment variables that it reads.

soev-server

soev-server

The command takes no arguments. It reads soev_server.Settings from the environment variables with the prefix SOEV_SERVER_, and serves the app of create with uvicorn on SOEV_SERVER_HOST and SOEV_SERVER_PORT. The defaults are 127.0.0.1 and 8000.

Required: SOEV_SERVER_API_KEY, SOEV_SERVER_POSTGRES_URI, SOEV_SERVER_INFERENCE_CONFIG_ROOT, SOEV_SERVER_PLUGIN_ALLOWLIST and SOEV_SERVER_DEFAULT_MODEL. Without one of them, the command stops with a ValidationError. Settings gives the optional variables and their defaults.

On this page