Build a weekly AI trend alerter with arXiv and Weaviate
Build a Weekly AI Trend Alerter with arXiv and Weaviate Ditch the endless scroll for AI trends. Meet Archi, your personal AI research assistant that hits you up once a week with everyone you need to know. š§š½āš¬ This...
Template notes
Build a Weekly AI Trend Alerter with arXiv and Weaviate Ditch the endless scroll for AI trends. Meet Archi, your personal AI research assistant that hits you up once a week with everyone you need to know. š§š½āš¬
This workflow scrapes AI and machine learning article abstracts from [arXiv](arxiv.org), enriches them with topic categories using a LLM, and embeds them in a [Weaviate](Weaviate) vector store. The vector store is then used as a tool for agentic RAG to write a concise, easy-to-read summary of the week in AI research.
The final output is a short, weekly email sent to the address of your choice that summarizes key AI research trends and future research directions, with links directly to the most interesting and impactful arXiv papers of the week.
Who it's for This workflow is for anyone who can't keep up with all the latest AI advances. Coding skills are not required.
How it works This is a contiguous workflow that can be summarized in two main parts: a data pipeline that fetches and embeds articles in Weaviate, and an agentic workflow that generates a weekly email summary. Part 1: Automatically fetch newly published articles on a weekly basis Fetch article abstracts (and metadata) from arXiv's free API Pre-process abstract data Enrich each article with a primary topic, secondary topics, and estimated potential impact of the research using a LLM Post-process data Insert data and embeddings into Weaviate Part 2: Use an AI Agent and Weaviate to generate a weekly summary email Add Weaviate as a Tool to an AI agent node Query Weaviate, agentically, to generate a report on the most important research trends of the week Post-process data Send the summary via email
Prerequisites 1. An existing Weaviate cluster. You can view instructions for setting up a local cluster with Docker [here](https://weaviate.io/developers/weaviate/installation/docker-composestarter-docker-compose-file) or a Weaviate Cloud cluster [here](https://weaviate.io/developers/wcs/quickstart). 2. API keys to generate embeddings and power chat models. We use a combination of [OpenRouter](https://openrouter.ai/) and [OpenAI](https://openai.com/) models. Feel free to switch out the models as you like. 3. An email address with STMP privileges. This is the address the email will come from. In this demo we use a personal Gmail address. You can create a new credential to link a STMP Account using these [instructions](https://docs.n8n.io/integrations/builtin/credentials/sendemail/). 4. Self-hosted n8n instance. See this [video](https://www.youtube.com/watch?v=kq5bmrjPPAY&t=108s) for how to get set up in just three minutes.
How to run the workflow 1. Go through the prerequisites, creating a Weaviate cluster (can be local or cloud), downloading self-hosted n8n, creating STMP privileges for your email account, and adding your API keys and other credentials. 2. Select the embedding and chat models you'd like to use. 3. Enter the email addresses you want to send the email from and to. 4. Let it rip.
Workflow output The output for this workflow is a weekly email that summarizes key research trends and future research directions based on AI and ML papers published on arXiv.