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.

AWS API Docs

Summary

Functions

See ExAws.Request.Url.build/2.

Stream of chunks from the response stream.

Functions

Link to this function

build_request_url(post_operation, config)

View Source

See ExAws.Request.Url.build/2.

Link to this function

stream_objects!(post_operation, opts, config)

View Source

Stream of chunks from the response stream.

Raises on any error.

AWS API Docs