-
Notifications
You must be signed in to change notification settings - Fork 6.2k
feat: Ollama model name can be selected with a text input node #7282
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
base: main
Are you sure you want to change the base?
Conversation
This feature will permit to easily change of model when chaining ollama llm nodes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @sancelot
Thanks for the PR.
The correct way of doing this would be to add a input_types = ["Message"]
to the model_name
input.
@ogabrielluiz can't we have a combo box for the drop-down to sort this issue? |
@@ -34,6 +34,12 @@ class ChatOllamaComponent(LCModelComponent): | |||
refresh_button=True, | |||
real_time_refresh=True, | |||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
), | |
combobox=True | |
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR, can we also try combo box and see if that would fix the issue?
@ogabrielluiz what do you suggest?
This feature will permit to easily change of model when chaining ollama llm nodes