From 140cd8dacb55fb44c4adea3dd438755363de6260 Mon Sep 17 00:00:00 2001 From: Ryan McGinnis Date: Fri, 16 Oct 2026 15:18:34 -0700 Subject: [PATCH 1/2] Update nlp_tensorflow_streaming.ipynb Update link to YouTube Data API. Also, removes link to code samples because they aren't actively being maintained and/or they're in the process of being updated. --- examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb b/examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb index 6f5048e7e8ee..075d885c3707 100644 --- a/examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb +++ b/examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb @@ -54,7 +54,7 @@ "source": [ "Natural Language Processing or NLP is a field of Artifical Intelligence that enables computers to interpret and understand human language. It involves multiple steps such as applying various preprocessing functions, getting predictions from a model, storing the predictions in a useful format, etc.\n", "Sentiment Analysis is a popular use case of NLP, which allows computers to analyze the sentiment of a text. This notebook demonstrates the use of streaming pipelines in NLP.\n", - "* Extracts comments using [Youtube API](https://developers.google.com/youtube/v3) and publishing them to Pub/Sub\n", + "* Extracts comments using [Youtube API](https://developers.google.com/youtube/data) and publishing them to Pub/Sub\n", "* Trains a TensorFlow model to predict the sentiment of text\n", "* Stores the model in Google Cloud and creates a model handler\n", "* Builds a Beam pipeline to:\n", @@ -725,8 +725,6 @@ "source": [ "## Extracting and sending comments to Pub/Sub\n", "YouTube API provides an interface for accessing YouTube data. First, we need to enable YouTube API on the Google Cloud Console project. After that, we need to create a credential, which will further provide an API key. This API key, along with a video ID can be used to access data of that YouTube video. The Publisher created earlier is used to publish each comment to Pub/Sub.\n", - "\n", - "See examples of using the YouTube API [here](https://developers.google.com/youtube/v3/code_samples/code_snippets)." ] }, { From 59df0e6cd737db7d3d3832bc10ff358b9458f4b8 Mon Sep 17 00:00:00 2001 From: Ryan McGinnis Date: Fri, 16 Oct 2026 15:20:18 -0700 Subject: [PATCH 2/2] Update examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb b/examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb index 075d885c3707..7785041253e6 100644 --- a/examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb +++ b/examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb @@ -724,7 +724,7 @@ }, "source": [ "## Extracting and sending comments to Pub/Sub\n", - "YouTube API provides an interface for accessing YouTube data. First, we need to enable YouTube API on the Google Cloud Console project. After that, we need to create a credential, which will further provide an API key. This API key, along with a video ID can be used to access data of that YouTube video. The Publisher created earlier is used to publish each comment to Pub/Sub.\n", + "YouTube API provides an interface for accessing YouTube data. First, we need to enable YouTube API on the Google Cloud Console project. After that, we need to create a credential, which will further provide an API key. This API key, along with a video ID can be used to access data of that YouTube video. The Publisher created earlier is used to publish each comment to Pub/Sub.\n" ] }, {