AI21PenaltyData#

class langchain_community.llms.ai21.AI21PenaltyData[source]#

Bases: BaseModel

Parameters for AI21 penalty data.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

param applyToEmojis: bool = True#
param applyToNumbers: bool = True#
param applyToPunctuations: bool = True#
param applyToStopwords: bool = True#
param applyToWhitespaces: bool = True#
param scale: int = 0#