Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InfinitiBit/graphbit
/ with_top_p
Method
with_top_p
core/src/llm/mod.rs:103–106 ·
view source on GitHub ↗
(mut self, top_p: f32)
Source
from the content-addressed store, hash-verified
101
/// Set top-p
102
#[inline]
103
pub fn with_top_p(mut self, top_p: f32) -> Self {
104
self.top_p = Some(top_p.clamp(0.0, 1.0));
105
self
106
}
107
108
/// Add a tool
109
#[inline]
Callers
15
apply_node_llm_overrides
Method · 0.80
handle_tool_calls_in_context
Method · 0.80
execute_agent_with_tools
Method · 0.80
test_azurellm_message_formatting
Function · 0.80
test_azurellm_request_building
Function · 0.80
test_deepseek_message_formatting
Function · 0.80
test_fireworks_message_formatting
Function · 0.80
test_xai_message_formatting
Function · 0.80
test_perplexity_message_formatting
Function · 0.80
test_openrouter_message_formatting
Function · 0.80
test_replicate_message_formatting
Function · 0.80
test_ai21labs_message_formatting
Function · 0.80
Calls
no outgoing calls
Tested by
12
test_azurellm_message_formatting
Function · 0.64
test_azurellm_request_building
Function · 0.64
test_deepseek_message_formatting
Function · 0.64
test_fireworks_message_formatting
Function · 0.64
test_xai_message_formatting
Function · 0.64
test_perplexity_message_formatting
Function · 0.64
test_openrouter_message_formatting
Function · 0.64
test_replicate_message_formatting
Function · 0.64
test_ai21labs_message_formatting
Function · 0.64
test_bytedance_message_formatting
Function · 0.64
test_llm_request_building
Function · 0.64
test_llm_request_validation
Function · 0.64