This is awesome. I just implemented ChatGPT into a demo and am now looking into vector databases. I'd love to be able to swap between different models and databases and LangChainJS looks like a good abstraction to use to do this.
If you have any specific questions, or want to chat with someone else using it, please don't be shy. My email and twitter handle are both in my profile. I truly love talking about all of this and hearing what other folks are working on.
(plan to talk about how we built it soon)
edit: clarify i work at cloudflare
Neat! Reminds me of using DynamoDB as a multi-dimensional store with (space-filling curve) z-order indexing [0], which isn't as fast (as native spatial databases, say) but it works. I wonder how performant retrofitting Workers KV is compared to a native vector database? Please do publish benchmarks, if possible.
[0] https://archive.is/ZGY1T / https://news.ycombinator.com/item?id=30009893