DSPy: The framework for programming—not prompting—language models
Python
Add context to details
Vasilije8a882a74a05a
diff --git a/dspy/datasets/hotpotqa.py b/dspy/datasets/hotpotqa.pyindex 9fbf08617..04684ac57 100644--- a/dspy/datasets/hotpotqa.py+++ b/dspy/datasets/hotpotqa.py@@ -18,7 +18,7 @@ class HotPotQA(Dataset):for raw_example in hf_official_train:if raw_example['level'] == 'hard':if keep_details is True:- keys = ['id', 'question', 'answer', 'type', 'supporting_facts']+ keys = ['id', 'question', 'answer', 'type', 'supporting_facts', 'context']elif keep_details == 'dev_titles':keys = ['question', 'answer', 'supporting_facts']else:@@ -81,4 +81,4 @@ Where did the star , who is also an executive producer, of the Mick begin her caBoth London and German have seen attacks during war, there was one specific type of attack that Germany called the blitz, what did London call a similar attack?Pre-Madonna was a collection of demos by the singer who was a leading presence during the emergence of what network?Alan Mills composed the classic folk song that tells the story of what?-"""\ No newline at end of file+"""