generate Content Stream
Generates content with streaming support given a GenAI model and a list of content.
Return
a GenerateContentResponse instance that contains response contents and other metadata
Parameters
the name of the GenAI model to use for generation
a list of Content to send to the generative model
a GenerateContentConfig instance that specifies the optional configurations
Generates content with streaming support given a GenAI model and a content object.
Return
a GenerateContentResponse instance that contains response contents and other metadata
Parameters
the name of the GenAI model to use for generation
a Content to send to the generative model
a GenerateContentConfig instance that specifies the optional configurations
Generates content with streaming support given a GenAI model and a text string.
Return
a GenerateContentResponse instance that contains response contents and other metadata
Parameters
the name of the GenAI model to use for generation
the text string to send to the generative model
a GenerateContentConfig instance that specifies the optional configurations