Class ChatTool
- java.lang.Object
-
- com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatTool
-
public class ChatTool extends Object
Represents a tool in the OpenAI chat completion request, currently limited to functions. Each tool contains details about the function including name, description, and parameters.
-
-
Constructor Summary
Constructors Constructor Description ChatTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChatCompletionFunctionDetails
getFunction()
String
getType()
void
setFunction(ChatCompletionFunctionDetails function)
void
setType(String type)
-
-
-
Method Detail
-
getType
public String getType()
-
setType
public void setType(String type)
-
getFunction
public ChatCompletionFunctionDetails getFunction()
-
setFunction
public void setFunction(ChatCompletionFunctionDetails function)
-
-