WO_INSTANCE
, WO_API_KEY
, and AUTHORIZATION_URL
credentials in your .env
file. For more information on configuring the .env
file, see Installing the watsonx Orchestrate Developer Edition.docclassfier()
method in your flow to classify the document. This method accepts the following input arguments:
Parameter | Type | Required | Description |
---|---|---|---|
name | string | Yes | Unique identifier for the node. |
llm | string | Yes | The LLM used for document classification. |
display_name | string | No | Display name for the node. |
classes | object | Yes | The document classification classes. |
description | string | No | Description of the node. |
min_confidence | float | No | Minimum confidence threshold for classification. |
input_map | DataMap | No | Define input mappings using a structured collection of Assignment objects. |
docext
node in a flow: