Class CohereAssistantMessageV2.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.model.CohereAssistantMessageV2.Builder
-
- Enclosing class:
- CohereAssistantMessageV2
public static class CohereAssistantMessageV2.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CohereAssistantMessageV2build()CohereAssistantMessageV2.Buildercitations(List<CohereCitationV2> citations)Cohere citationsCohereAssistantMessageV2.Buildercontent(List<CohereContentV2> content)CohereAssistantMessageV2.Buildercopy(CohereAssistantMessageV2 model)CohereAssistantMessageV2.BuildertoolCalls(List<CohereToolCallV2> toolCalls)A list of tool calls generated by the model.CohereAssistantMessageV2.BuildertoolPlan(String toolPlan)A chain-of-thought style reflection and plan that the model generates when working with Tools.
-
-
-
Method Detail
-
content
public CohereAssistantMessageV2.Builder content(List<CohereContentV2> content)
-
toolPlan
public CohereAssistantMessageV2.Builder toolPlan(String toolPlan)
A chain-of-thought style reflection and plan that the model generates when working with Tools.- Parameters:
toolPlan- the value to set- Returns:
- this builder
-
toolCalls
public CohereAssistantMessageV2.Builder toolCalls(List<CohereToolCallV2> toolCalls)
A list of tool calls generated by the model.- Parameters:
toolCalls- the value to set- Returns:
- this builder
-
citations
public CohereAssistantMessageV2.Builder citations(List<CohereCitationV2> citations)
Cohere citations- Parameters:
citations- the value to set- Returns:
- this builder
-
build
public CohereAssistantMessageV2 build()
-
copy
public CohereAssistantMessageV2.Builder copy(CohereAssistantMessageV2 model)
-
-