v
0.7.1
Github Link
@google/generative-ai
HarmProbability
Enumeration HarmProbability
Probability that a prompt or candidate matches a harm category.
Index
Enumeration Members
HARM_
PROBABILITY_
UNSPECIFIED
HIGH
LOW
MEDIUM
NEGLIGIBLE
Enumeration Members
HARM_
PROBABILITY_
UNSPECIFIED
HARM_
PROBABILITY_
UNSPECIFIED
:
"HARM_PROBABILITY_UNSPECIFIED"
HIGH
HIGH
:
"HIGH"
LOW
LOW
:
"LOW"
MEDIUM
MEDIUM
:
"MEDIUM"
NEGLIGIBLE
NEGLIGIBLE
:
"NEGLIGIBLE"
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
HARM_
PROBABILITY_
UNSPECIFIED
HIGH
LOW
MEDIUM
NEGLIGIBLE
Preparing search index...
The search index is not available
@google/generative-ai - v0.7.1
Classes
ChatSession
GenerativeModel
GoogleGenerativeAI
Variables
POSSIBLE_ROLES
Type Aliases
Part
Tool
Interfaces
BaseParams
BatchEmbedContentsRequest
BatchEmbedContentsResponse
CitationMetadata
CitationSource
Content
ContentEmbedding
CountTokensRequest
CountTokensResponse
EmbedContentRequest
EmbedContentResponse
EnhancedGenerateContentResponse
FunctionCall
FunctionCallPart
FunctionCallingConfig
FunctionDeclaration
FunctionDeclarationSchema
FunctionDeclarationSchemaProperty
FunctionDeclarationsTool
FunctionResponse
FunctionResponsePart
GenerateContentCandidate
GenerateContentRequest
GenerateContentResponse
GenerateContentResult
GenerateContentStreamResult
GenerationConfig
GenerativeContentBlob
InlineDataPart
ModelParams
PromptFeedback
RequestOptions
SafetyRating
SafetySetting
StartChatParams
TextPart
ToolConfig
Enumerations
BlockReason
FinishReason
FunctionCallingMode
FunctionDeclarationSchemaType
HarmBlockThreshold
HarmCategory
HarmProbability
TaskType
Probability that a prompt or candidate matches a harm category.