← All questions
Retrieval & EmbeddingsHard· Vector Embeddings· Retrieval· System Design

Would you compress each retrieved document into a singl...

This is a requirements question disguised as a technical compression question. Retrieval embeddings are optimized for similarity, while the generator’s space is optimized for generation, necessitating a trained projection. Regarding capacity, the constraint is not the dimensionality of the vector, but the objective of the retrieval task itself.

Code playground (Python)