langchain_community.callbacks.whylabs_callback
.import_langkitΒΆ
- langchain_community.callbacks.whylabs_callback.import_langkit(sentiment: bool = False, toxicity: bool = False, themes: bool = False) Any [source]ΒΆ
Import the langkit python package and raise an error if it is not installed.
- Parameters
sentiment β Whether to import the langkit.sentiment module. Defaults to False.
toxicity β Whether to import the langkit.toxicity module. Defaults to False.
themes β Whether to import the langkit.themes module. Defaults to False.
- Returns
The imported langkit module.