"sgl-kernel/git@developer.sourcefind.cn:change/sglang.git" did not exist on "76139bfba00ed084385e5808ce6bc3bd22da9c47"
Commit 2db9c1bb authored by Jeffrey Morgan's avatar Jeffrey Morgan
Browse files

add light documentation for `/models`

parent 51164f57
...@@ -54,7 +54,13 @@ npm run package ...@@ -54,7 +54,13 @@ npm run package
## API ## API
### `GET /models`
Returns a list of available models
### `POST /generate` ### `POST /generate`
Generates completions as a series of JSON objects
model: `string` - The name of the model to use in the `models` folder. model: `string` - The name of the model to use in the `models` folder.
prompt: `string` - The prompt to use. prompt: `string` - The prompt to use.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment