chore: removing unused var
This commit is contained in:
parent
96a32dfc67
commit
90faf22dd0
1 changed files with 0 additions and 2 deletions
|
|
@ -93,8 +93,6 @@ class TemporalRetriever(GraphCompletionRetriever):
|
||||||
|
|
||||||
events_with_scores.sort(key=itemgetter("score"))
|
events_with_scores.sort(key=itemgetter("score"))
|
||||||
|
|
||||||
top_events = events_with_scores[: self.top_k]
|
|
||||||
|
|
||||||
return events_with_scores[: self.top_k]
|
return events_with_scores[: self.top_k]
|
||||||
|
|
||||||
async def get_context(self, query: str) -> Any:
|
async def get_context(self, query: str) -> Any:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue