server : update readme [no ci]
This commit is contained in:
parent
5a699f147e
commit
a28b8c81a8
1 changed files with 6 additions and 0 deletions
|
@ -524,6 +524,12 @@ Takes a prefix and a suffix and returns the predicted completion as stream.
|
||||||
|
|
||||||
- `input_prefix`: Set the prefix of the code to infill.
|
- `input_prefix`: Set the prefix of the code to infill.
|
||||||
- `input_suffix`: Set the suffix of the code to infill.
|
- `input_suffix`: Set the suffix of the code to infill.
|
||||||
|
- `prompt`: Added after the `FIM_MID` token
|
||||||
|
- `extra_context`: Additional context inserted before the FIM prefix. See https://github.com/ggerganov/llama.cpp/pull/9874
|
||||||
|
|
||||||
|
```txt
|
||||||
|
[extra_context]<FIM_PRE>[input_prefix]<FIM_SUF>[input_suffix]<FIM_MID>[prompt]
|
||||||
|
```
|
||||||
|
|
||||||
It also accepts all the options of `/completion`.
|
It also accepts all the options of `/completion`.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue