Compare commits

...

3 Commits

Author SHA1 Message Date
ayush chaurasia
40ffe03cc8 format 2024-06-24 16:57:51 +05:30
ayush chaurasia
617ce3139b lint 2024-06-24 16:55:23 +05:30
ayush chaurasia
242bbe1897 use promote_options with concat_tables 2024-06-24 16:39:03 +05:30

View File

@@ -119,7 +119,9 @@ class Reranker(ABC):
fts_results : pa.Table
The results from the FTS search
"""
combined = pa.concat_tables([vector_results, fts_results], promote=True)
combined = pa.concat_tables(
[vector_results, fts_results], promote_options="default"
)
row_id = combined.column("_rowid")
# deduplicate