Class CohereTool.Builder
- java.lang.Object
- 
- com.oracle.bmc.generativeaiinference.model.CohereTool.Builder
 
- 
- Enclosing class:
- CohereTool
 
 public static class CohereTool.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CohereToolbuild()CohereTool.Buildercopy(CohereTool model)CohereTool.Builderdescription(String description)The description of what the tool does, the model uses the description to choose when and how to call the function.CohereTool.Buildername(String name)The name of the tool to be called.CohereTool.BuilderparameterDefinitions(Map<String,CohereParameterDefinition> parameterDefinitions)The input parameters of the tool.
 
- 
- 
- 
Method Detail- 
namepublic CohereTool.Builder name(String name) 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:
- name- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic CohereTool.Builder description(String description) The description of what the tool does, the model uses the description to choose when and how to call the function.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
parameterDefinitionspublic CohereTool.Builder parameterDefinitions(Map<String,CohereParameterDefinition> parameterDefinitions) The input parameters of the tool.- Parameters:
- parameterDefinitions- the value to set
- Returns:
- this builder
 
 - 
buildpublic CohereTool build() 
 - 
copypublic CohereTool.Builder copy(CohereTool model) 
 
- 
 
-