Skip to content

Commit

Permalink
Merge pull request stanford-oval#132 from zenith110/users/zenith110/131
Browse files Browse the repository at this point in the history
[RM Enhancement] Fixed SerperRM when knowledge graph is none to properly return data
  • Loading branch information
Yucheng-Jiang authored Aug 5, 2024
2 parents cbb38da + 51d0d2f commit 17ff5d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions knowledge_storm/rm.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ def forward(self, query_or_queries: Union[str, List[str]], exclude_urls: List[st
collected_results.append(
{
'snippets': snippets,
'title': result.get('title'),
'url': result.get('link'),
'title': organic.get('title'),
'url': organic.get('link'),
'description': '',
}
)
Expand Down

0 comments on commit 17ff5d5

Please sign in to comment.