MerriamWebsterAPIWrapper#
- class langchain_community.utilities.merriam_webster.MerriamWebsterAPIWrapper[source]#
Bases:
BaseModel
Wrapper for Merriam-Webster.
Docs for using:
Go to https://www.dictionaryapi.com/register/index and register an developer account with a key for the Collegiate Dictionary
Get your API Key from https://www.dictionaryapi.com/account/my-keys
Save your API Key into MERRIAM_WEBSTER_API_KEY env variable
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 merriam_webster_api_key: str | None = None#