Self Checks
Provide a description of the help you need
we're encountering a specific challenge regarding the merging of segments retrieved from a query search in our vector database. The issue arises when a query search successfully identifies a matching segment, but the actual content may have been fragmented into multiple segments. Our goal is to seamlessly merge the identified segment with the subsequent three segments to form a cohesive context to feed into a large language model.
for example,a text:
How to be rich?
- Develop a written financial plan
- Get into the habit of saving
- Live below your means
- Stay out of debt
- Invest in ways that work for you
- Start your own business
- Get professional advice
but the text above was split into two segement. When user query "How to be rich?",only first half part was found.
Is is it possible to merge the identified segment with the subsequent 1 or 2 segments to form a cohesive context to feed into a large language model?
Self Checks
Provide a description of the help you need
we're encountering a specific challenge regarding the merging of segments retrieved from a query search in our vector database. The issue arises when a query search successfully identifies a matching segment, but the actual content may have been fragmented into multiple segments. Our goal is to seamlessly merge the identified segment with the subsequent three segments to form a cohesive context to feed into a large language model.
for example,a text:
but the text above was split into two segement. When user query "How to be rich?",only first half part was found.
Is is it possible to merge the identified segment with the subsequent 1 or 2 segments to form a cohesive context to feed into a large language model?