Find answers from the community

s
F
Y
a
P
Updated 2 years ago

I’ve got a database of a few hundred

I’ve got a database of a few hundred email newsletters I’ve sent over the years, including open rates, unsubscribes, etc.
I want to query stuff like “what are the common themes between emails with the highest open rates?”
I can’t do that with the sql index alone or simple vector index. That’s where I’m stuck. I’ve tried using sql and vector as tools in langchain but the agent can’t figure it out. I think I need metadata in my simple vector but can’t that out. Can anyone point me in the right direction? Or have a similar use case?
j
o
L
3 comments
out of curiosity why doesn't the SQL index work for your use case?
It’s good for returning data but not for doing anything creative like I can with the vector store. Was hoping for the best of both worlds. Hyrbid vector store + sql
I wonder what issues you had with the langchain agent? If you write the descriptions really creatively, I would think the results would be not bad
Add a reply
Sign up and join the conversation on Discord