You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When initializing a class such as VertexAI, the process completes "smoothly" even when incorrect keyword arguments are provided. For example, I encountered the following issue:
The code executes without any warnings, despite the fact that safety_setting is incorrect and should be written as safety_settings. This can be problematic, as it may lead to unexpected model behavior, which is difficult to diagnose.
I am raising this issue with VertexAI, but I am unsure if the same behavior occurs with other classes as well. If you agree with this problematic behavior, and you believe that it needs to be changed, I can open a PR with fixing this issue.
The text was updated successfully, but these errors were encountered:
Yes, raising a warning never hurts. Please, feel free to send the PR.
The problem is, that we can never be sure 100% whether this kwargs is meant for ChatVertexAI / VertexAI or not.
When initializing a class such as
VertexAI
, the process completes "smoothly" even when incorrect keyword arguments are provided. For example, I encountered the following issue:The code executes without any warnings, despite the fact that
safety_setting
is incorrect and should be written assafety_settings
. This can be problematic, as it may lead to unexpected model behavior, which is difficult to diagnose.I am raising this issue with VertexAI, but I am unsure if the same behavior occurs with other classes as well. If you agree with this problematic behavior, and you believe that it needs to be changed, I can open a PR with fixing this issue.
The text was updated successfully, but these errors were encountered: