TL;DR LangChain, ChatGPT, and other emerging technology have made it possible to build some really creative tools. In this tutorial, we’ll build a full-stack web app (LangChainJS, React, NodeJS) that acts as our own personal Twitter Agent, or “intern...

Markdown supported · ⌘↵ to post
Vince Canger
Hey again, Vince Canger!
Just thought I would help out as I am stepping through this tutorial. It looks like rettiwt-api made an update that needs to be addressed here. See github.com/Rishikant181/Rettiwt-API/issues/315
Hey there, Vince Canger! First off, this is an amazing tutorial you've put together and I am looking forward to having a working version here soon!
I'm running into an issue with the export const generateNewIdeas: GenerateNewIdeas<unknown, void> = async (_args, context) => {...} function, specifically, it is complaining that src/ext-src/ideas.ts(102,49): error TS2344: Type 'unknown' does not satisfy the constraint 'Payload'.
I changed the unknown to be of type Payload. Is that a sufficient enough work around?
Will take a couple of week to study this!!! BUt iT wiLL be woRTH IT. loved this article :) :) :)
On clicking 'Generate New Ideas' it shows a pop up TypeError: Cannot read properties of undefined (reading 'instructions')
In MainPage.tsx on await generateNewIdeas() it shows the following error :
Expected 1 arguments, but got 0.ts(2554)
types.ts(7, 6): Arguments for the rest parameter 'args' were not provided
How do I resolve this? btw great blog and gg till now!
This is cool stuff, I'm gonna build this over the weekend. Thanks for the detailed instructions!
Vince Canger
Raghu S
Founder & a software engineer.
Nice Content!!!