server: added response format for /apply-template to README.md

This commit is contained in:
Isaac McFadyen 2025-01-29 18:50:40 -05:00 committed by GitHub
parent eb7cf15a80
commit b89286a481
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -584,6 +584,10 @@ Uses the server's prompt template formatting functionality to convert chat messa
`messages`: (Required) Chat turns in the same format as `/v1/chat/completions`.
**Response format**
Returns a JSON object with a field `prompt` containing a string of the input messages formatted according to the model's chat template format.
### POST `/embedding`: Generate embedding of a given text
> [!IMPORTANT]