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 if the input data cannot be parsed to form a valid model.

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