Type 'FewShotChatMessagePromptTemplate<any, any>' is not assignable to type 'ChatPromptTemplate<InputValues, string> | BaseMessagePromptTemplateLike'. #5330
Replies: 1 comment
-
To address the TypeScript error you're encountering with
Regarding the These steps should help you resolve the TypeScript error and align your project with the expected types and versions.
|
Beta Was this translation helpful? Give feedback.
-
Checked other resources
Commit to Help
Example Code
Description
https://www.youtube.com/watch?v=5ozH2z_vtj4&list=PLbGui_ZYuhigsI3cWlv-Dl3_R7CDNQR0u&index=8
I followed the instructions in the YouTube video exactly, but I am experiencing a bug like the one mentioned above. I have been trying to resolve this bug for 10 hours but haven't been able to fix it yet, so I need your help.
Additionally, I am curious about something mentioned in the video. It refers to a langchain version 0.1.9, but such a version does not exist.
System Info
node -v
v20.5.1
Beta Was this translation helpful? Give feedback.
All reactions