News for hackers. Stuff that matters.
Re:Introducing GPTs by bluecrab on Monday November 06, 2023 @03:10PM (#38168233)
Vector DBs should never have existed in the first place. I feel sorry for the agent startups though.
Re:Introducing GPTs by m3kw9 on Monday November 06, 2023 @03:18PM (#38168359)
How does this absolve vectordbs
Re:Introducing GPTs by dragonwriter on Monday November 06, 2023 @03:21PM (#38168404)
If you are using OpenAI, the new Assistants API looks like itnwill handle internally what you used to handle externally with a vector DB for RAG (and for some things, GPT-4-Turbo’s 128k context window will make it unnecessary entirely.) There are some other uses for Vector DBs than RAG for LLMs, and there are reasons people might use non-OpenAI LLMs with RAG, so there is still a role for VectorDBs, but it shrunk a lot with this.
Re:Introducing GPTs by oezi on Monday November 06, 2023 @04:36PM (#38169369)
OpenAI is still way too expensive to run a corporate knowledge base on top
Re:Introducing GPTs by m3kw9 on Monday November 06, 2023 @09:19PM (#38172362)
It’s more reliable than chatpdfs that relies on vector search. With vector db all you are doing is doing a fuzzy search and then sending in that relevant portion near that text and send it to a LLM model as part of a prompt. It misses info.
Re:Introducing GPTs by dragonwriter on Monday November 06, 2023 @11:57PM (#38173415)
I'd be very surprised if the Assistants API is not doing RAG with a vector DB behind the scenes with the supplied files.
Re:Introducing GPTs by danielbln on Monday November 06, 2023 @03:21PM (#38168395)
It doesn't, but semantic search is a lot less relevant if you can squeeze 350 pages of text into the context.
Re:Introducing GPTs by quinncom on Monday November 06, 2023 @04:55PM (#38169586)
OpenAI charges for all those input tokens. If an app requires squeezing 350 pages of content in every request is going to cost more. Vector DB still relevant for cost and speed.
Re:Introducing GPTs by gk1 on Monday November 06, 2023 @09:18PM (#38172359)
Besides the cost factor, stuffing the context window can actually make the results worse. https://www.pinecone.io/blog/why-use-retrieval-instead-of-la...