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
2db9c1bb
"src/array/cuda/array_nonzero.hip" did not exist on "cded5b80fe566c174fce1185b5456448d6f9c671"
Commit
2db9c1bb
authored
Jun 25, 2023
by
Jeffrey Morgan
Browse files
add light documentation for `/models`
parent
51164f57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
README.md
README.md
+6
-0
No files found.
README.md
View file @
2db9c1bb
...
@@ -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.
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