add light documentation for /models

This commit is contained in:
Jeffrey Morgan 2023-06-25 14:29:26 -04:00
parent 51164f57a2
commit 2db9c1bbfc

View file

@ -54,7 +54,13 @@ npm run package
## API
### `GET /models`
Returns a list of available models
### `POST /generate`
Generates completions as a series of JSON objects
model: `string` - The name of the model to use in the `models` folder.
prompt: `string` - The prompt to use.