React Native Firebase
GitHub
npm
Preparing search index...
@react-native-firebase/ai
GenerateContentRequest
Interface GenerateContentRequest
Request sent through
GenerativeModel.generateContent
interface
GenerateContentRequest
{
contents
:
Content
[]
;
generationConfig
?:
GenerationConfig
;
safetySettings
?:
SafetySetting
[]
;
systemInstruction
?:
string
|
Content
|
Part
;
toolConfig
?:
ToolConfig
;
tools
?:
Tool
[]
;
}
Hierarchy (
View Summary
)
BaseParams
GenerateContentRequest
Index
Properties
contents
generation
Config?
safety
Settings?
system
Instruction?
tool
Config?
tools?
Properties
contents
contents
:
Content
[]
Optional
generation
Config
generationConfig
?:
GenerationConfig
Optional
safety
Settings
safetySettings
?:
SafetySetting
[]
Optional
system
Instruction
systemInstruction
?:
string
|
Content
|
Part
Optional
tool
Config
toolConfig
?:
ToolConfig
Optional
tools
tools
?:
Tool
[]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
contents
generation
Config
safety
Settings
system
Instruction
tool
Config
tools
Documentation
GitHub
npm
React Native Firebase
Loading...
Request sent through GenerativeModel.generateContent