FirebaseVertexAI Framework Reference

PromptFeedback

@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
public struct PromptFeedback : Sendable
extension PromptFeedback: Decodable

A metadata struct containing any feedback the model had on the prompt it was provided.

  • Declaration

    Swift

    public init(from decoder: Decoder) throws