Package net.thevpc.naru.api.model
Class NaruToolCall
java.lang.Object
net.thevpc.naru.api.model.NaruToolCall
- All Implemented Interfaces:
Cloneable,net.thevpc.nuts.elem.NToElement,net.thevpc.nuts.util.NCopiable
public class NaruToolCall
extends Object
implements net.thevpc.nuts.elem.NToElement, net.thevpc.nuts.util.NCopiable, Cloneable
A tool call requested by the model inside an assistant message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NaruToolCallclone()copy()getId()intConvenience: get an integer argument valuegetName()Convenience: get a string argument valuevoidsetArguments(Map<String, Object> arguments) voidvoidnet.thevpc.nuts.elem.NElementtoString()
-
Constructor Details
-
NaruToolCall
public NaruToolCall() -
NaruToolCall
public NaruToolCall(net.thevpc.nuts.elem.NElement other) -
NaruToolCall
-
-
Method Details
-
copy
- Specified by:
copyin interfacenet.thevpc.nuts.util.NCopiable
-
clone
-
toElement
public net.thevpc.nuts.elem.NElement toElement()- Specified by:
toElementin interfacenet.thevpc.nuts.elem.NToElement
-
getId
-
setId
-
getName
-
setName
-
getArguments
-
setArguments
-
getString
Convenience: get a string argument value -
getInt
Convenience: get an integer argument value -
toString
-