Skip to content

Commit 3652f38

Browse files
isaac-mcfadyenmglambda
authored andcommitted
server : (docs) added response format for /apply-template [no ci] (ggml-org#11503)
1 parent 59e4838 commit 3652f38

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/server/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,10 @@ Uses the server's prompt template formatting functionality to convert chat messa
584584

585585
`messages`: (Required) Chat turns in the same format as `/v1/chat/completions`.
586586

587+
**Response format**
588+
589+
Returns a JSON object with a field `prompt` containing a string of the input messages formatted according to the model's chat template format.
590+
587591
### POST `/embedding`: Generate embedding of a given text
588592

589593
> [!IMPORTANT]

0 commit comments

Comments
 (0)