♊️ GemiNews 🗞️

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

[Request] 1. API Call: q=Malta

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: 'Malta', 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): 1354

{"status":"ok","totalResults":1354,"articles":[{"source":{"id":null,"name":"BBC News"},"author":"BBC Sport","title":"What next for the Nations League as group stage ends?","description":"The group stage for the new-look Nations League is over, so what next for the Home Nations and who is through to the quarter-finals?","url":"https://www.bbc.com/sport/football/articles/c5y3wpdq98no","urlToImage":"https://ichef.bbci.co.uk/news/1024/branded_sport/9d6b/live/dc1ecee0-a5cd-11ef-ba1e-872951c9e28a.jpg","publishedAt":"2024-11-20T00:02:52Z","content":"Promotion/relegation play-offs will take place in March. \r\nThese ties will see the teams who finished third in League A playing two-legged ties against second-placed sides from League B, with winner … [+577 chars]"},

{"source":{"id":null,"name":"Dezeen"},"author":"Dezeen staff","title":"Antolini stone features throughout interior of coastal Maltese apartment","description":"Promotion: natural stone by Italian company Antolini has been used throughout the interior of this apartment in Malta designed by architects Sabrina Soldà and Keith Pillow. Set overlooking a bay on the Maltese coast, the interior scheme of the 400-square-metr…","url":"https://www.dezeen.com/2024/11/11/antolini-stone-coastal-maltese-apartment-interior/","urlToImage":"https://static.dezeen.com/uploads/2024/11/malta-apartment-antolini-interiors_dezeen_2364_col_5-HERO-600x600.jpg","publishedAt":"2024-11-11T08:00:34Z","content":"Promotion: natural stone by Italian company Antolini has been used throughout the interior of this apartment in Malta designed by architects Sabrina Soldà and Keith Pillow.\r\nSet overlooking a bay on … [+3346 chars]"},

{"source":{"id":"cnn","name":"CNN"},"author":"Olesya Dmitracova, CNN","title":"Iceland embraced a shorter work week. Here’s how it turned out","description":"Iceland’s economy is outperforming most European peers after the nationwide introduction of a shorter working week with no loss in pay, according to research...","url":"https://www.cnn.com/2024/10/25/business/iceland-shorter-working-week-economy?cid=external-feeds_iluminar_yahoo","urlToImage":"https://media.zenfs.com/en/cnn_business_articles_218/bcd55ce33df2212a16cc8b91cae444d6","publishedAt":"2024-10-25T10:19:02Z","content":"Icelands economy is outperforming most European peers after the nationwide introduction of a shorter working week with no loss in pay, according to research released Friday.\r\nBetween 2020 and 2022, 5… [+2607 chars]"},

{"source":{"id":null,"name":"Hipertextual"},"author":"Aglaia Berlutti","title":"¿Dónde se ha rodado realmente ‘Gladiator 2’? Spoiler: no ha sido en Roma","description":"En Gladiator 2, Ridley Scott toma varios de los momentos más tenebrosos de la historia de la Roma Imperial para contar una épica de redención. Todo, a través de la vida de Lucius (Paul Mescal), un hombre que debe enfrentar su destino en la arena de gladiadore…","url":"http://hipertextual.com/2024/11/donde-se-ha-rodado-realmente-gladiator-2-spoiler-no-ha-sido-en-roma","urlToImage":"https://imgs.hipertextual.com/wp-content/uploads/2024/11/GL2_07020R-scaled.jpg","publishedAt":"2024-11-14T15:23:23Z","content":"En Gladiator 2,Ridley Scott toma varios de los momentos más tenebrosos de la historia de la Roma Imperial para contar una épica de redención. Todo, a través de la vida de Lucius (Paul Mescal), un hom… [+2853 chars]"},

{"source":{"id":null,"name":"Atlas Obscura"},"author":"ugc","title":"Il-Gardjola Guard Tower in Senglea, Malta","description":"From when the Knights of St. John controlled the islands of Malta in 1530 to after they were removed by Napoleonic forces in 1798, they embarked on multiple construction projects across the archipelago. Some of these projects focused on municipal buildings fo…","url":"https://www.atlasobscura.com/places/il-gardjola-guard-tower","urlToImage":"https://img.atlasobscura.com/dspUb4UtPX3BiPQEm7Zx4-hFc7Zgbuu-i_F4ubeU9kI/rt:fit/w:600/c:900:600:nowe:0:206/q:81/sm:1/scp:1/ar:1/aHR0cHM6Ly9hdGxh/cy1kZXYuczMuYW1h/em9uYXdzLmNvbS91/cGxvYWRzL3BsYWNl/X2ltYWdlcy9hNWJh/Y2VlYS1hMWFjLTQz/MjUtOWRmYy1kZTRk/MTkzYTBjNjVmNDM5/MTgzY2FiOTIyNDJl/MjdfdG93ZXIxLmpw/Zw.jpg","publishedAt":"2024-11-20T21:00:00Z","content":"From when the Knights of St. John controlled the islands of Malta in 1530 to after they were removed by Napoleonic forces in 1798, they embarked on multiple construction projects across the archipela… [+1371 chars]"},

{"source":{"id":null,"name":"Atlas Obscura"},"author":"ugc","title":"Ta' Kola Windmill in Xagħra, Malta","description":"When the Knights of St. John controlled the islands of Malta, they oversaw the construction of many public works buildings that would benefit the general populace. One of their projects was the construction of windmills for providing flour, and these building…","url":"https://www.atlasobscura.com/places/ta-kola-windmill","urlToImage":"https://img.atlasobscura.com/ZyJFybe3DkT1-QZsj2tTJHyOKGHUmlVPqyEZhJ8eoo0/rt:fit/w:600/q:81/sm:1/scp:1/ar:1/aHR0cHM6Ly9hdGxh/cy1kZXYuczMuYW1h/em9uYXdzLmNvbS91/cGxvYWRzL3BsYWNl/X2ltYWdlcy84MThk/NDgxNi01YTgzLTQ5/MDQtODRmNC1iNmFl/NTkwNmUyOTQyZGQ1/MTc0Y2ZkNWE1NTZl/YWRfd2luZG1pbGw0/LmpwZw.jpg","publishedAt":"2024-10-29T21:30:00Z","content":"When the Knights of St. John controlled the islands of Malta, they oversaw the construction of many public works buildings that would be of benefit to the general populace.  One of their projects was… [+1847 chars]"}]}

[Response] 2. API results: First Article

source: {"id"=>nil, "name"=>"BBC News"}
author: BBC Sport
title: What next for the Nations League as group stage ends?
description: The group stage for the new-look Nations League is over, so what next for the Home Nations and who is through to the quarter-finals?
url: https://www.bbc.com/sport/football/articles/c5y3wpdq98no
urlToImage: https://ichef.bbci.co.uk/news/1024/branded_sport/9d6b/live/dc1ecee0-a5cd-11ef-ba1e-872951c9e28a.jpg
publishedAt: 2024-11-20T00:02:52Z
content: Promotion/relegation play-offs will take place in March.
These ties will see the teams who finished third in League A playing two-legged ties against second-placed sides from League B, with winner … [+577 chars]

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

What next for the Nations League as group stage ends?

Article Image
2024-11-20 - BBC Sport

The group stage for the new-look Nations League is over, so what next for the Home Nations and who is through to the quarter-finals?

Promotion/relegation play-offs will take place in March. These ties will see the teams who finished third in League A playing two-legged ties against second-placed sides from League B, with winner … [+577 chars]

Antolini stone features throughout interior of coastal Maltese apartment

Article Image
2024-11-11 - Dezeen staff

Promotion: natural stone by Italian company Antolini has been used throughout the interior of this apartment in Malta designed by architects Sabrina Soldà and Keith Pillow. Set overlooking a bay on the Maltese coast, the interior scheme of the 400-square-metr…

Promotion: natural stone by Italian company Antolini has been used throughout the interior of this apartment in Malta designed by architects Sabrina Soldà and Keith Pillow. Set overlooking a bay on … [+3346 chars]

Iceland embraced a shorter work week. Here’s how it turned out

Article Image
2024-10-25 - Olesya Dmitracova, CNN

Iceland’s economy is outperforming most European peers after the nationwide introduction of a shorter working week with no loss in pay, according to research...

Icelands economy is outperforming most European peers after the nationwide introduction of a shorter working week with no loss in pay, according to research released Friday. Between 2020 and 2022, 5… [+2607 chars]

¿Dónde se ha rodado realmente ‘Gladiator 2’? Spoiler: no ha sido en Roma

Article Image
2024-11-14 - Aglaia Berlutti

En Gladiator 2, Ridley Scott toma varios de los momentos más tenebrosos de la historia de la Roma Imperial para contar una épica de redención. Todo, a través de la vida de Lucius (Paul Mescal), un hombre que debe enfrentar su destino en la arena de gladiadore…

En Gladiator 2,Ridley Scott toma varios de los momentos más tenebrosos de la historia de la Roma Imperial para contar una épica de redención. Todo, a través de la vida de Lucius (Paul Mescal), un hom… [+2853 chars]

Il-Gardjola Guard Tower in Senglea, Malta

Article Image
2024-11-20 - ugc

From when the Knights of St. John controlled the islands of Malta in 1530 to after they were removed by Napoleonic forces in 1798, they embarked on multiple construction projects across the archipelago. Some of these projects focused on municipal buildings fo…

From when the Knights of St. John controlled the islands of Malta in 1530 to after they were removed by Napoleonic forces in 1798, they embarked on multiple construction projects across the archipela… [+1371 chars]

Ta' Kola Windmill in Xagħra, Malta

Article Image
2024-10-29 - ugc

When the Knights of St. John controlled the islands of Malta, they oversaw the construction of many public works buildings that would benefit the general populace. One of their projects was the construction of windmills for providing flour, and these building…

When the Knights of St. John controlled the islands of Malta, they oversaw the construction of many public works buildings that would be of benefit to the general populace.  One of their projects was… [+1847 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"]