FunctionResponsePart

class FunctionResponsePart : Part


Represents function call output to be returned to the model when it requests a function call.

Summary

Public constructors

Public properties

String

the name of the called function

JSONObject

the response produced by the function as a JSONObject

Public constructors

FunctionResponsePart

FunctionResponsePart(name: String, response: JSONObject)
Parameters
name: String

the name of the called function

response: JSONObject

the response produced by the function as a JSONObject

Public properties

name

val nameString

the name of the called function

response

val responseJSONObject

the response produced by the function as a JSONObject