Uses of Class
com.composum.ai.backend.base.service.chat.GPTToolCall
-
Packages that use GPTToolCall Package Description com.composum.ai.backend.base.service.chat com.composum.ai.backend.base.service.chat.impl.chatmodel -
-
Uses of GPTToolCall in com.composum.ai.backend.base.service.chat
Methods in com.composum.ai.backend.base.service.chat that return GPTToolCall Modifier and Type Method Description GPTToolCall
GPTToolCall. mergeDelta(GPTToolCall other)
When streaming, this merges the delta received during the stream.Methods in com.composum.ai.backend.base.service.chat that return types with arguments of type GPTToolCall Modifier and Type Method Description List<GPTToolCall>
GPTChatMessage. getToolCalls()
The tool calls that were made in the context of this message.List<GPTToolCall>
GPTCompletionCallback.GPTCompletionCollector. getToolCalls()
static List<GPTToolCall>
GPTToolCall. mergeDelta(List<GPTToolCall> calls1, List<GPTToolCall> calls2)
When streaming, this merges the delta received during the stream.Methods in com.composum.ai.backend.base.service.chat with parameters of type GPTToolCall Modifier and Type Method Description GPTToolCall
GPTToolCall. mergeDelta(GPTToolCall other)
When streaming, this merges the delta received during the stream.Method parameters in com.composum.ai.backend.base.service.chat with type arguments of type GPTToolCall Modifier and Type Method Description static List<GPTToolCall>
GPTToolCall. mergeDelta(List<GPTToolCall> calls1, List<GPTToolCall> calls2)
When streaming, this merges the delta received during the stream.void
GPTCompletionCallback.GPTCompletionCallbackWrapper. toolDelta(List<GPTToolCall> toolCalls)
void
GPTCompletionCallback.GPTCompletionCollector. toolDelta(List<GPTToolCall> toolCalls)
default void
GPTCompletionCallback. toolDelta(List<GPTToolCall> toolCalls)
Called when a tool call is made.Constructor parameters in com.composum.ai.backend.base.service.chat with type arguments of type GPTToolCall Constructor Description GPTChatMessage(GPTMessageRole role, String content, String imageUrl, String tool_call_id, List<GPTToolCall> tool_calls)
-
Uses of GPTToolCall in com.composum.ai.backend.base.service.chat.impl.chatmodel
Methods in com.composum.ai.backend.base.service.chat.impl.chatmodel that return GPTToolCall Modifier and Type Method Description GPTToolCall
ChatCompletionToolCall. toGptToolCall()
Methods in com.composum.ai.backend.base.service.chat.impl.chatmodel that return types with arguments of type GPTToolCall Modifier and Type Method Description static List<GPTToolCall>
ChatCompletionToolCall. toGptToolCallList(List<ChatCompletionToolCall> list)
Turns the list into aGPTToolCall
list observing theChatCompletionToolCall.getIndex()
.Method parameters in com.composum.ai.backend.base.service.chat.impl.chatmodel with type arguments of type GPTToolCall Modifier and Type Method Description static List<ChatCompletionToolCall>
ChatCompletionToolCall. make(List<GPTToolCall> toolCalls)
-