Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

ReAct News Action

Henrique Espindola edited this page Apr 7, 2023 · 1 revision

News is a simple action that searches news articles using either Google or NewsAPI and summarizes them.

To use NewsAPI, you need to register and set the CHLOE_REACT_NEWSAPI_TOKEN environment. If the token is not set, the action will fall back to Google.

Configuration

Environment Variable Default Value Description Options
CHLOE_REACT_NEWSAPI_MAX_RESULTS 5 Maximum number of NewsAPI results to analyze
CHLOE_REACT_NEWS_SOURCE google News source to use for news prompts google
newsapi
CHLOE_REACT_NEWSAPI_TOKEN NewsAPI token
CHLOE_REACT_NEWSAPI_SORT_STRATEGY relevancy NewsAPI sort strategy publishedAt
relevancy
popularity