This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 59a8647c15a Update nlp_tensorflow_streaming.ipynb (#40641)
59a8647c15a is described below

commit 59a8647c15a669d55a676d6ab94e7b49b791eb6a
Author: Ryan McGinnis <[email protected]>
AuthorDate: Mon Oct 19 08:52:58 2026 -0700

    Update nlp_tensorflow_streaming.ipynb (#40641)
    
    * 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.
    
    * Update examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb
    
    Co-authored-by: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
---
 examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb 
b/examples/notebooks/beam-ml/nlp_tensorflow_streaming.ipynb
index 6f5048e7e8e..7785041253e 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",
@@ -724,9 +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",
-        "\n",
-        "See examples of using the YouTube API 
[here](https://developers.google.com/youtube/v3/code_samples/code_snippets)."
+        "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"
       ]
     },
     {

Reply via email to