8000 GitHub - rcavazza/rss_to_char: Fetch news articles from Google RSS feeds, generate concise summaries using a large language model (LLM), and integrate the output into an Eliza-style conversational character.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fetch news articles from Google RSS feeds, generate concise summaries using a large language model (LLM), and integrate the output into an Eliza-style conversational character.

Notifications You must be signed in to change notification settings

rcavazza/rss_to_char

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rss_to_char

News Aggregator and Summarizer

This project automates the process of collecting news from an RSS feed, extracting their content, storing the data in a local SQLite database, and generating summaries using OpenAI's API. The summaries are then used to populate a JSON character file for Eliza.


Prerequisites

Before running the scripts, ensure you have the following:

  1. Node.js installed on your system.
  2. An OpenAI API key.
  3. An RSS feed URL (e.g., from Google Alerts).

Setup

  1. Clone the repository:
    git clone <repository-url>
    cd <repository-folder>
    
  2. Install dependencies::
    npm install
  3. Setup .env::
    cp env.example .env
    edit .env
    RSS_FEED=your_google_alerts_rss_feed_url
    OPENAI_API_KEY=your_openai_api_key`   

Usage

  1. Run spider.js to:

    • Fetch news from the feed
    • Extract text content
    • Populate the local SQLite database
    node spider.js
  2. Run teacher.js to:

    • Generate content summaries using OpenAI
    • Update Eliza's character JSON file
    node teacher.js my_character.json

About

Fetch news articles from Google RSS feeds, generate concise summaries using a large language model (LLM), and integrate the output into an Eliza-style conversational character.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0