♊️ GemiNews 🗞️

Demo 1: Embeddings + Recommendation Demo 2: Bella RAGa Demo 3: NewRetriever Demo 4: Assistant function calling

[Request] 1. API Call: q=Donald Trump

To change query's use ?q=blah. Example: q=Verona, q=Bologna, q=Global Warming, q=United Kingdom, q=Donald Trump, q=Riccardo Carlesso, q=Ruby Day, q=Cyprus, q=Malta, ..

Here is the request built by langchainrb's NewsRetriever tool:


💻 Demo 03 on github

irb> NewsRetriever.get_everything(q: 'Donald Trump', page_size: 6)
I, [2024-05-24T18:31:54.143965 #2273497] INFO -- : [Langchain.rb] [Langchain::Tool::NewsRetriever]: Retrieving all news

API Result ("BFJ"):

Status (from JSON): ok

Total results (from JSON): 111211

{"status":"ok","totalResults":111211,"articles":[{"source":{"id":"wired","name":"Wired"},"author":"Brian Barrett","title":"The United States of Elon Musk Inc.","description":"The degree to which Donald Trump and Elon Musk’s interests are intertwined is unprecedented—and ultimately unsustainable.","url":"https://www.wired.com/story/elon-musk-donald-trump-doge-congress-takeover/","urlToImage":"https://media.wired.com/photos/67d21b81e3dd1d52d70b101e/191:100/w_1280,c_limit/politics_newsletter_united_states_musk_inc.jpg","publishedAt":"2025-03-13T14:00:00Z","content":"Where do Elon Musks business interests end and Donald Trumps political interests begin? Trick questiontheyre one and the same.\r\nHow else do you explain the jarring sight of the President of the Unite… [+2965 chars]"},

{"source":{"id":"the-verge","name":"The Verge"},"author":"Justine Calma","title":"Donald Trump wants to delete ‘climate’ from federal websites — here’s how you can track the changes","description":"The Trump administration has been hacking away at federal government websites, taking down information about climate change and anything deemed “woke.” Now, there’s an online tool you can use to track the changes and find missing information. Researchers init…","url":"https://www.theverge.com/news/623644/trump-climate-change-federal-government-website-tracker","urlToImage":"https://platform.theverge.com/wp-content/uploads/sites/2/2025/03/STK453_Privacy_D_CVirginia.jpg?quality=90&strip=all&crop=0%2C9.9676601489831%2C100%2C80.064679702034&w=1200","publishedAt":"2025-03-04T16:05:36Z","content":"This online database documents changes to climate and the environmental information on federal websites.\r\nThis online database documents changes to climate and the environmental information on federa… [+2685 chars]"},

{"source":{"id":"the-verge","name":"The Verge"},"author":"Richard Lawler","title":"Fired Democratic FTC commissioners sue Trump","description":"The two Democratic Federal Trade Commission members illegally fired by Donald Trump have filed a lawsuit against the president and newly appointed Republican FTC chair Andrew Ferguson, as well as fellow commissioner Melissa Holyoak and executive director Davi…","url":"https://www.theverge.com/news/637602/fired-democratic-ftc-commissioners-sue-trump","urlToImage":"https://platform.theverge.com/wp-content/uploads/sites/2/2025/03/STKS500_FTC_B.jpg?quality=90&strip=all&crop=0%2C10.732984293194%2C100%2C78.534031413613&w=1200","publishedAt":"2025-03-27T18:00:47Z","content":"Kelly Slaughter and Alvaro Bedoya are asking courts to follow 90 years of Supreme Court precedent and reinstate them.\r\nKelly Slaughter and Alvaro Bedoya are asking courts to follow 90 years of Suprem… [+1900 chars]"},

{"source":{"id":"wired","name":"Wired"},"author":"Jeremy White","title":"Donald Trump Bought a $90,000 Tesla With 37 Recall Notices Against It","description":"Here's hoping Elon Musk won't have to personally fix President Trump's new EV anytime soon.","url":"https://www.wired.com/story/donald-trump-bought-a-dollar90000-tesla-with-37-recall-notices-against-it/","urlToImage":"https://media.wired.com/photos/67d1b556d38aff896fec27be/191:100/w_1280,c_limit/trump-tesla-gear-2204588044.jpg","publishedAt":"2025-03-12T16:45:25Z","content":"Likely referring to the significant negative coverage of Musk's efforts leading the so-called Department of Government Efficiency (DOGE), the president committed to buying a Tesla via TruthSocial on … [+2607 chars]"},

{"source":{"id":"wired","name":"Wired"},"author":"Leah Feiger, Louise Matsakis, Jake Lahut","title":"People Are Paying Millions to Dine With Donald Trump at Mar-a-Lago","description":"Business leaders are paying as much as $5,000,000 to meet one-on-one with the president at his Florida compound, sources tell WIRED, while others are paying $1,000,000 apiece to dine with him in a group setting.","url":"https://www.wired.com/story/people-paying-millions-donald-trump-mar-a-lago/","urlToImage":"https://media.wired.com/photos/67c7052b740da90b2e8bbbde/191:100/w_1280,c_limit/GettyImages-2062120626%20(1).jpg","publishedAt":"2025-03-04T16:00:23Z","content":"Guests are paying millions of dollars to dine and meet with President Donald Trump at special events held at his Mar-a-Lago estate in Palm Beach, Florida.\r\nBusiness leaders can secure a one-on-one me… [+2931 chars]"},

{"source":{"id":"wired","name":"Wired"},"author":"Leah Feiger, Zoë Schiffer","title":"Donald Trump Held Another Million-Dollar 'Candlelight' Dinner—With Elon Musk in Tow","description":"Unlike the previous million-dollar \"candlelight\" dinner, this event did not appear on Donald Trump's official schedule. Oh, and Elon Musk was there too, WIRED has learned.","url":"https://www.wired.com/story/trump-million-dollar-candlelight-dinner-elon-musk/","urlToImage":"https://media.wired.com/photos/67d87b1672f3cfb6457630cf/191:100/w_1280,c_limit/Million-Dollar-Dinner-Trump-Politics-2205126566.jpg","publishedAt":"2025-03-17T22:43:03Z","content":"An invitation to a candlelight dinner held this past Saturday at President Donald Trumps Mar-a-Lago club asked prospective guests to spend $1 million per seat. Trump attended the dinner along with El… [+3561 chars]"}]}

[Response] 2. API results: First Article

source: {"id"=>"wired", "name"=>"Wired"}
author: Brian Barrett
title: The United States of Elon Musk Inc.
description: The degree to which Donald Trump and Elon Musk’s interests are intertwined is unprecedented—and ultimately unsustainable.
url: https://www.wired.com/story/elon-musk-donald-trump-doge-congress-takeover/
urlToImage: https://media.wired.com/photos/67d21b81e3dd1d52d70b101e/191:100/w_1280,c_limit/politics_newsletter_united_states_musk_inc.jpg
publishedAt: 2025-03-13T14:00:00Z
content: Where do Elon Musks business interests end and Donald Trumps political interests begin? Trick questiontheyre one and the same.
How else do you explain the jarring sight of the President of the Unite… [+2965 chars]

[Response] 3. API results from NewsCatcher: reassembled from JSON

The United States of Elon Musk Inc.

Article Image
2025-03-13 - Brian Barrett

The degree to which Donald Trump and Elon Musk’s interests are intertwined is unprecedented—and ultimately unsustainable.

Where do Elon Musks business interests end and Donald Trumps political interests begin? Trick questiontheyre one and the same. How else do you explain the jarring sight of the President of the Unite… [+2965 chars]

Donald Trump wants to delete ‘climate’ from federal websites — here’s how you can track the changes

Article Image
2025-03-04 - Justine Calma

The Trump administration has been hacking away at federal government websites, taking down information about climate change and anything deemed “woke.” Now, there’s an online tool you can use to track the changes and find missing information. Researchers init…

This online database documents changes to climate and the environmental information on federal websites. This online database documents changes to climate and the environmental information on federa… [+2685 chars]

Fired Democratic FTC commissioners sue Trump

Article Image
2025-03-27 - Richard Lawler

The two Democratic Federal Trade Commission members illegally fired by Donald Trump have filed a lawsuit against the president and newly appointed Republican FTC chair Andrew Ferguson, as well as fellow commissioner Melissa Holyoak and executive director Davi…

Kelly Slaughter and Alvaro Bedoya are asking courts to follow 90 years of Supreme Court precedent and reinstate them. Kelly Slaughter and Alvaro Bedoya are asking courts to follow 90 years of Suprem… [+1900 chars]

Donald Trump Bought a $90,000 Tesla With 37 Recall Notices Against It

Article Image
2025-03-12 - Jeremy White

Here's hoping Elon Musk won't have to personally fix President Trump's new EV anytime soon.

Likely referring to the significant negative coverage of Musk's efforts leading the so-called Department of Government Efficiency (DOGE), the president committed to buying a Tesla via TruthSocial on … [+2607 chars]

People Are Paying Millions to Dine With Donald Trump at Mar-a-Lago

Article Image
2025-03-04 - Leah Feiger, Louise Matsakis, Jake Lahut

Business leaders are paying as much as $5,000,000 to meet one-on-one with the president at his Florida compound, sources tell WIRED, while others are paying $1,000,000 apiece to dine with him in a group setting.

Guests are paying millions of dollars to dine and meet with President Donald Trump at special events held at his Mar-a-Lago estate in Palm Beach, Florida. Business leaders can secure a one-on-one me… [+2931 chars]

Donald Trump Held Another Million-Dollar 'Candlelight' Dinner—With Elon Musk in Tow

Article Image
2025-03-17 - Leah Feiger, Zoë Schiffer

Unlike the previous million-dollar "candlelight" dinner, this event did not appear on Donald Trump's official schedule. Oh, and Elon Musk was there too, WIRED has learned.

An invitation to a candlelight dinner held this past Saturday at President Donald Trumps Mar-a-Lago club asked prospective guests to spend $1 million per seat. Trump attended the dinner along with El… [+3561 chars]

Note. This CSS was created by Gemini Ultra. We're taking all the ingredients from JSON artifact and building it back into a nice tailwind card.

The fields provided by the JSON result (first article to be specific) are: ["source", "author", "title", "description", "url", "urlToImage", "publishedAt", "content"]