summaryrefslogtreecommitdiff
path: root/examples/server/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/server/README.md')
-rw-r--r--examples/server/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/server/README.md b/examples/server/README.md
index 7105e902..51760804 100644
--- a/examples/server/README.md
+++ b/examples/server/README.md
@@ -164,6 +164,12 @@ node index.js
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`.
+- **POST** `/detokenize`: Convert tokens to text.
+
+ *Options:*
+
+ `tokens`: Set the tokens to detokenize.
+
- **POST** `/embedding`: Generate embedding of a given text just as [the embedding example](../embedding) does.
*Options:*