Glossary · Retrieval & memory
Bi-encoder
A bi-encoder is a retrieval model that encodes queries and documents separately into embeddings, so document vectors can be precomputed and compared quickly with any query at search time.
Bi-encoder sits in the Retrieval & memory part of the Agentik {OS} glossary, which defines the words used to build and run AI agent systems.
Also called dual encoder, two-tower model.