You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/server/README.md
+6
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,12 @@ node index.js
164
164
165
165
Note that the special `BOS` token is not added in front of the text and also a space character is not inserted automatically as it is for `/completion`.
166
166
167
+
-**POST**`/detokenize`: Convert tokens to text.
168
+
169
+
*Options:*
170
+
171
+
`tokens`: Set the tokens to detokenize.
172
+
167
173
-**POST**`/embedding`: Generate embedding of a given text just as [the embedding example](../embedding) does.
0 commit comments