FirebaseAI Framework Reference

FunctionCallPart

@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
public struct FunctionCallPart : Part

A predicted function call returned from the model.

  • The name of the function to call.

    Declaration

    Swift

    public var name: String { get }
  • The function parameters and values.

    Declaration

    Swift

    public var args: JSONObject { get }
  • Constructs a new function call part.

    Note

    A FunctionCallPart is typically received from the model, rather than created manually.

    Declaration

    Swift

    public init(name: String, args: JSONObject)

    Parameters

    name

    The name of the function to call.

    args

    The function parameters and values.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy