Class Function.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiagent.model.Function.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Function
build()
Function.Builder
copy(Function model)
Function.Builder
description(String description)
A description of the function.Function.Builder
name(String name)
The name of the function to invoke.Function.Builder
parameters(Map<String,String> parameters)
The parameters the function accepts, defined using a JSON Schema object.
-
-
-
Method Detail
-
name
public Function.Builder name(String name)
The name of the function to invoke.- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public Function.Builder description(String description)
A description of the function.- Parameters:
description
- the value to set- Returns:
- this builder
-
parameters
public Function.Builder parameters(Map<String,String> parameters)
The parameters the function accepts, defined using a JSON Schema object.Refer to the guide for examples and the JSON Schema documentation for details on the format.
- Parameters:
parameters
- the value to set- Returns:
- this builder
-
build
public Function build()
-
copy
public Function.Builder copy(Function model)
-
-