Skip to content

Commit

Permalink
Small docstring fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NotBioWaste905 committed Dec 9, 2024
1 parent 419ab8d commit e723334
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chatsky/llm/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ async def model_result_to_text(self, model_result: LLMResult) -> str:
class Contains(BaseMethod):
"""
Simple method to check if a string contains a pattern.
:param pattern: pattern that will be searched in model_result.
"""

pattern: str
"""
pattern that will be searched in model_result.
"""

async def __call__(self, ctx: Context, model_result: LLMResult) -> bool:
"""
Expand Down

0 comments on commit e723334

Please sign in to comment.