Source code for langchain_experimental.fallacy_removal.models
"""Models for the Logical Fallacy Chain"""
from langchain_experimental.pydantic_v1 import BaseModel
[docs]class LogicalFallacy(BaseModel):
"""Class for a logical fallacy."""
fallacy_critique_request: str
fallacy_revision_request: str
name: str = "Logical Fallacy"