Read and save stream data

After you have started to ingest streaming data into a deployed application you can view a stream's output.

Read stream outputs

After you have successfully created an application that saves results into a stream you can read a data source input stream or a model output stream.

Gemini Enterprise Agent Platform Vision SDK

To send a request to read a model output stream you must install the Gemini Enterprise Agent Platform Vision SDK.

Make the following variable substitutions:

  • PROJECT_ID: Your Google Cloud project ID.
  • LOCATION_ID: Your location ID. For example, us-central1. Supported regions. More information.
  • STREAM_ID: The stream ID that you created in the cluster For example, application-output-1234abcd.

Print stream content:

# This will print packets from a stream to stdout.
# This will work