MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / with_temperature

Method with_temperature

core/src/llm/mod.rs:96–99  ·  view source on GitHub ↗
(mut self, temperature: f32)

Source from the content-addressed store, hash-verified

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]

Callers 2

extract_factsMethod · 0.45
decide_actionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected