This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
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.
Environment Variable | Default Value | Description | Options |
---|---|---|---|
CHLOE_REACT_NEWSAPI_MAX_RESULTS | 5 | Maximum number of NewsAPI results to analyze | |
CHLOE_REACT_NEWS_SOURCE | 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 |
Got any question? Feel free to open an issue or start a discussion!