langchain: Fix broken `OpenAIModerationChain` and implement async (#18537)
Thank you for contributing to LangChain!
## PR title
lancghain[patch]: fix `OpenAIModerationChain` and implement async
## PR message
Description: fix `OpenAIModerationChain` and implement async
Issues:
- https://github.com/langchain-ai/langchain/issues/18533
- https://github.com/langchain-ai/langchain/issues/13685
Dependencies: none
Twitter handle: mattflo
## Add tests and docs
Existing documentation is broken:
https://python.langchain.com/docs/guides/safety/moderation
- [ x] **Lint and test**: Run `make format`, `make lint` and `make test`
from the root of the package(s) you've modified. See contribution
guidelines for more: https://python.langchain.com/docs/contributing/
---------
Co-authored-by: Emilia Katari <emilia@outpace.com>
Co-authored-by: ccurme <chester.curme@gmail.com>
Co-authored-by: Erick Friis <erickfriis@gmail.com>