File tree Expand file tree Collapse file tree 6 files changed +9
-19
lines changed
libs/labelbox/src/labelbox Expand file tree Collapse file tree 6 files changed +9
-19
lines changed Original file line number Diff line number Diff line change @@ -40,14 +40,15 @@ Labelbox Python SDK Documentation
40
40
pagination
41
41
project
42
42
project-model-config
43
+ prompt-issue-tool
43
44
quality-mode
44
45
request-client
45
46
resource-tag
46
47
review
47
48
search-filters
48
49
send-to-annotate-params
49
50
slice
50
- step_reasoning_tool
51
+ step-reasoning-tool
51
52
task
52
53
task-queue
53
54
user
Original file line number Diff line number Diff line change
1
+ Step Reasoning Tool
2
+ ===============================================================================================
3
+
4
+ .. automodule :: labelbox.schema.tool_building.prompt_issue_tool
5
+ :members:
6
+ :show-inheritance:
File renamed without changes.
Original file line number Diff line number Diff line change 46
46
from labelbox .schema .model_config import ModelConfig
47
47
from labelbox .schema .model_run import DataSplit , ModelRun
48
48
from labelbox .schema .ontology import (
49
- Classification ,
50
49
FeatureSchema ,
51
50
Ontology ,
52
51
OntologyBuilder ,
53
- PromptResponseClassification ,
54
52
Tool ,
55
53
)
56
54
from labelbox .schema .tool_building .fact_checking_tool import FactCheckingTool
97
95
Classification ,
98
96
Option ,
99
97
ResponseOption ,
98
+ PromptResponseClassification ,
100
99
)
Original file line number Diff line number Diff line change @@ -79,10 +79,6 @@ class _BaseStepReasoningTool(ABC):
79
79
required : bool = False
80
80
81
81
def __post_init__ (self ):
82
- warnings .warn (
83
- "This feature is experimental and subject to change." ,
84
- )
85
-
86
82
if not self .name .strip ():
87
83
raise ValueError ("Name is required" )
88
84
Original file line number Diff line number Diff line change @@ -61,18 +61,6 @@ def build_fact_checking_definition():
61
61
return _Definition (variants = variants )
62
62
63
63
64
- class UnsupportedStepActions (Enum ):
65
- WRITE_JUSTIFICATION = "writeJustification"
66
-
67
-
68
- class CanConfidentlyAssessStepActions (Enum ):
69
- WRITE_JUSTIFICATION = "writeJustification"
70
-
71
-
72
- class NoFactualInformationStepActions (Enum ):
73
- WRITE_JUSTIFICATION = "writeJustification"
74
-
75
-
76
64
@dataclass
77
65
class FactCheckingTool (_BaseStepReasoningTool ):
78
66
"""
You can’t perform that action at this time.
0 commit comments