We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
str
1 parent 67c0270 commit 51d4d52Copy full SHA for 51d4d52
src/vectorcode/subcommands/query/reranker.py
@@ -71,7 +71,9 @@ def rerank(self, results: QueryResult) -> list[str]:
71
chunk_metas = results["metadatas"][query_chunk_idx]
72
chunk_docs = results["documents"][query_chunk_idx]
73
ranks = self.model.rank(
74
- self.query_chunks[query_chunk_idx], chunk_docs, apply_softmax=True
+ str(self.query_chunks[query_chunk_idx]),
75
+ list(str(i) for i in chunk_docs),
76
+ apply_softmax=True,
77
)
78
for rank in ranks:
79
if QueryInclude.chunk in self.configs.include:
0 commit comments