Package com.tnsai.evaluation.rag.embedding
package com.tnsai.evaluation.rag.embedding
Opt-in multilingual embedding retrieval bench (TAN-2998).
Default mvn test never talks to a model host. The measured
mE5 vs BGE-M3 comparison runs only under -Pembedding-bench.
- Since:
- 0.14.0
-
ClassDescriptionFixed TR/EN retrieval fixture shipped with the evaluation module.Named embedder under comparison.Per-model scorecard across every slice.One query and its gold document inside a
EmbeddingBenchSlice.Picks a default candidate and a quality override from measured scores.Renders a markdown table for the measured model × slice matrix.Runs the bilingual fixture against one or moreEmbeddingBenchModels.Language slice of the bilingual retrieval fixture.Retrieval metrics for one language slice.EmbeddingFunctionover an Ollama/api/embedendpoint.Deterministic bag-of-tokens embedding used as an offline bench baseline.