For the complete documentation index, see llms.txt. This page is also available as Markdown.

SEARCH

Search over text breaks when the words in the query do not match the words in the document. The page starts with a BERT-based search engine that matches meaning instead of tokens, then lists the recurring semantic-search problems and the fixes for each.

The same notes are in RAG, Vector databases, and VECTOR SIMILARITY SEARCH.

The concrete example is a Bert search engine built to organize the fast-growing pile of COVID-19 research papers. Bert cosine between paragraphs and question is the whole ranking step: embed both, and return the paragraphs closest to the question.

A single embedding model is only one piece of a search system. The rest of the system is semantic search, auto completion, filtering, augmentation, and scoring. The problems it has to handle are token matching, contextualization, query misunderstanding, image search, and the metric. The solutions are synonym generation, query autocompletion, alternate query generation, word and doc embedding, contextualization, ranking, ensemble, and multilingual search.

  • Bert search engine**, cosine between paragraphs and question.** This address no longer opens: https://towardsdatascience.com/covid-19-bert-literature-search-engine-4d06cdac08bd

Last updated

Was this helpful?