3 ms·
There are a couple of things that can help. As has been pointed out by other commenters - chunking up content is very useful. The other often neglected approac
by iamflimflam1 3y ago
There are a couple of things that can help. As has been pointed out by other commenters - chunking up content is very useful.
The other often neglected approach is to use an LLM to derive new content and use the embedding of this as well.
E.g. ask the LLM “give me a list of questions that can be answered by the following passage”
You then use embeddings of the generated questions instead of embeddings of the original content.
- jerpint 3y agoanother approach is HyDE, where you ask the LLM to come up with a plausible (but likely wrong) answer, and use the embedding of the wrong answer to find the appropriate chunk, pretty clever