'packages as it adds the NFL Network and RedZone.',      'news_article_title': 'NFL to Raise Price of NFL+ Streaming Packages as It '                            'Adds NFL Network, RedZone'},     {'news_article_summary': 'Russia is planning a moon mission as part of the '                              'new space race.',      'news_article_title': 'Russia‚Äôs Moon Mission and the New Space Race'},     {'news_article_summary': 'Tapestry‚Äôs $8.5 billion acquisition of Capri would '                              'create a conglomerate with more than $12 billion in '                              'annual sales, but it would still lack the '                              'high-wattage labels and diversity that have fueled '                              'LVMH‚Äôs success.',      'news_article_title': "Why the Coach and Kors Marriage Doesn't Scare LVMH"},     {'news_article_summary': 'The Supreme Court has blocked Purdue Pharma‚Äôs $6 '                              'billion Sackler opioid settlement.',      'news_article_title': 'Supreme Court Blocks Purdue Pharma‚Äôs $6 Billion '                            'Sackler Opioid Settlement'},     {'news_article_summary': 'The Social Security COLA is expected to rise in '                              '2024, but not by a lot.',      'news_article_title': 'Social Security COLA Expected to Rise in 2024, but '                            'Not by a Lot'}]We can compare the headlines scraped to the page:Looking at the LangSmith trace, we can see what is going on under the hood:It's following what is explained in the extraction.We call the information_extraction function on the input text.It will attempt to populate the provided schema from the url content.Research automation‚ÄãRelated to scraping, we may want to answer specific questions using searched content.We can automate the process of web research using a retriever, such as the WebResearchRetriever (docs).Copy requirements from here:pip install -r requirements.txtSet
Open In Collab
Open In Collab ->: 'packages as it adds the NFL Network and RedZone.',      'news_article_title': 'NFL to Raise Price of NFL+ Streaming Packages as It '                            'Adds NFL Network, RedZone'},     {'news_article_summary': 'Russia is planning a moon mission as part of the '                              'new space race.',      'news_article_title': 'Russia‚Äôs Moon Mission and the New Space Race'},     {'news_article_summary': 'Tapestry‚Äôs $8.5 billion acquisition of Capri would '                              'create a conglomerate with more than $12 billion in '                              'annual sales, but it would still lack the '                              'high-wattage labels and diversity that have fueled '                              'LVMH‚Äôs success.',      'news_article_title': "Why the Coach and Kors Marriage Doesn't Scare LVMH"},     {'news_article_summary': 'The Supreme Court has blocked Purdue Pharma‚Äôs $6 '                              'billion Sackler opioid settlement.',      'news_article_title': 'Supreme Court Blocks Purdue Pharma‚Äôs $6 Billion '                            'Sackler Opioid Settlement'},     {'news_article_summary': 'The Social Security COLA is expected to rise in '                              '2024, but not by a lot.',      'news_article_title': 'Social Security COLA Expected to Rise in 2024, but '                            'Not by a Lot'}]We can compare the headlines scraped to the page:Looking at the LangSmith trace, we can see what is going on under the hood:It's following what is explained in the extraction.We call the information_extraction function on the input text.It will attempt to populate the provided schema from the url content.Research automation‚ÄãRelated to scraping, we may want to answer specific questions using searched content.We can automate the process of web research using a retriever, such as the WebResearchRetriever (docs).Copy requirements from here:pip install -r requirements.txtSet