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
Everything works up until I add a prompt template after which the invoke method of the prompt template throws this error:
Argument of type "MessagesState" cannot be assigned to parameter "input" of type "dict[Unknown, Unknown]" in function "invoke"
"MessagesState" is not assignable to "dict[Unknown, Unknown]" [reportArgumentType]
I imagine this is a problem with my code and not the library, but I'm having trouble tracking down the issue. My full code looks like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm following the tutorial: https://python.langchain.com/docs/tutorials/chatbot/#prompt-templates
Everything works up until I add a prompt template after which the invoke method of the prompt template throws this error:
I imagine this is a problem with my code and not the library, but I'm having trouble tracking down the issue. My full code looks like this:
Beta Was this translation helpful? Give feedback.
All reactions