Browse Source

add light documentation for `/models`

Jeffrey Morgan 1 năm trước cách đây
mục cha
commit
2db9c1bbfc
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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.