Procházet zdrojové kódy

Update api.md (#1878)

Fixed assistant in the example response.
Robin Glauser před 1 rokem
rodič
revize
e868c8a5c7
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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