Issue with NodeJs OSS version
🐛 Describe the bug
There are several issues with NodeJs oss version of mem0
- when using Supabase getting below error everytime i followed exactly same steps as mentioned in supabase provider docs of mem0
Error getting user ID: {
code: 'PGRST205',
details: null,
hint: "Perhaps you meant the table 'public.memories'",
message: "Could not find the table 'public.memory_migrations' in the schema cache"
}
- When using Redis coud not configure the redis
Error creating index cannot read properties of undefined reading toString
- When using pgvector Documentation suggests ts can also use pg vector but when adding config the vector is not working. i digged into the code base there is pgvector class but in Factory method pgvector is not considered https://github.com/mem0ai/mem0/blob/88ae952483aa85811d28c47722b123d795cec68a/mem0-ts/src/oss/src/utils/factory.ts#L84 https://github.com/mem0ai/mem0/blob/88ae952483aa85811d28c47722b123d795cec68a/mem0-ts/src/oss/src/utils/factory.ts#L99
Unsupported vector store provider: pgvector
For cloudflare worker getting below error
Error getting user ID: Error: 400 {"result":null,"success":false,"errors":[{"code":3003,"message":"vectorize.index.invalid_config - Dimensions must be in range: [32, 1536]"}],"messages":[]}
Hey @anmol098 we don't have support for the pgvector on the Node SDK. Sorry for the trouble we will definitely update the docs.
@parshvadaftari what about the other Providers for Node SDK ? seems like except Memory all other nodeJs providers are breaking
Hey @anmol098 Can you share me code snippet for which you're using? Really sorry for the trouble caused.
Hi @parshvadaftari i have created a small example repo which you run and replicate the issue https://github.com/anmol098/mem0-test
Hey @anmol098 thanks for sharing the repo! I’ll check out the issue and get back to you here.
@parshvadaftari were you able to replicate the issue ? any ETA ?
Hey @anmol098 really sorry for the trouble, there are few things which pushes this particular issue back. But will be resolved by end of this week.
Hey @parshvadaftari, I would love to work on this issue. Could you please assign this to me?
Any updates on this ?