Interface Tool
- All Known Implementing Classes:
Tool.CodeInterpreterTool,Tool.FileSearchTool,Tool.FunctionTool
public sealed interface Tool
permits Tool.CodeInterpreterTool, Tool.FileSearchTool, Tool.FunctionTool
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic final recordstatic final record -
Method Summary
Modifier and TypeMethodDescriptionstatic Tool.CodeInterpreterToolstatic Tool.FileSearchToolstatic Tool.FileSearchToolfileSearchTool(int maxNumResults) static Tool.FunctionToolfunctionTool(Function function) type()
-
Method Details
-
type
String type() -
codeInterpreterTool
-
fileSearchTool
-
fileSearchTool
- Parameters:
maxNumResults- The maximum number of results the file search tool should output.
-
functionTool
-