AI21Base#
- class langchain_ai21.ai21_base.AI21Base[source]#
Bases:
BaseModel
Base class for AI21 models.
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 api_host: str | None = None#
- param api_key: SecretStr | None = None#
- Constraints:
type = string
writeOnly = True
format = password
- param num_retries: int | None = None#
- param timeout_sec: float | None = None#