parseEvent(event) {
    const json = this.decoder.decode(event.chunk.bytes)
    return JSON.parse(json)
  }
Decodes the Uint8Array that represents a model response.

@param {object} event

@returns {object}