Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Question Generation module for evaluation. #1231

Merged
merged 10 commits into from
Apr 19, 2023
Prev Previous commit
resolve lint errors
  • Loading branch information
ravi03071991 committed Apr 19, 2023
commit 59b784a64dba5a778180ec4b895a3ee08bb799c3
2 changes: 1 addition & 1 deletion gpt_index/evaluation/dataset_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(
model_name: str = "gpt-3.5-turbo",
num_questions_per_chunk: int = 10,
text_question_template: Optional[QuestionAnswerPrompt] = None,
question_gen_query: Optional[str] = None
question_gen_query: Optional[str] = None,
) -> None:
"""Init params."""
self.documents = SimpleDirectoryReader(data_folder).load_data()
Expand Down