Skip to content

Commit

Permalink
Make Pydantic less fussy
Browse files Browse the repository at this point in the history
  • Loading branch information
woodthom2 committed Aug 27, 2024
1 parent 2562c3a commit a499ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/harmony/schemas/requests/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Question(BaseModel):
topics_auto: Optional[list] = Field(None, description="Automated list of topics identified by model")
topics_strengths: Optional[dict] = Field(None, description="Automated list of topics identified by model with strength of topic")
nearest_match_from_mhc_auto: Optional[dict] = Field(None, description="Automatically identified nearest MHC match")
closest_catalogue_question_match: CatalogueQuestion = Field(
closest_catalogue_question_match: Optional[CatalogueQuestion] = Field(
None, description="The closest question match in the catalogue for the question"
)
model_config = ConfigDict(
Expand Down

0 comments on commit a499ae6

Please sign in to comment.