Semantic vs search embedding

Semantic embeddings are better for measuring the similarity between two texts, while search embeddings are better for finding long texts that are relevant to a short query.

Example:

  • Semantic embedding: What is the similarity between the sentences: ‘The cat sat on the mat’ and ‘The feline sat on the rug’?
  • Search embedding: Find all documents in the database that are relevant to the query: ‘What is the capital of France?’
2 Likes