Class CohereToolV2.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.model.CohereToolV2.Builder
-
- Enclosing class:
- CohereToolV2
public static class CohereToolV2.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CohereToolV2build()CohereToolV2.Buildercopy(CohereToolV2 model)CohereToolV2.Builderfunction(Function function)CohereToolV2.Buildertype(CohereToolV2.Type type)The name of the tool to be called.
-
-
-
Method Detail
-
type
public CohereToolV2.Builder type(CohereToolV2.Type type)
The name of the tool to be called.Valid names contain only the characters a-z, A-Z, 0-9, _ and must not begin with a digit.
- Parameters:
type- the value to set- Returns:
- this builder
-
function
public CohereToolV2.Builder function(Function function)
-
build
public CohereToolV2 build()
-
copy
public CohereToolV2.Builder copy(CohereToolV2 model)
-
-