server : update readme [no ci]

This commit is contained in:
Georgi Gerganov 2024-10-13 19:18:36 +03:00
parent 5a699f147e
commit a28b8c81a8
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -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_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`.