Skip to content

eh serve

Run the evaluation HTTP server.

Usage

eh serve [OPTIONS]

Options

Option Default Description
--model PATH (bundled) Path to .npz eigenspace model
--host HOST 127.0.0.1 Bind address
--port PORT 8080 Bind port

Example

eh serve --model models/general-polyglot-v1.npz --host 0.0.0.0 --port 8080

Requires the serve extra: pip install "eigenhelm[serve]"

See HTTP API for endpoint documentation.