mirror of
https://github.com/ollama/ollama.git
synced 2025-09-27 20:46:55 +02:00
@@ -5,6 +5,8 @@
|
|||||||
## Generate a Prompt
|
## Generate a Prompt
|
||||||
**POST /api/generate**
|
**POST /api/generate**
|
||||||
|
|
||||||
|
**Generate** is the main endpoint that you will use when working with Ollama. This is used to generate a response to a prompt sent to a model.
|
||||||
|
|
||||||
The **Generate** endpoint takes a JSON object with the following fields:
|
The **Generate** endpoint takes a JSON object with the following fields:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user