diff --git a/packages/hotpotqa/src/aviary/envs/hotpotqa/env.py b/packages/hotpotqa/src/aviary/envs/hotpotqa/env.py index f35ee956..5689d4c2 100644 --- a/packages/hotpotqa/src/aviary/envs/hotpotqa/env.py +++ b/packages/hotpotqa/src/aviary/envs/hotpotqa/env.py @@ -445,7 +445,7 @@ def construct_lookup_list(self, keyword: str) -> str: self.state.last_lookup = keyword self.state.lookup_results = [ s.strip() + "." - for s in self.state.page.split(". ") + for s in self.state.page.split("\n") if s.strip() and keyword.lower() in s.lower() ] self.state.lookup_index = 0