add light documentation for /models
This commit is contained in:
parent
51164f57a2
commit
2db9c1bbfc
1 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue