Skip to content

Commit

Permalink
server : (docs) added response format for /apply-template [no ci] (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-mcfadyen authored Jan 30, 2025
1 parent 7919256 commit 496e5bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 496e5bf

Please sign in to comment.