mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
fed137a8a9
Description: new chain for logical fallacy removal from model output in chain and docs Issue: n/a see above Dependencies: none Tag maintainer: @hinthornw in past from my end but not sure who that would be for maintenance of chains Twitter handle: no twitter feel free to call out my git user if shout out j-space-b Note: created documentation in docs/extras --------- Co-authored-by: Jon Bennion <jb@Jons-MacBook-Pro.local> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
11 lines
277 B
Python
11 lines
277 B
Python
"""Models for the Logical Fallacy Chain"""
|
|
from langchain_experimental.pydantic_v1 import BaseModel
|
|
|
|
|
|
class LogicalFallacy(BaseModel):
|
|
"""Class for a logical fallacy."""
|
|
|
|
fallacy_critique_request: str
|
|
fallacy_revision_request: str
|
|
name: str = "Logical Fallacy"
|