Textual LangChain integration
Installing the integration
pip install langchain-textualProviding a Textual API key
export TONIC_TEXTUAL_API_KEY="your-api-key"tool = TonicTextualRedactText(tonic_textual_api_key="your-api-key")Calling a tool
from langchain_textual import <tool name>
tool = <tool name>(<configuration parameters>)
tool.invoke(<tool target>)Available tools
Tool
Input
Use to
Text redaction
JSON redaction
HTML redaction
File redaction (PDF, image, CSV, TSV)
Get the list of detected entities
Tool configuration options
Getting the list of available entity types
Available handling options
Specifying the default handling option
Providing handling options for specific entity types
Last updated
Was this helpful?