kamushadenes/chloe

[FEATURE] News Action

kamushadenes opened this issue · 0 comments

Overview

Implement an action, ReAct: News, that searches news articles using either Google or NewsAPI and summarizes them for the user within the AI assistant.

Motivation

Objective

Provide users with the ability to search for and receive summarized news articles within the AI assistant, enhancing their experience and keeping them informed about relevant topics.

Impact

The News action will allow users to stay up-to-date on current events and access summarized news articles, potentially increasing user engagement and overall satisfaction.

Proposed Solution

Description

Create an action, ReAct: News, that takes a news search query as input, retrieves news articles using either Google or NewsAPI, and returns summarized versions of the articles to the user. The action should support the following configuration options:

  1. CHLOE_REACT_NEWSAPI_MAX_RESULTS: Maximum number of NewsAPI results to analyze (default: 5).
  2. CHLOE_REACT_NEWS_SOURCE: News source to use for news prompts (default: google).
  3. CHLOE_REACT_NEWSAPI_TOKEN: NewsAPI token.
  4. CHLOE_REACT_NEWSAPI_SORT_STRATEGY: NewsAPI sort strategy (default: relevancy).
Changes
  • Integrate Google and NewsAPI for news article search and retrieval.
  • Design and develop the ReAct: News action that processes news search queries, retrieves news articles, and generates summarized versions of the articles.
  • Implement the configuration options for ReAct: News, including news source selection and NewsAPI-specific settings.
  • Integrate the ReAct: News action into the existing AI assistant framework.
  • Test the ReAct: News action to ensure accurate news search and summarization, as well as user-friendly output.

Considerations (Optional)

  • Assess the performance impact of the ReAct: News action on the AI assistant.
  • Evaluate the costs and usage limits associated with using Google and NewsAPI for news search and retrieval.
  • Consider the need for additional documentation or user guidance on configuring and using the ReAct: News action.

Additional Resources

  • NewsAPI
  • Reference any related issues or discussions.