Open Sidebar
Close Sidebar
gemini
0.2.0
Gemini
BadResponseException
Blob
BlockReason
Configuration
Content
Role
FinishReason
FunctionCall
FunctionCallingConfig
Mode
FunctionDeclaration
FunctionResponse
GenerateContentResponse
Candidate
PromptFeedback
UsageMetadata
GenerationConfig
GenerativeModel
HarmBlockThreshold
HarmCategory
HarmProbability
InlineData
MissingCandidatesException
MissingContentException
Part
SafetyRating
SafetySetting
Schema
Type
Text
Tool
ToolConfig
enum
Gemini::
Content::
Role
Defined in:
gemini/types.cr
Enum Members
User
=
0
Model
=
1
Function
=
2
Instance Method Summary
#function?
#model?
#user?
Instance Method Detail
def
function?
#
def
model?
#
def
user?
#