by melanieb421 · 3y ago · 0 comments
Looking at it from a different angle - what if AI could search your internal docs, and help you problem-solve? Aka help you exploit past knowledge to inform future decisions?
The hope: GPT will democratize creation, not fill the internet with shitty articles.
Searching your internal docs is an interesting one, but it's still unclear what this can do that grep can't. The leap forward would be ability to reason autonomously, but we're as far from that as we've ever been.
But there definitely is an upside for those who separate writing from communicating.
(Spoiler: I worked on this feature @ Slite) But in practice, the effectiveness of your pipeline will depend greatly upon exactly how you implement each piece.
Here are some of the things we've had to consider and develop, in order for the Q&A to be production worthy:
- at which level is it best to encode documents (sentence, paragraph, whole doc) and how can those tiered embeddings be weighed effectively?
- how to use the natural document hierarchy in the workspace?
- where to add NLI, so we can actually compare in-model "does this statement imply that statement" rather than just comparing vectors
- how to prioritize passages using additional fine-grained ranking against the question (cross-encoding, etc)?
- how to compute a "confidence" score so that we actually take the generative (GPT) part out of the equation and bail out early, if the documents do no contain anything which strongly implies an answer to your specific query
These are just a few of the pieces. But what we learned quickly is that solving the problem of building a great Q&A means first solving many problems that are deeply intertwined with search algorithms, natural language understanding, and other text problems in general.
(and yes, there is an import feature for the aforementioned other tool).