|
| 1 | +name = "reranking" |
| 2 | +description = "Audit the user-guide reranking docs against public SDK reranker APIs, tested behavior, and user-facing examples in lancedb and docs snippets/tests." |
| 3 | +docs_repo = "docs" |
| 4 | +rotation_unit = "page" |
| 5 | +keywords = [ |
| 6 | + "rerank_hybrid", |
| 7 | + "rerank_vector", |
| 8 | + "rerank_fts", |
| 9 | + "rerank_multivector", |
| 10 | + "return_score", |
| 11 | + "RRFReranker", |
| 12 | + "MRRReranker", |
| 13 | + "LinearCombinationReranker", |
| 14 | +] |
| 15 | + |
| 16 | +[[pages]] |
| 17 | +id = "overview" |
| 18 | +title = "Reranking Search Results" |
| 19 | +path = "docs/reranking/index.mdx" |
| 20 | +keywords = ["reranking", "CohereReranker", "CrossEncoderReranker", "ColbertReranker", "rerank_multivector", "deduplicate"] |
| 21 | + |
| 22 | +[[pages]] |
| 23 | +id = "custom-reranker" |
| 24 | +title = "Building Custom Rerankers" |
| 25 | +path = "docs/reranking/custom-reranker.mdx" |
| 26 | +keywords = ["custom reranker", "Reranker", "rerank_hybrid", "rerank_vector", "rerank_fts", "merge_results", "return_score"] |
| 27 | + |
| 28 | +[[pages]] |
| 29 | +id = "evaluation" |
| 30 | +title = "Evaluating Hybrid Search Performance" |
| 31 | +path = "docs/reranking/eval.mdx" |
| 32 | +keywords = ["hybrid search", "reranking strategies", "score-based", "relevance-based", "Linear Combination", "Cross Encoder", "Cohere", "ColBERT"] |
| 33 | + |
| 34 | +[[sources]] |
| 35 | +id = "lancedb-python-reranker-core" |
| 36 | +repo = "lancedb" |
| 37 | +kind = "public_python_api" |
| 38 | +applies_to = ["overview", "custom-reranker", "evaluation"] |
| 39 | +paths = [ |
| 40 | + "python/python/lancedb/rerankers/__init__.py", |
| 41 | + "python/python/lancedb/rerankers/base.py", |
| 42 | + "python/python/lancedb/rerankers/linear_combination.py", |
| 43 | + "python/python/lancedb/rerankers/mrr.py", |
| 44 | + "python/python/lancedb/rerankers/rrf.py", |
| 45 | + "python/python/lancedb/query.py", |
| 46 | +] |
| 47 | +extract_keywords = ["Reranker", "rerank_hybrid", "rerank_vector", "rerank_fts", "merge_results", "rerank_multivector", "return_score", "_relevance_score", "RRFReranker", "MRRReranker", "LinearCombinationReranker"] |
| 48 | + |
| 49 | +[[sources]] |
| 50 | +id = "lancedb-python-reranker-tests" |
| 51 | +repo = "lancedb" |
| 52 | +kind = "public_python_tests" |
| 53 | +applies_to = ["overview", "custom-reranker", "evaluation"] |
| 54 | +paths = [ |
| 55 | + "python/python/tests/test_rerankers.py", |
| 56 | + "python/python/tests/test_hybrid_query.py", |
| 57 | +] |
| 58 | +extract_keywords = ["return_score", "_relevance_score", "rerank_multivector", "deduplicate", "RRFReranker", "MRRReranker", "LinearCombinationReranker", "CohereReranker", "CrossEncoderReranker", "ColbertReranker"] |
| 59 | + |
| 60 | +[[sources]] |
| 61 | +id = "lancedb-python-provider-rerankers-overview" |
| 62 | +repo = "lancedb" |
| 63 | +kind = "public_python_api" |
| 64 | +applies_to = ["overview"] |
| 65 | +paths = [ |
| 66 | + "python/python/lancedb/rerankers/cohere.py", |
| 67 | + "python/python/lancedb/rerankers/colbert.py", |
| 68 | + "python/python/lancedb/rerankers/cross_encoder.py", |
| 69 | +] |
| 70 | +extract_keywords = ["CohereReranker", "ColbertReranker", "CrossEncoderReranker", "model_name", "return_score", "_relevance_score"] |
| 71 | + |
| 72 | +[[sources]] |
| 73 | +id = "lancedb-typescript-rust-rerankers" |
| 74 | +repo = "lancedb" |
| 75 | +kind = "typescript_rust_api" |
| 76 | +applies_to = ["overview", "custom-reranker"] |
| 77 | +paths = [ |
| 78 | + "nodejs/lancedb/rerankers/index.ts", |
| 79 | + "nodejs/lancedb/rerankers/rrf.ts", |
| 80 | + "nodejs/__test__/rerankers.test.ts", |
| 81 | + "rust/lancedb/src/rerankers.rs", |
| 82 | + "rust/lancedb/src/rerankers/rrf.rs", |
| 83 | + "rust/lancedb/src/query.rs", |
| 84 | +] |
| 85 | +extract_keywords = ["Reranker", "RRFReranker", "rerankHybrid", "rerank_hybrid", "_relevance_score", "custom reranker"] |
| 86 | + |
| 87 | +[[sources]] |
| 88 | +id = "lancedb-generated-js-reranker-docs" |
| 89 | +repo = "lancedb" |
| 90 | +kind = "generated_api_docs" |
| 91 | +applies_to = ["overview"] |
| 92 | +paths = [ |
| 93 | + "docs/src/js/namespaces/rerankers/README.md", |
| 94 | + "docs/src/js/namespaces/rerankers/interfaces/Reranker.md", |
| 95 | + "docs/src/js/namespaces/rerankers/classes/RRFReranker.md", |
| 96 | + "docs/src/js/classes/VectorQuery.md", |
| 97 | +] |
| 98 | +extract_keywords = ["rerankers", "Reranker", "RRFReranker", "create", "rerank"] |
| 99 | + |
| 100 | +[[sources]] |
| 101 | +id = "sophon-reranking-example-surface" |
| 102 | +repo = "sophon" |
| 103 | +kind = "enterprise_surface" |
| 104 | +applies_to = ["overview"] |
| 105 | +paths = [ |
| 106 | + "src/dash/src/components/examples/components/ExampleCards.tsx", |
| 107 | +] |
| 108 | +extract_keywords = ["reranking", "RRF", "hybrid-search", "custom reranking"] |
0 commit comments