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