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