FirebaseVertexAI Framework Reference

PromptFeedback

@available(iOS 15.0, macOS 11.0, *)
public struct PromptFeedback
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