Python v JS #1323
DavesDevFails
started this conversation in
General
Python v JS
#1323
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Started playing around with langchain the other day with my NodeJS app, so naturally I went for the JS version.
I wrote a wrapper to use ChatGPT as the LLM, and another wrapper to use duckduckgo search results as a tool for agents...
After some hacking with the agent index.js (adapting regex to look for 'Action 1: ' / 'Action 2: ' instead of just 'Action: ') I managed to get it working (sometimes). To watch the LLM using tools and reasoning with the results is mindblowing stuff (to me anyway), it's like seeing what a LLM can do for the first time again.
However after some testing it would appear that the JS version is lacking a bit more compared to python...
I tried to implement wolfram alfa only to find that the tool doesn't exist (yet?) on the JS version, also trying to use the conversational agent (from Langchainhub) resulted in an error 'Agent type unknown'.
I completely understand that this is a relatively new thing, but was just wondering if I'm doing something wrong or if this is just the state of the JS version at the moment.
Thanks again, can't wait to build something with this
Beta Was this translation helpful? Give feedback.
All reactions