Implement retrieval_test in GO (#14231)

### What problem does this PR solve?

Implement retrieval_test in GO

### Type of change

- [x] Refactoring
This commit is contained in:
qinling0210
2026-04-24 15:30:14 +08:00
committed by GitHub
parent aadd9a333f
commit 1473000135
42 changed files with 4822 additions and 1609 deletions

View File

@@ -157,6 +157,7 @@ async def retrieval_test():
if ck["content_with_weight"]:
ranks["chunks"].insert(0, ck)
ranks["chunks"] = settings.retriever.retrieval_by_children(ranks["chunks"], tenant_ids)
ranks["total"] = len(ranks["chunks"])
for c in ranks["chunks"]:
c.pop("vector", None)