Does it make sense to pre-compute the compressions for each document chunk before indexing in a vector store? #134
Answered
by
iofu728
stephenleo
asked this question in
Q&A
|
Is it advisable to pre-compute every document chunk's compression before indexing it into a vector store? For example
Please let me know if you forsee any issues with this approach? |
Answered by
iofu728
Apr 18, 2024
Replies: 1 comment
|
Hi @stephenleo, thanks for your support. I think it's reasonable. However, one thing you might need to consider is that during retrieval, you may still need to use the original document, as the retrieval model is trained on natural language. After that, you can recall the compressed document and concatenate it to the prompt. |
0 replies
Answer selected by
iofu728
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @stephenleo, thanks for your support.
I think it's reasonable. However, one thing you might need to consider is that during retrieval, you may still need to use the original document, as the retrieval model is trained on natural language. After that, you can recall the compressed document and concatenate it to the prompt.