Wire token-budget packing into the overview/rerank fallback path
This commit is contained in:
@@ -42,6 +42,9 @@ def load_documents(path: Path) -> list[RetrievalDocument]:
|
||||
parent_id=raw.get("parent_id"),
|
||||
requires_visual_check=raw.get("requires_visual_check", False),
|
||||
drug_name=raw.get("drug_name"),
|
||||
part_index=raw.get("part_index"),
|
||||
part_count=raw.get("part_count"),
|
||||
context_labels=tuple(raw.get("context_labels") or ()),
|
||||
))
|
||||
return documents
|
||||
|
||||
|
||||
Reference in New Issue
Block a user