Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nicholasgriffintn/llm-rss-vectorise-agent

An LLM agent that uses vectorise to make RSS feeds searchable
https://github.com/nicholasgriffintn/llm-rss-vectorise-agent

cloudflare cloudflare-ai cloudflare-queues cloudflare-vectorize llm remix rss

Last synced: 15 days ago
JSON representation

An LLM agent that uses vectorise to make RSS feeds searchable

Awesome Lists containing this project

README

        

# LLM RSS Vectorise Agent

This is a project that uses Cloudflare AI with Vectorize to make RSS feeds searchable, alongside various other models through Cloudflare's API to summarise, analyse and chat with articles.

https://github.com/user-attachments/assets/a77b4a33-20f9-4601-ba46-39ba798d7c6c

## Apps

### Vectorise

The [Vectorise](/apps/vectorize/README.md) app is a CloudFlare Workers app that has three triggers:

1. `insert` - This is triggered by calling the API URL with the endpoint `/insert`, it retrieves the list of RSS feeds and then queues them for processing.
2. `query` - This is triggered by calling the API URL with the endpoint `/query` and a query string parameter `query`, it will pass the contents of the query to the Cloudflare AI model and return matching results.
3. `queue` - This is triggered by Cloudflare Queues, which will send messages from the insert trigger either to process the RSS feed, or to process entries from the feed, for each entry, it will insert them into the Vectorize database as well as a Cloudflare D1 database.

#### TODO

- [ ] Currently, we are only getting extended text for BBC News and Sport articles and The Guardian is currently failing on request, this should be fixed for the Guardian and expanded for other sources, some other logic may be required here for these sources.
- [ ] The RSS feeds are hard coded, it would be interesting to see if we can allow the user to add new ones and source these from the database.
- [ ] Since moving to Drizzle, we've been getting some "Too Many SQL Variables" errors, this needs to be investigated.

### Web

This is the web interface for the Vectorise app, it allows you to search the database and view the results.

#### TODO

- [ ] Some attempt was made to use lora adapters, however, this never seemed to work, some investigation needs to be done here, it would also be interesting to see if we can use custom adapters.
- [ ] For some reason, the AI is adding gibberish to the start of the response.
- [ ] A new feature to chat about the article with AI would be cool.
- [ ] Look into adding the ability for users to submit sites to be indexed.
- [ ] Add a way for users to add additional notes about articles.
- [ ] For the summarise and analyse features, we should be checking the response to make sure it is correctly quoting the article and isn't making up information.