generateContentStream
Generates new content as a stream from the input Content given to the model as a prompt.
Return
A Flow which will emit responses as they are returned by the model.
Parameters
The input(s) given to the model as a prompt.
See also
for types of errors.
Throws
if the request failed.
Generates new content as a stream from the text input given to the model as a prompt.
Return
A Flow which will emit responses as they are returned by the model.
Parameters
The text to be send to the model as a prompt.
See also
for types of errors.
Throws
if the request failed.
Generates new content as a stream from the input Content given to the model as a prompt.
Return
A Flow which will emit responses as they are returned by the model.
Parameters
The input(s) given to the model as a prompt.
See also
for types of errors.
Throws
if the request failed.
Generates new content as a stream from the text input given to the model as a prompt.
Return
A Flow which will emit responses as they are returned by the model.
Parameters
The text to be send to the model as a prompt.
See also
for types of errors.
Throws
if the request failed.
Generates new content as a stream from the input Content given to the model as a prompt.
Return
A Flow which will emit responses as they are returned by the model.
Parameters
The input(s) given to the model as a prompt.
See also
for types of errors.
Throws
if the request failed.
Generates new content as a stream from the text input given to the model as a prompt.
Return
A Flow which will emit responses as they are returned by the model.
Parameters
The text to be send to the model as a prompt.
See also
for types of errors.
Throws
if the request failed.