Class ChatCompletionFunctionCallDetails
- java.lang.Object
-
- com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionFunctionCallDetails
-
public class ChatCompletionFunctionCallDetails extends Object
Represents the a call of a function used as a tool in the chat completion request.
-
-
Constructor Summary
Constructors Constructor Description ChatCompletionFunctionCallDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getArguments()
String
getName()
static ChatCompletionFunctionCallDetails
make(GPTFunctionCallDetails function)
void
mergeDelta(ChatCompletionFunctionCallDetails function)
void
setArguments(String arguments)
void
setName(String name)
GPTFunctionCallDetails
toGptFuctionCallDetails()
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getArguments
public String getArguments()
-
setArguments
public void setArguments(String arguments)
-
mergeDelta
public void mergeDelta(@Nullable ChatCompletionFunctionCallDetails function)
-
toGptFuctionCallDetails
@Nonnull public GPTFunctionCallDetails toGptFuctionCallDetails()
-
make
public static ChatCompletionFunctionCallDetails make(GPTFunctionCallDetails function)
-
-