Package ai.extend.types
Class Insight.Builder
- java.lang.Object
-
- ai.extend.types.Insight.Builder
-
- All Implemented Interfaces:
Insight._FinalStage,Insight.ContentStage,Insight.TypeStage
- Enclosing class:
- Insight
public static final class Insight.Builder extends java.lang.Object implements Insight.TypeStage, Insight.ContentStage, Insight._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Insightbuild()Insight._FinalStagecontent(java.lang.String content)The content of the insight.Insight.Builderfrom(Insight other)Insight.ContentStagetype(InsightType type)The type of insight:
-
-
-
Method Detail
-
from
public Insight.Builder from(Insight other)
- Specified by:
fromin interfaceInsight.TypeStage
-
type
public Insight.ContentStage type(@NotNull InsightType type)
The type of insight:
reasoning: Model reasoning about the extraction decisionissue: A potential problem or concern identified by the agentic confidence systemreview_summary: A summary explanation from the agentic confidence system about why the field may need manual review
The type of insight:
reasoning: Model reasoning about the extraction decisionissue: A potential problem or concern identified by the agentic confidence systemreview_summary: A summary explanation from the agentic confidence system about why the field may need manual review
- Specified by:
typein interfaceInsight.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
content
public Insight._FinalStage content(@NotNull java.lang.String content)
The content of the insight.
The content of the insight.
- Specified by:
contentin interfaceInsight.ContentStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public Insight build()
- Specified by:
buildin interfaceInsight._FinalStage
-
-