Skip to content

Commit

Permalink
Update llama_index.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushExel authored Oct 14, 2024
1 parent bd510cc commit c3b875f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ragged/dataset/llama_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_contexts(self) -> List[TextNode]:
return self.documents

def get_queries(self) -> List[str]:
return self.dataset[self.query_column_name].tolist()
return self.to_pandas()[self.query_column_name].tolist()

@property
def context_column_name(self):
Expand Down

0 comments on commit c3b875f

Please sign in to comment.