ChatFirebaseVertexAISafetySetting constructor

const ChatFirebaseVertexAISafetySetting({
  1. required ChatFirebaseVertexAISafetySettingCategory category,
  2. required ChatFirebaseVertexAISafetySettingThreshold threshold,
})

Safety setting, affecting the safety-blocking behavior. Passing a safety setting for a category changes the allowed probability that content is blocked.

Implementation

const ChatFirebaseVertexAISafetySetting({
  required this.category,
  required this.threshold,
});