Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.16 KB

vertexai.safetysetting.md

File metadata and controls

51 lines (36 loc) · 1.16 KB

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

SafetySetting interface

Safety setting that can be sent as part of request parameters.

Signature:

export interface SafetySetting 

Properties

Property Type Description
category HarmCategory
method HarmBlockMethod
threshold HarmBlockThreshold

SafetySetting.category

Signature:

category: HarmCategory;

SafetySetting.method

Signature:

method?: HarmBlockMethod;

SafetySetting.threshold

Signature:

threshold: HarmBlockThreshold;