llm-join 0.2.7__tar.gz → 0.2.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {llm_join-0.2.7 → llm_join-0.2.8}/PKG-INFO +1 -1
- {llm_join-0.2.7 → llm_join-0.2.8}/llm_join/__init__.py +1 -1
- {llm_join-0.2.7 → llm_join-0.2.8}/llm_join/join.py +6 -2
- {llm_join-0.2.7 → llm_join-0.2.8}/pyproject.toml +1 -1
- {llm_join-0.2.7 → llm_join-0.2.8}/.github/workflows/ci.yml +0 -0
- {llm_join-0.2.7 → llm_join-0.2.8}/.gitignore +0 -0
- {llm_join-0.2.7 → llm_join-0.2.8}/README.md +0 -0
- {llm_join-0.2.7 → llm_join-0.2.8}/llm_join/config.py +0 -0
- {llm_join-0.2.7 → llm_join-0.2.8}/llm_join/merger.py +0 -0
- {llm_join-0.2.7 → llm_join-0.2.8}/llm_join/prompts.py +0 -0
- {llm_join-0.2.7 → llm_join-0.2.8}/llm_join/retriever.py +0 -0
- {llm_join-0.2.7 → llm_join-0.2.8}/llm_join/scorer.py +0 -0
|
@@ -94,6 +94,10 @@ def fuzzy_join(
|
|
|
94
94
|
break
|
|
95
95
|
|
|
96
96
|
candidates = [c for c, _ in candidates_with_scores]
|
|
97
|
+
candidates_debug = [
|
|
98
|
+
{"candidate": c, "embed_score": round(s, 4)}
|
|
99
|
+
for c, s in candidates_with_scores
|
|
100
|
+
]
|
|
97
101
|
results = scorer.score(left_val, candidates, cfg.context_str, threshold=cfg.threshold)
|
|
98
102
|
llm_call_count += 1
|
|
99
103
|
if results is None:
|
|
@@ -106,11 +110,11 @@ def fuzzy_join(
|
|
|
106
110
|
reasoning="LLM failed — embed rank-0 fallback used",
|
|
107
111
|
embed_rank=0,
|
|
108
112
|
match_method="embed_fallback",
|
|
109
|
-
candidates=
|
|
113
|
+
candidates=candidates_debug,
|
|
110
114
|
))
|
|
111
115
|
elif results:
|
|
112
116
|
for r in results:
|
|
113
|
-
r.candidates =
|
|
117
|
+
r.candidates = candidates_debug
|
|
114
118
|
matches.extend(results)
|
|
115
119
|
|
|
116
120
|
return merger.merge(df1, df2, left_col, right_col, matches, how=how, return_reasoning=return_reasoning)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|