ソースを参照

Update api.md (#1878)

Fixed assistant in the example response.
Robin Glauser 1 年間 前
コミット
e868c8a5c7
1 ファイル変更2 行追加2 行削除
  1. 2 2
      docs/api.md

+ 2 - 2
docs/api.md

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