Optional
chunk_List of tokens that indicate the end of a chunk. The context will be split into chunks at these tokens.
Optional
Alpha
drop_If true, drop consecutive tokens that are forced. This is useful to avoid keeping too many forced tokens in a row.
Optional
force_If true, reserve a digit for forced tokens.
Optional
force_List of tokens that must be kept in the compressed prompt. These tokens will not be removed regardless of their probability.
Optional
target_Target number of tokens to keep after compression.
If set, this will override the rate
option.
Optional
token_How to convert token probabilities to word probabilities. "mean" will average the probabilities of tokens in a word, "first" will take the probability of the first token in a word.
Options for compressing prompts.