News for hackers. Stuff that matters.
Re:Using LangChainJS and Cloudflare Workers together by rita3ko on Thursday May 18, 2023 @01:48PM (#35991584)
we (cloudflare) have a great example of a vector database build on workers + kv here: https://ai.cloudflare.com/demos/vector-store/

(plan to talk about how we built it soon)

edit: clarify i work at cloudflare

Re:Using LangChainJS and Cloudflare Workers together by ignoramous on Thursday May 18, 2023 @03:38PM (#35992996)
> plan to talk about how we built it soon

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

Re:Using LangChainJS and Cloudflare Workers together by iib on Thursday May 18, 2023 @03:57PM (#35993268)
Is this open source somewhere? It seems interesting to study