update docs with chat completion api

This commit is contained in:
Jeffrey Morgan
2023-12-10 13:53:36 -05:00
parent 7db5bcf73b
commit 5d4d2e2c60
2 changed files with 5 additions and 3 deletions

View File

@@ -3,6 +3,7 @@
## Endpoints
- [Generate a completion](#generate-a-completion)
- [Generate a chat completion](#generate-a-chat-completion)
- [Create a Model](#create-a-model)
- [List Local Models](#list-local-models)
- [Show Model Information](#show-model-information)
@@ -290,7 +291,7 @@ curl http://localhost:11434/api/generate -d '{
}
```
## Send Chat Messages (coming in 0.1.14)
## Generate a chat completion
```shell
POST /api/chat