(mut self, temperature: f32)
| 94 | /// Set temperature |
| 95 | #[inline] |
| 96 | pub fn with_temperature(mut self, temperature: f32) -> Self { |
| 97 | self.temperature = Some(temperature.clamp(0.0, 1.0)); |
| 98 | self |
| 99 | } |
| 100 | |
| 101 | /// Set top-p |
| 102 | #[inline] |
no outgoing calls
no test coverage detected