♊️ 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): 6578

{"status":"ok","totalResults":6578,"articles":[{"source":{"id":null,"name":"Gizmodo.com"},"author":"Gordon Jackson","title":"Thank the Force, Star Wars: Visions Will Return Next Year","description":"Much like the first season, Volume 3 will see nine new Star Wars-inspired shorts from nine Japanese animation studios.","url":"https://gizmodo.com/star-wars-visions-volume-3-release-date-studios-anime-2000526982","urlToImage":"https://gizmodo.com/app/uploads/2024/11/star-wars-visions-the-duel.jpg","publishedAt":"2024-11-20T16:00:58Z","content":"According to the official Star Wars website, Star Wars: Visions, the animated anthology series at Disney+, will return for a third volume next year.\r\nWhile the series’ first volume of nine Star Wars-… [+2337 chars]"},

{"source":{"id":null,"name":"[Removed]"},"author":null,"title":"[Removed]","description":"[Removed]","url":"https://removed.com","urlToImage":null,"publishedAt":"2024-10-28T20:38:07Z","content":"[Removed]"},

{"source":{"id":null,"name":"[Removed]"},"author":null,"title":"[Removed]","description":"[Removed]","url":"https://removed.com","urlToImage":null,"publishedAt":"2024-10-21T22:25:23Z","content":"[Removed]"},

{"source":{"id":null,"name":"BBC News"},"author":"Dan George","title":"Ramirez outclasses brave Billam-Smith to unify titles","description":"Mexican Gilberto Ramirez defeats Briton Chris Billam-Smith in Saudi Arabia to become the unified WBA and WBO cruiserweight champion.","url":"https://www.bbc.com/sport/boxing/articles/cy8nlpeww9go","urlToImage":"https://ichef.bbci.co.uk/news/1024/branded_sport/6b70/live/f1ca3fe0-a474-11ef-8517-3de623fde3f7.jpg","publishedAt":"2024-11-17T00:01:53Z","content":"WBO champion Billam-Smith was the first to make his way to the ring at the Venue arena, a stern look on his face as he completed a lap of the canvas with his arm raised.\r\nIt was far from the raucous … [+2050 chars]"},

{"source":{"id":null,"name":"Jgeekstudies.org"},"author":null,"title":"The Influence of Japanese Archaeology on the Legend of Zelda: Breath of the Wild","description":"Jean-François Cudennec University of Derby, College of Science and Engineering, Derby, United Kingdom. Email: jf.cudennec (at) live (dot) fr Download PDF A thick layer of time In the realm of Ninte…","url":"https://jgeekstudies.org/2024/10/27/on-the-influence-of-japanese-archaeological-heritage-on-the-legend-of-zelda-breath-of-the-wild/","urlToImage":"https://jgeekstudies.org/wp-content/uploads/2024/10/cudennec_2024_fig2.jpg?w=1200","publishedAt":"2024-10-28T02:26:01Z","content":"Jean-François Cudennec\r\nUniversity of Derby, College of Science and Engineering, Derby, United Kingdom.\r\nEmail: jf.cudennec (at) live (dot) fr\r\nDownload PDF\r\nA thick layer of time\r\nIn the realm of Ni… [+25863 chars]"},

{"source":{"id":null,"name":"Yahoo Entertainment"},"author":"Reuters","title":"US hits Israeli settler group with sanctions over West Bank violence","description":"The United States imposed sanctions on Monday on an Israeli settler group it accused of helping perpetrate violence in the occupied West Bank, which has seen...","url":"https://ca.news.yahoo.com/us-hits-israeli-settler-group-161520546.html","urlToImage":"https://media.zenfs.com/en/reuters.com/47c84ba11083089268091489954d58e3","publishedAt":"2024-11-18T16:15:20Z","content":"WASHINGTON (Reuters) - The United States imposed sanctions on Monday on an Israeli settler group it accused of helping perpetrate violence in the occupied West Bank, which has seen a rise in settler … [+1738 chars]"}]}

[Response] 2. API results: First Article

source: {"id"=>nil, "name"=>"Gizmodo.com"}
author: Gordon Jackson
title: Thank the Force, Star Wars: Visions Will Return Next Year
description: Much like the first season, Volume 3 will see nine new Star Wars-inspired shorts from nine Japanese animation studios.
url: https://gizmodo.com/star-wars-visions-volume-3-release-date-studios-anime-2000526982
urlToImage: https://gizmodo.com/app/uploads/2024/11/star-wars-visions-the-duel.jpg
publishedAt: 2024-11-20T16:00:58Z
content: According to the official Star Wars website, Star Wars: Visions, the animated anthology series at Disney+, will return for a third volume next year.
While the series’ first volume of nine Star Wars-… [+2337 chars]

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

Thank the Force, Star Wars: Visions Will Return Next Year

Article Image
2024-11-20 - Gordon Jackson

Much like the first season, Volume 3 will see nine new Star Wars-inspired shorts from nine Japanese animation studios.

According to the official Star Wars website, Star Wars: Visions, the animated anthology series at Disney+, will return for a third volume next year. While the series’ first volume of nine Star Wars-… [+2337 chars]

🤷🏼‍♀️ Article not found (or insufficient fields), sorry 🤷🏼‍♀️

Hash

Keys: ["source", "author", "title", "description", "url", "urlToImage", "publishedAt", "content"]

URL: https://removed.com

🤷🏼‍♀️ Article not found (or insufficient fields), sorry 🤷🏼‍♀️

Hash

Keys: ["source", "author", "title", "description", "url", "urlToImage", "publishedAt", "content"]

URL: https://removed.com

Ramirez outclasses brave Billam-Smith to unify titles

Article Image
2024-11-17 - Dan George

Mexican Gilberto Ramirez defeats Briton Chris Billam-Smith in Saudi Arabia to become the unified WBA and WBO cruiserweight champion.

WBO champion Billam-Smith was the first to make his way to the ring at the Venue arena, a stern look on his face as he completed a lap of the canvas with his arm raised. It was far from the raucous … [+2050 chars]

The Influence of Japanese Archaeology on the Legend of Zelda: Breath of the Wild

Article Image
2024-10-28 -

Jean-François Cudennec University of Derby, College of Science and Engineering, Derby, United Kingdom. Email: jf.cudennec (at) live (dot) fr Download PDF A thick layer of time In the realm of Ninte…

Jean-François Cudennec University of Derby, College of Science and Engineering, Derby, United Kingdom. Email: jf.cudennec (at) live (dot) fr Download PDF A thick layer of time In the realm of Ni… [+25863 chars]

US hits Israeli settler group with sanctions over West Bank violence

Article Image
2024-11-18 - Reuters

The United States imposed sanctions on Monday on an Israeli settler group it accused of helping perpetrate violence in the occupied West Bank, which has seen...

WASHINGTON (Reuters) - The United States imposed sanctions on Monday on an Israeli settler group it accused of helping perpetrate violence in the occupied West Bank, which has seen a rise in settler … [+1738 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"]