QChatGPT/pkg/pipeline/resprule/entities.py
2024-09-26 13:01:45 +08:00

11 lines
203 B
Python

import pydantic
from ...platform.types import message as platform_message
class RuleJudgeResult(pydantic.BaseModel):
matching: bool = False
replacement: platform_message.MessageChain = None