←back to thread

276 points Fendy | 9 comments | | HN request time: 0s | source | bottom
1. qaq ◴[] No.45170557[source]
"I recently spoke with the CTO of a popular AI note-taking app who told me something surprising: they spend twice as much on vector search as they do on OpenAI API calls. Think about that for a second. Running the retrieval layer costs them more than paying for the LLM itself. That flips the usual assumption on its head." Hmm well start sending full documents as part of context see it flip back :).
replies(3): >>45170757 #>>45171312 #>>45182178 #
2. heywoods ◴[] No.45170757[source]
Egress costs? I’m really surprised by this. Thanks for sharing.
replies(2): >>45170991 #>>45177575 #
3. qaq ◴[] No.45170991[source]
Sry maybe should've being more clear it was a sarcastic remark. The whole point of doing vector db search is to feed LLM with very targeted context so you can save $ on API calls to LLM.
replies(2): >>45171144 #>>45190030 #
4. infecto ◴[] No.45171144{3}[source]
That’s not the whole point it’s in the intersection of reducing tokens sent but also getting search both specific and generic enough to capture the correct context data.
replies(1): >>45173722 #
5. ◴[] No.45171312[source]
6. j45 ◴[] No.45173722{4}[source]
It's possible to create linking documents between the documents to help smooth out things in some cases.
7. andreasgl ◴[] No.45177575[source]
They’re likely using an HNSW index, which typically requires a lot of memory for large data sets.
8. dahcryn ◴[] No.45182178[source]
if they use AzureSearch, I fully understand it. Those things are hella expensive
9. heywoods ◴[] No.45190030{3}[source]
No worries. I should probably make sure I have at least a token understanding of the topic cloud based architecture before commenting next time haha.