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
orangecat
ollama
Commits
ba264e9d
"...python/git@developer.sourcefind.cn:zhaoyu6/sglang.git" did not exist on "e8f62b20ca88ded99a013cef2a08639255ea3360"
Commit
ba264e9d
authored
Dec 07, 2023
by
Jeffrey Morgan
Browse files
add future version note to chat api docs
parent
a2405ec8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+3
-3
docs/api.md
docs/api.md
+1
-1
No files found.
README.md
View file @
ba264e9d
...
...
@@ -214,13 +214,13 @@ curl http://localhost:11434/api/generate -d '{
}'
```
Or send a chat message:
Or send a chat message
(coming in 0.1.14)
:
```
curl http://localhost:11434/api/chat -d '{
"model": "mistral",
"messages": [
{ "role": "user", "content": "why is the sky blue?" }
"messages": [
{ "role": "user", "content": "why is the sky blue?" }
]
}'
```
...
...
docs/api.md
View file @
ba264e9d
...
...
@@ -291,7 +291,7 @@ curl http://localhost:11434/api/generate -d '{
}
```
## Send Chat Messages
## Send Chat Messages
(coming in 0.1.14)
```
shell
POST /api/chat
...
...
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