From 2db9c1bbfcafd68c37ebe74efec1b07f23483a2d Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Sun, 25 Jun 2023 14:29:26 -0400 Subject: [PATCH] add light documentation for `/models` --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index bd9db37e..8cdc1fe3 100644 --- a/README.md +++ b/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.