♊️ GemiNews 🗞️

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

[Request] 1. API Call: q=United Kingdom

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: 'United Kingdom', 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): 7738

{"status":"ok","totalResults":7738,"articles":[{"source":{"id":"business-insider","name":"Business Insider"},"author":"Nishaa Sharma","title":"I'm an American who moved to the UK 5 years ago. Here are 9 things I wish I'd known before living abroad.","description":"Before moving from the United States to the United Kingdom, I wish I'd known more about transportation, England's work culture, and grocery shopping.","url":"https://www.businessinsider.com/moved-from-us-to-uk-culture-surprises-2025-6","urlToImage":"https://i.insider.com/683730d0ca50259add4d317c?width=768&format=jpeg","publishedAt":"2025-06-02T17:53:01Z","content":"I like living in England, but I wish I'd known more about groceries, travel, and work culture before settling down in the English countryside.Nishaa Sharma\r\n
  • After spending most of my life in … [+6374 chars]"},

    {"source":{"id":null,"name":"NPR"},"author":"Willem Marx","title":"International students look to the U.K. instead of the U.S. amid Trump's visa plans","description":"Planned U.S. visa restrictions are causing students around the world to consider going to the United Kingdom instead.","url":"https://www.npr.org/2025/06/05/nx-s1-5415740/trump-international-student-visas-uk-universities","urlToImage":"https://npr.brightspotcdn.com/dims3/default/strip/false/crop/5795x3260+0+312/resize/1400/quality/100/format/jpeg/?url=http%3A%2F%2Fnpr-brightspot.s3.amazonaws.com%2Ffa%2F93%2Fcdf2ff28408785fa62b3f220f839%2Fgettyimages-1755069539.jpg","publishedAt":"2025-06-05T09:00:00Z","content":"LONDON The Trump administration's proposals to tighten entry visa restrictions for international students could significantly reduce their numbers at U.S. universities in the years ahead. But several… [+8385 chars]"},

    {"source":{"id":"the-verge","name":"The Verge"},"author":"Wes Davis","title":"Paul McCartney and Dua Lipa call on the UK to pass AI copyright transparency law","description":"Last week, Paul McCartney, Dua Lipa, Ian McKellen, Elton John, and hundreds of others in the UK creative industry signed an open letter backing an effort to force AI firms to reveal the copyrighted works used to train their models.  They support an amendment …","url":"https://www.theverge.com/news/666379/paul-mccartney-dua-lipa-uk-ai-copyright-amendment-letter","urlToImage":"https://platform.theverge.com/wp-content/uploads/sites/2/2025/05/gettyimages-2214813718.jpg?quality=90&strip=all&crop=0%2C10.752607989199%2C100%2C78.494784021602&w=1200","publishedAt":"2025-05-13T22:01:30Z","content":"UK creatives demand more copyright transparency from AI companies.\r\nUK creatives demand more copyright transparency from AI companies.\r\nLast week, Paul McCartney, Dua Lipa, Ian McKellen, Elton John, … [+1923 chars]"},

    {"source":{"id":null,"name":"BBC News"},"author":"Sam Drury","title":"Women's World Cup to expand to 48 teams from 2031","description":"Fifa announces that the Women's World Cup will be expanded from 32 to 48 teams from the 2031 tournament.","url":"https://www.bbc.com/sport/football/articles/cr4z0g6e234o","urlToImage":"https://ichef.bbci.co.uk/ace/branded_sport/1200/cpsprodpb/2040/live/cae53dc0-2cfb-11f0-8ff1-59f5dcf8e9f5.jpg","publishedAt":"2025-05-09T18:15:35Z","content":"Fifa has announced that the Women's World Cup will be expanded from 32 to 48 teams from the 2031 tournament.\r\nThe Fifa Council voted unanimously for the changes that will be in place for 2035 edition… [+887 chars]"},

    {"source":{"id":null,"name":"BBC News"},"author":null,"title":"Man admits killing wife as she pushed baby in pram","description":"Habibur Masum pleads guilty to manslaughter but denies murdering Kulsuma Akter in Bradford.","url":"https://www.bbc.com/news/articles/cx2r3egxlx1o","urlToImage":"https://ichef.bbci.co.uk/news/1024/branded_news/5cf4/live/da5cac30-4a6a-11ef-aebc-6de4d31bf5cd.jpg","publishedAt":"2025-06-05T09:43:08Z","content":"A man has admitted killing his wife as she pushed their baby in a pram through Bradford, but denied her murder.\r\nHabibur Masum, 26, stabbed 27-year-old Kulsuma Akter as she walked through the Westgat… [+1102 chars]"}]}

[Response] 2. API results: First Article

source: {"id"=>"business-insider", "name"=>"Business Insider"}
author: Nishaa Sharma
title: I'm an American who moved to the UK 5 years ago. Here are 9 things I wish I'd known before living abroad.
description: Before moving from the United States to the United Kingdom, I wish I'd known more about transportation, England's work culture, and grocery shopping.
url: https://www.businessinsider.com/moved-from-us-to-uk-culture-surprises-2025-6
urlToImage: https://i.insider.com/683730d0ca50259add4d317c?width=768&format=jpeg
publishedAt: 2025-06-02T17:53:01Z
content: I like living in England, but I wish I'd known more about groceries, travel, and work culture before settling down in the English countryside.Nishaa Sharma
  • After spending most of my life in … [+6374 chars]

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

I'm an American who moved to the UK 5 years ago. Here are 9 things I wish I'd known before living abroad.

Article Image
2025-06-02 - Nishaa Sharma

Before moving from the United States to the United Kingdom, I wish I'd known more about transportation, England's work culture, and grocery shopping.

I like living in England, but I wish I'd known more about groceries, travel, and work culture before settling down in the English countryside.Nishaa Sharma <ul><li>After spending most of my life in … [+6374 chars]

International students look to the U.K. instead of the U.S. amid Trump's visa plans

Article Image
2025-06-05 - Willem Marx

Planned U.S. visa restrictions are causing students around the world to consider going to the United Kingdom instead.

LONDON The Trump administration's proposals to tighten entry visa restrictions for international students could significantly reduce their numbers at U.S. universities in the years ahead. But several… [+8385 chars]

Paul McCartney and Dua Lipa call on the UK to pass AI copyright transparency law

Article Image
2025-05-13 - Wes Davis

Last week, Paul McCartney, Dua Lipa, Ian McKellen, Elton John, and hundreds of others in the UK creative industry signed an open letter backing an effort to force AI firms to reveal the copyrighted works used to train their models.  They support an amendment …

UK creatives demand more copyright transparency from AI companies. UK creatives demand more copyright transparency from AI companies. Last week, Paul McCartney, Dua Lipa, Ian McKellen, Elton John, … [+1923 chars]

Women's World Cup to expand to 48 teams from 2031

Article Image
2025-05-09 - Sam Drury

Fifa announces that the Women's World Cup will be expanded from 32 to 48 teams from the 2031 tournament.

Fifa has announced that the Women's World Cup will be expanded from 32 to 48 teams from the 2031 tournament. The Fifa Council voted unanimously for the changes that will be in place for 2035 edition… [+887 chars]

Man admits killing wife as she pushed baby in pram

Article Image
2025-06-05 -

Habibur Masum pleads guilty to manslaughter but denies murdering Kulsuma Akter in Bradford.

A man has admitted killing his wife as she pushed their baby in a pram through Bradford, but denied her murder. Habibur Masum, 26, stabbed 27-year-old Kulsuma Akter as she walked through the Westgat… [+1102 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"]