#util/convex is not exported by package "langchain"
32 messages · Page 1 of 1 (latest)
Do you have langchain community installed
I think langchain automatically installs that
should just need to npm i langchain
hmm maybe not looking at the source
yes. i look in folder langchain/util and dont see file this name convex
it would be in your node_modules, not your project source
yes, i know
I think v is right, you'll need to install @langchain/community explicitly, just curious why the convex tutorial and example repo doesn't mention this
I'm going to boot up on PC and see
i install langchain and langchain/community too ``` "@langchain/community": "^0.2.20",
"@langchain/openai": "^0.2.4",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-slot": "^1.1.0",
"ai": "^3.2.35",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"convex": "^1.13.2",
"langchain": "^0.2.10",
"lucide-react": "^0.414.0",
"next": "14.2.4",
"react": "^18",
"react-dom": "^18",
"tailwind-merge": "^2.4.0",
"tailwindcss-animate": "^1.0.7"
Hmmm
If this is broken in recent langchain version you could downgrade to the version used in our demos:
"langchain": "0.0.189",
That's package locked directly to 0.0.189, I believe that semver range will currently resolve to latest (0.2), which has this issue. May need to pin 0.0.189.
But pretty sure it's not broken, just dependencies have moved.
maybe changed path
@main mantle try export * from '@langchain/community/util/convex
actually it's "utils", plural
The CDN for @langchain/community
yes . thx. convex should fix docs
also langchain
also erquhart said this first
i was just repeating what he said, hes the goat
thx for help)
thanks guys, now my app working. convex and langchain fix this pls
my pr was merged https://js.langchain.com/v0.2/docs/integrations/vectorstores/convex/