Skip to content

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
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by iofu728
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants