GenaiPrompt
A Model implementation that uses the ML Kit GenAI API to generate content.
Parameters
generativeModel
The GenerativeModel to use for generation.
name
The name of the model.
Functions
Link copied to clipboard
Generates content for the given LlmRequest. This returns a Flow of LlmResponses.