Skip to content

Commit

Permalink
Fix another typing errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Liraim committed Oct 22, 2024
1 parent 27ac5b6 commit 28c03d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/evidently/experimental/dataset_generators/llm/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Config:
]

@llm_call
def generate(self, seed_question: str, number: int) -> List[str]: ...
def generate(self, seed_question: str, number: int) -> List[str]: ... # type: ignore[empty-body]


class QuestionsFromContextPromptTemplate(WithSystemPrompt, BlockPromptTemplate):
Expand All @@ -41,7 +41,7 @@ class Config:
system_prompt: str = "You are an assistant who generates questions based on provided context"

@llm_call
def generate_questions(self, context: str, number: int) -> List[str]: ...
def generate_questions(self, context: str, number: int) -> List[str]: ... # type: ignore[empty-body]


class NaiveQuestionsFromContextPromptTemplate(QuestionsFromContextPromptTemplate):
Expand Down

0 comments on commit 28c03d7

Please sign in to comment.