Selaa lähdekoodia

add light documentation for `/models`

Jeffrey Morgan 1 vuosi sitten
vanhempi
commit
2db9c1bbfc
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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.