FirebaseVertexAI Framework Reference

Protocols

The following protocols are available globally.

  • A protocol describing any data that could be serialized to model-interpretable input data, where the serialization process might fail with an error.

    Declaration

    Swift

    @available(iOS 15.0, macOS 11.0, *)
    public protocol ThrowingPartsRepresentable
  • A protocol describing any data that could be serialized to model-interpretable input data, where the serialization process cannot fail with an error. For a failable conversion, see ThrowingPartsRepresentable

    Declaration

    Swift

    @available(iOS 15.0, macOS 11.0, *)
    public protocol PartsRepresentable : ThrowingPartsRepresentable