Browse Source

add future version note to chat api docs

Jeffrey Morgan 1 year ago
parent
commit
ba264e9da8
2 changed files with 4 additions and 4 deletions
  1. 3 3
      README.md
  2. 1 1
      docs/api.md

+ 3 - 3
README.md

@@ -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?" }
   ]
 }'
 ```

+ 1 - 1
docs/api.md

@@ -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