β™ŠοΈ GemiNews πŸ—žοΈ (dev)

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

πŸ—žοΈWhen is the next general election?

πŸ—ΏSemantically Similar Articles (by :title_embedding)

When is the next general election?

Article Image
2024-03-27 - (from BBC Politics)

A UK general election has to be held by 28 January 2025, but could take place earlier.

empty

[Europe] 🌎 https://www.bbc.co.uk/news/uk-politics-62064552 [🧠] [v2] article_embedding_description: {:llm_project_id=>"Unavailable", :llm_dimensions=>nil, :article_size=>287, :llm_embeddings_model_name=>"textembedding-gecko"}
[🧠] [v1/3] title_embedding_description: {:ricc_notes=>"[embed-v3] Fixed on 9oct24. Only seems incompatible at first glance with embed v1.", :llm_project_id=>"unavailable possibly not using Vertex", :llm_dimensions=>nil, :article_size=>287, :poly_field=>"title", :llm_embeddings_model_name=>"textembedding-gecko"}
[🧠] [v1/3] summary_embedding_description: {:ricc_notes=>"[embed-v3] Fixed on 9oct24. Only seems incompatible at first glance with embed v1.", :llm_project_id=>"unavailable possibly not using Vertex", :llm_dimensions=>nil, :article_size=>287, :poly_field=>"summary", :llm_embeddings_model_name=>"textembedding-gecko"}
[🧠] As per bug https://github.com/palladius/gemini-news-crawler/issues/4 we can state this article belongs to titile/summary version: v3 (very few articles updated on 9oct24)

πŸ—Ώarticle.to_s

------------------------------
Title: When is the next general election?
Summary: A UK general election has to be held by 28 January 2025, but could take place earlier.

[content]
empty
[/content]

PublishedDate: 2024-03-27
Category: Europe
NewsPaper: BBC Politics
{"id"=>285,
"title"=>"When is the next general election?",
"summary"=>"A UK general election has to be held by 28 January 2025, but could take place earlier.",
"content"=>"empty",
"author"=>nil,
"link"=>"https://www.bbc.co.uk/news/uk-politics-62064552",
"published_date"=>Wed, 27 Mar 2024 10:21:13.000000000 UTC +00:00,
"image_url"=>"https://ichef.bbci.co.uk/ace/standard/240/cpsprodpb/A0A8/production/_132982114_next_election_index_promo-nc.png",
"feed_url"=>"https://www.bbc.co.uk/news/uk-politics-62064552",
"language"=>nil,
"active"=>true,
"ricc_source"=>"feedjira::v1",
"created_at"=>Sun, 31 Mar 2024 20:30:59.148876000 UTC +00:00,
"updated_at"=>Mon, 21 Oct 2024 16:01:53.123202000 UTC +00:00,
"newspaper"=>"BBC Politics",
"macro_region"=>"Europe"}
Edit this article
Back to articles