From ba264e9da8d75e467246e78d112fcd978c34f8da Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Thu, 7 Dec 2023 09:41:56 -0800 Subject: [PATCH] add future version note to chat api docs --- README.md | 6 +++--- docs/api.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 39d2582c..a8669fc5 100644 --- a/README.md +++ b/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?" } ] }' ``` diff --git a/docs/api.md b/docs/api.md index 4b7fb95f..846e92b4 100644 --- a/docs/api.md +++ b/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