by Pratik Dhakal | Dec 6, 2024 | Programming
In the previous parts we completed building the API to list the news items stored in our database, and a scraper to collect news items from two news portals: Setopati and Ekantipur. If your code up to now is not working as expected, you can verify your code against...
by Pratik Dhakal | Dec 4, 2024 | Programming
In the previous part we finished building an API to fetch all news items from a database. In this part we will build a scraper that will extract the link, title and image URL from news portals. We are going to be scraping the title, link and related image of news...
by Pratik Dhakal | Dec 2, 2024 | Programming
You may have come across Google News (https://news.google.com/) and wondered how it works. The basic principle behind the site is that Google crawls the sites they have listed as news sites and grabs the title, link and thumbnail of various news on the sites. Then...
by Abinash Pant | Dec 1, 2024 | Programming
Retrieval-Augmented Generation (RAG) is a framework that enhances the performance of large language models (LLMs) by combining retrieval mechanisms with generative capabilities. It integrates the strengths of information retrieval systems and generative AI to provide...
by Sameer Kayastha | Nov 8, 2024 | Programming
Performance optimization is a critical aspect of web development, especially as users expect applications to load quickly and respond smoothly to their interactions. In the React ecosystem, optimizing performance not only enhances the user experience but also reduces...