Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set default temperature value #2288

Merged
merged 2 commits into from
Jun 24, 2024
Merged

set default temperature value #2288

merged 2 commits into from
Jun 24, 2024

Conversation

italojohnny
Copy link
Collaborator

This PR sets a default value for the temperature attribute of the Ollama model. The goal is to enhance the user experience.

Copy link

vercel bot commented Jun 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langflow ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2024 0:52am

Copy link

render bot commented Jun 24, 2024

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 24, 2024
@dosubot dosubot bot added enhancement New feature or request python Pull requests that update Python code labels Jun 24, 2024
@@ -25,6 +25,7 @@ class OllamaEmbeddingsComponent(LCModelComponent):
FloatInput(
name="temperature",
display_name="Model Temperature",
value=1.0,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.0 is too high. Should be 0.1

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adjusted

Copy link

vercel bot commented Jun 24, 2024

Deployment failed with the following error:

Resource is limited - try again in 3 hours (more than 100, code: "api-deployments-free-per-day").

@ogabrielluiz ogabrielluiz merged commit 5505d3f into dev Jun 24, 2024
10 of 13 checks passed
@ogabrielluiz ogabrielluiz deleted the lf/fix_ollama_model branch June 24, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python Pull requests that update Python code size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants