diff --git a/chatsky/llm/methods.py b/chatsky/llm/methods.py index 80e7125ff..b3058de2d 100644 --- a/chatsky/llm/methods.py +++ b/chatsky/llm/methods.py @@ -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: """