Embedding
Search legal text by meaning, not just words
Overview
Embedding
Embedding, or vectorization, is the process of converting content into sets of numbers that, when compared mathematically with each other, quantify how similar they are in meaning. Embeddings are used to power semantic search engines, text classification, and cluster analysis, as well as the retrieval component of retrieval-augmented generation (RAG) applications.
Use cases
Benchmark-leading accuracy
Ranks first on MLEB — the largest benchmark for legal text embedding models.
Despite being many times smaller, Kanon 2 Embedder beats the performance of OpenAI’s Text Embedding 3 Large by 9% on MLEB, while simultaneously being 30% quicker than their fastest current-generation embedder, Text Embedding 3 Small.
Thanks to its extreme parameter efficiency, Kanon 2 Embedder sets the new Pareto frontier in balancing inference time with legal information retrieval performance. In fact, it is the fastest of all commercial models currently on MLEB.
The top 4 models on MLEB by NDCG@10 score Privacy by default
Your data is not used to train models by default.
Kanon 2 Embedder is privacy and security friendly — none of your data is used to train our models by default — and can be self-hosted for enterprises with heightened security or reliability requirements.
Kanon 2 Embedder is available for self-hosting via private, air-gapped containers on the AWS Marketplace.
Purpose-built over generic
Pretrained on billions of legal tokens and finetuned on expert-reviewed query–document pairs.
Improving on the original Kanon model’s 512-token context window, Kanon 2 Embedder supports up to 16,384 tokens. Like other modern text embedding models, it is Matryoshka-aware, supporting 1,024, 768, 512, and 256 dimensions, with a default of 1,792.
The world’s most accurate legal embedding model is available through our embedding endpoint — with a quickstart guide to get you embedding your first query and document in minutes.