Skip to content

I tried to implement the vector stores redis demo and got an error? Error: Expected a Runnable, function or object. #4835

Answered by dosubot bot
lycpan233 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there, @lycpan233! Great to see you diving into some adventurous coding again. How's everything on your end?

Based on the error message you're encountering, it seems like there might be an issue with the type of argument being passed to a function or method within the LangChain JS framework. The error message "Expected a Runnable, function or object. Instead got an unsupported type." suggests that a function, method, or constructor is receiving an argument of a type it doesn't support.

From the code snippet you provided, it appears that you're correctly using the LangChain JS framework's API for creating a RedisVectorStore from a set of documents. However, the issue might not be dire…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by lycpan233
Comment options

You must be logged in to vote
1 reply
@lycpan233
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants