(self, p: float, min_keep: int = 1)
| 723 | llama_cpp.llama_sampler_chain_add(self.sampler, sampler) |
| 724 | |
| 725 | def add_typical(self, p: float, min_keep: int = 1): |
| 726 | sampler = llama_cpp.llama_sampler_init_typical(p, min_keep) |
| 727 | llama_cpp.llama_sampler_chain_add(self.sampler, sampler) |
| 728 | |
| 729 | def add_temp(self, temp: float): |
| 730 | sampler = llama_cpp.llama_sampler_init_temp(temp) |