liveGenerativeModel method
LiveGenerativeModel
liveGenerativeModel({
- required String model,
- LiveGenerationConfig? liveGenerationConfig,
- List<
Tool> ? tools, - Content? systemInstruction,
Create a LiveGenerativeModel for real-time interaction.
The optional liveGenerationConfig can be used to control and guide the
generation. See LiveGenerationConfig for details.
Implementation
LiveGenerativeModel liveGenerativeModel({
required String model,
LiveGenerationConfig? liveGenerationConfig,
List<Tool>? tools,
Content? systemInstruction,
}) {
return createLiveGenerativeModel(
app: app,
location: location,
model: model,
useVertexBackend: _useVertexBackend,
liveGenerationConfig: liveGenerationConfig,
tools: tools,
systemInstruction: systemInstruction,
appCheck: appCheck,
auth: auth,
useLimitedUseAppCheckTokens: useLimitedUseAppCheckTokens,
);
}