From c98e9a7160d334ff1ccae983b5a8ed04f2e5918c Mon Sep 17 00:00:00 2001 From: lhpqaq <657407891@qq.com> Date: Fri, 29 Nov 2024 10:45:49 +0800 Subject: [PATCH] update readme --- examples/server/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/server/README.md b/examples/server/README.md index 877768c8b..39bbab7b0 100644 --- a/examples/server/README.md +++ b/examples/server/README.md @@ -416,6 +416,8 @@ node index.js `samplers`: The order the samplers should be applied in. An array of strings representing sampler type names. If a sampler is not set, it will not be used. If a sampler is specified more than once, it will be applied multiple times. Default: `["dry", "top_k", "typ_p", "top_p", "min_p", "xtc", "temperature"]` - these are all the available values. + `timing_per_token`: Include prompt processing and text generation speed information in each response. Default: `false` + **Response format** - Note: When using streaming mode (`stream`), only `content` and `stop` will be returned until end of completion.