Skip to content

Commit

Permalink
Fix typos (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdreetz committed Feb 3, 2024
1 parent cc599ba commit 3f7f3c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/citation_with_extraction/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ def get_spans(self, context):

class QuestionAnswer(OpenAISchema, MultiTaskBase):
"""
Class representing a question and its answer as a list of facts each one should have a soruce.
Class representing a question and its answer as a list of facts each one should have a source.
each sentence contains a body and a list of sources."""

question: str = Field(..., description="Question that was asked")
tasks: List[Fact] = Field(
...,
description="Body of the answer, each fact should be its seperate object with a body and a list of sources",
description="Body of the answer, each fact should be its separate object with a body and a list of sources",
)


Expand Down

0 comments on commit 3f7f3c2

Please sign in to comment.