← All questions
Retrieval & EmbeddingsMedium· Generative Retrieval· Model Weights

A generative retriever memorizes the corpus into its pa...

In a generative retriever, the searchable index is dissolved into the model weights, but the document text remains outside. The parameters essentially hold a mapping from queries to document identifiers. The identifiers are then used as keys to retrieve the actual content from a separate payload store, which is still required for the system to function.

Code playground (Python)