A sample Streamlit application for Google news search and summaries using LangChain and Serper API.
LangChain is an open-source framework created to aid the development of applications leveraging the power of large language models (LLMs). It can be used for chatbots, text summarisation, data generation, code understanding, question answering, evaluation, and more. Serper, on the other hand, allows you to submit queries and receive Google Search (SERP) results quickly and cost effectively.
You'll need API keys from OpenAI (get it here) and Serper (get it here).
Here's a sample search result using Serper API only.
Here's a sample search result with AI-generated summaries using Serper and OpenAI APIs.
For a detailed guide, see this post. To deploy on Railway using a one-click template, click the button below.