using GraphStreamingOutput for Response generation