AttributeError when tool invoked with 2 arguments #1362
-
I am trying to create a tool which reviews the generated ad copy, accepting the ad and the review request from the user. Calling the invoke I get the following error:
Here is the node that invokes the tool:
Also this is my tool:
What I am doing wrong here? I don't have this issue when the tool accepts a single parameter. |
Beta Was this translation helpful? Give feedback.
Answered by
hinthornw
Aug 15, 2024
Replies: 2 comments 3 replies
-
Good q: review_ad_copy.invoke({"ad_copy": ad_copy.content, "review_request": review_request.content}) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
prajwal-svl
-
Thanks.
Although this runs. I get deprecated warning
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good q: