Instantiating the SDK client
Last updated
Was this helpful?
Last updated
Was this helpful?
Whenever you call the Textual SDK, you first instantiate the SDK client.
To work with Textual datasets, or to redact individual files, you instantiate TonicTextual
.
To work with Textual pipelines and parsing, you instantiate TonicTextualParse
.
If the API key is configured as the value of the TONIC_TEXTUAL_API_KEY
, then you do not need to provide the API key when you instantiate the SDK client.
For Textual pipelines:
For Textual datasets:
For Textual pipelines:
For Textual datasets:
If the API key is not configured as the value of the TONIC_TEXTUAL_API_KEY
, then you must include the API key in the request.