Update api.md (#1878)

Fixed assistant in the example response.
This commit is contained in:
Robin Glauser 2024-01-09 22:21:17 +01:00 committed by GitHub
parent c336693f07
commit e868c8a5c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -409,7 +409,7 @@ A stream of JSON objects is returned:
"model": "llama2", "model": "llama2",
"created_at": "2023-08-04T08:52:19.385406455-07:00", "created_at": "2023-08-04T08:52:19.385406455-07:00",
"message": { "message": {
"role": "assisant", "role": "assistant",
"content": "The", "content": "The",
"images": null "images": null
}, },
@ -505,7 +505,7 @@ A stream of JSON objects is returned:
"model": "llama2", "model": "llama2",
"created_at": "2023-08-04T08:52:19.385406455-07:00", "created_at": "2023-08-04T08:52:19.385406455-07:00",
"message": { "message": {
"role": "assisant", "role": "assistant",
"content": "The" "content": "The"
}, },
"done": false "done": false