Browse Source

add light documentation for `/models`

Jeffrey Morgan 1 year ago
parent
commit
2db9c1bbfc
1 changed files with 6 additions and 0 deletions
  1. 6 0
      README.md

+ 6 - 0
README.md

@@ -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.