generateContentStream
Generates content as a stream from a prompt template and inputs.
Return
A Flow which will emit responses as they are returned by the model.
Parameters
The ID of the prompt template to use.
A map of variables to substitute into the template.
See also
for types of errors.
Throws
if the request failed.
Generates content as a stream from a prompt template and inputs.
Return
A Flow which will emit responses as they are returned by the model.
Parameters
The ID of the prompt template to use.
A map of variables to substitute into the template.
See also
for types of errors.
Throws
if the request failed.
Generates content as a stream from a prompt template and inputs.
Return
A Flow which will emit responses as they are returned by the model.
Parameters
The ID of the prompt template to use.
A map of variables to substitute into the template.
See also
for types of errors.
Throws
if the request failed.