Interface OpenAiTool.Builder1<InputT>
- Type Parameters:
InputT- the type of the input class.
- Enclosing class:
OpenAiTool
public static interface OpenAiTool.Builder1<InputT>
Creates a new OpenAiTool instance with the specified function and input class.
-
Method Summary
Modifier and TypeMethodDescriptionwithArgument(Class<InputT> inputClass) Sets the name of the function.
-
Method Details
-
withArgument
Sets the name of the function.- Parameters:
inputClass- the class of the input object.- Returns:
- a new OpenAiTool instance with the specified function and input class.
-