FunctionResponse

io.cequence.openaiscala.gemini.domain.Part$.FunctionResponse
case class FunctionResponse(id: Option[String], name: String, response: Map[String, Any]) extends Part

Prefix: functionResponse

The result output of a FunctionCall that contains a string representing the FunctionDeclaration.name and a structured JSON object containing any output from the function is used as context to the model.

Attributes

id

The id of the function call this response is for. Populated by the client to match the corresponding function call id.

name

The name of the function to call. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 63.

response

The function response in JSON object format.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Part
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val prefix: PartPrefix