View Source ExAws.Bedrock.EventStream (ex_aws_bedrock v2.5.1)
Handle streaming of output generated by models.
The model detail returned by ExAws.Bedrock.get_foundation_model/1
must have:
responseStreamingSupported = true
This requires hackney
otherwise we will fail at runtime. It also assumes Jason
is available
but we can improve this to lookup the ExAws JSON coded.
Summary
Functions
See ExAws.Request.Url.build/2
.
Stream of chunks from the response stream.
Raises on any error.