mirror of
https://github.com/ollama/ollama.git
synced 2025-09-27 20:17:01 +02:00
add light documentation for /models
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user