Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
31edc829
Commit
31edc829
authored
Aug 04, 2023
by
Matt Williams
Browse files
continuing
Signed-off-by:
Matt Williams
<
m@technovangelist.com
>
parent
b3110476
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
docs/api.md
docs/api.md
+2
-0
No files found.
docs/api.md
View file @
31edc829
...
@@ -5,6 +5,8 @@
...
@@ -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:
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment