Skip to content

Commit

Permalink
fully fix the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
liyin2015 committed Dec 12, 2024
1 parent fbe3348 commit 343fc63
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion benchmarks/hotpot_qa/adal_exp/build_multi_hop_rag.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,11 @@ def forward(self, *, input: str, id: str = None) -> adal.Parameter:
if x.full_response
and x.full_response.data
and x.full_response.data.query
else x.data.raw_response if x.data and x.data.raw_response else None
else (
x.full_response.raw_response
if x.full_response and x.full_response.raw_response
else None
)
)
print(f"query {i}: {success_map_fn(gen_out)}")

Expand Down

0 comments on commit 343fc63

Please sign in to comment.