mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-24 03:52:10 +00:00
experimental: docstrings update (#18048)
Added missed docstrings. Formatted docsctrings to the consistent format.
This commit is contained in:
@@ -18,9 +18,10 @@ from langchain_experimental.fallacy_removal.prompts import (
|
||||
|
||||
|
||||
class FallacyChain(Chain):
|
||||
"""Chain for applying logical fallacy evaluations, modeled after Constitutional AI \
|
||||
and in same format, but applying logical fallacies as generalized rules to remove \
|
||||
in output
|
||||
"""Chain for applying logical fallacy evaluations.
|
||||
|
||||
It is modeled after Constitutional AI and in same format, but
|
||||
applying logical fallacies as generalized rules to remove in output.
|
||||
|
||||
Example:
|
||||
.. code-block:: python
|
||||
|
@@ -3,7 +3,7 @@ from langchain_experimental.pydantic_v1 import BaseModel
|
||||
|
||||
|
||||
class LogicalFallacy(BaseModel):
|
||||
"""Class for a logical fallacy."""
|
||||
"""Logical fallacy."""
|
||||
|
||||
fallacy_critique_request: str
|
||||
fallacy_revision_request: str
|
||||
|
Reference in New Issue
Block a user