Classify workflow
ClassifyWorkflow #
Bases: Workflow
A workflow for classification tasks.
This class represents a classification workflow where a question is presented along with a list of possible options for classification.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
question |
str
|
The classification question to be presented. |
required |
options |
list[str]
|
A list of possible classification options. |
required |
Attributes:
Name | Type | Description |
---|---|---|
_question |
str
|
The classification question. |
_options |
list[str]
|
The list of classification options. |