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
commit 0da7fa5aeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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(