Skip to content

Commit 7206b98

Browse files
thecaptain789thecaptain789
andauthored
fix: correct typos 'seperate' to 'separate' in examples and tests (#2075)
Co-authored-by: thecaptain789 <thecaptain789@proton.me>
1 parent 7bbf595 commit 7206b98

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

examples/citation_with_extraction/citation_fuzzy_match.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class QuestionAnswer(instructor.ResponseSchema):
6666
question: str = Field(..., description="Question that was asked")
6767
answer: list[Fact] = Field(
6868
...,
69-
description="Body of the answer, each fact should be its seperate object with a body and a list of sources",
69+
description="Body of the answer, each fact should be its separate object with a body and a list of sources",
7070
)
7171

7272
@model_validator(mode="after")

examples/extract-table/run_vision.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def md_to_df(data: Any) -> Any:
4444
"description": """
4545
The markdown representation of the table,
4646
each one should be tidy, do not try to join tables
47-
that should be seperate""",
47+
that should be separate""",
4848
}
4949
),
5050
]

examples/extract-table/run_vision_langsmith.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def md_to_df(data: Any) -> Any:
4545
"description": """
4646
The markdown representation of the table,
4747
each one should be tidy, do not try to join tables
48-
that should be seperate""",
48+
that should be separate""",
4949
}
5050
),
5151
]

examples/extract-table/run_vision_org_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def md_to_df(data: Any) -> Any:
4444
"description": """
4545
The markdown representation of the table,
4646
each one should be tidy, do not try to join tables
47-
that should be seperate""",
47+
that should be separate""",
4848
}
4949
),
5050
]

examples/logfire/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def md_to_df(data: Any) -> Any:
4040
WithJsonSchema(
4141
{
4242
"type": "string",
43-
"description": "The markdown representation of the table, each one should be tidy, do not try to join tables that should be seperate",
43+
"description": "The markdown representation of the table, each one should be tidy, do not try to join tables that should be separate",
4444
}
4545
),
4646
]

examples/resolving-complex-entities/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Entity(BaseModel):
3939
class DocumentExtraction(BaseModel):
4040
entities: list[Entity] = Field(
4141
...,
42-
description="Body of the answer, each fact should be its seperate object with a body and a list of sources",
42+
description="Body of the answer, each fact should be its separate object with a body and a list of sources",
4343
)
4444

4545

examples/vision/run_table.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def md_to_df(data: Any) -> Any:
4444
"description": """
4545
The markdown representation of the table,
4646
each one should be tidy, do not try to join tables
47-
that should be seperate""",
47+
that should be separate""",
4848
}
4949
),
5050
]
@@ -68,7 +68,7 @@ def extract_table(url: str):
6868
"type": "text",
6969
"text": """Extract the table from the image, and describe it.
7070
Each table should be tidy, do not try to join tables that
71-
should be seperately described.""",
71+
should be separately described.""",
7272
},
7373
{
7474
"type": "image_url",

tests/llm/test_writer/evals/test_entities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Entity(BaseModel):
3838
class DocumentExtraction(BaseModel):
3939
entities: list[Entity] = Field(
4040
...,
41-
description="Body of the answer, each fact should be its seperate object with a body and a list of sources",
41+
description="Body of the answer, each fact should be its separate object with a body and a list of sources",
4242
)
4343

4444

0 commit comments

Comments
 (0)