Class NaruOpenApiResponseParser
java.lang.Object
net.thevpc.naru.impl.ia.model.openapi.NaruOpenApiResponseParser
- All Implemented Interfaces:
net.thevpc.nuts.elem.NElementDeserializer<NaruResponse>
public class NaruOpenApiResponseParser
extends Object
implements net.thevpc.nuts.elem.NElementDeserializer<NaruResponse>
{
"choices" : [ {
"finish_reason" : "tool_calls",
"index" : 0,
"message" : {
"role" : "assistant",
"tool_calls" : [ {
"function" : {
"arguments" : "{\"path\":\"core/nut-api\",\"include\":\"*.java\",\"recursive\":true}",
"name" : "folder_find"
},
"id" : "function-call-11464485064754065774",
"type" : "function"
} ]
}
} ],
"created" : 1779459950,
"id" : "bWcQau20G9n2nsEPs9z20Qw",
"model" : "gemini-2.5-flash",
"object" : "chat.completion",
"usage" : {
"completion_tokens" : 28,
"prompt_tokens" : 4500,
"total_tokens" : 4592
}
}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoObject(net.thevpc.nuts.elem.NElementDeserializerContext context)
-
Constructor Details
-
NaruOpenApiResponseParser
public NaruOpenApiResponseParser()
-
-
Method Details
-
toObject
- Specified by:
toObjectin interfacenet.thevpc.nuts.elem.NElementDeserializer<NaruResponse>
-