fix: Temperature limit in Google Gen AI model (#8133)

Update google_generative_ai.py
This commit is contained in:
Edwin Jose
2025-05-20 18:37:01 -04:00
committed by GitHub
parent 981081f3b7
commit 0da7fa5aeb

View File

@ -50,7 +50,7 @@ class GoogleGenerativeAIComponent(LCModelComponent):
name="temperature",
display_name="Temperature",
value=0.1,
range_spec=RangeSpec(min=0, max=2, step=0.01),
range_spec=RangeSpec(min=0, max=1, step=0.01),
info="Controls randomness. Lower values are more deterministic, higher values are more creative.",
),
IntInput(