mirror of
https://github.com/kennethreitz/instructor.git
synced 2026-06-05 22:50:18 +00:00
Fix typos (#395)
This commit is contained in:
@@ -61,13 +61,13 @@ class Fact(BaseModel):
|
||||
|
||||
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",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user