Class Function.Builder
java.lang.Object
io.github.stefanbratanov.jvm.openai.Function.Builder
- Enclosing class:
- Function
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
description
(String description) parameters
(Map<String, Object> parameters)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
- Parameters:
name
- The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
-
description
- Parameters:
description
- A description of what the function does, used by the model to choose when and how to call the function.
-
parameters
-
build
-