The reason for the rate limit is clearly indicated in the error message. Not sure if your key is attached to the billed project, this could be the reason, since it mentions something about not having a free tier. The main point - not all models can work (or work well) with tools. It sometimes takes some research and trial and error, to find the one which does. Also tried with openai, worked just fine too.
When retrieving the news from the vector db, the node is doing similarity search, and then returns N most relevant resources, which are passed to the LLM for a single call to compile the answer.
Unless you are asking about the ingestion of article and not retrieving. If this is the case, you can loop over rss urls and limit the rss feed retrieval like so:
This will process all rss feeds but only yield 12 articles (2 per each of 6 urls).
Only get last week’s news. Act as a tech news aggregator and write in plain, easy-to-understand English. Prioritize news related to the following topics: {{ $json.Interests }}.
If none of those topics are mentioned in the news, use your best judgment to highlight the most newsworthy, frequently mentioned and relevant events in technology.
Provide a total of {{ $json[‘Number of news items to include’] }} news items.
Only get last week’s news. Act as a tech news aggregator and write in plain, easy-to-understand English. Prioritize news related to the following topics: {{ $json.Interests }}. Always include the article URL in the answer.
If none of those topics are mentioned in the news, use your best judgment to highlight the most newsworthy, frequently mentioned and relevant events in technology.
Provide a total of {{ $json[‘Number of news items to include’] }} news items.
I’m a beginner with n8n and not a technical user, so I may ask some basic questions as I learn.
The purpose of this workflow is to:
Extract AI-related news using an AI Agent.
Send a newsletter email (this part is working fine).
Generate a PowerPoint file containing two AI news items, where each item includes a title, url, and summary, placed in predefined locations in the slide.
→ I’m using Docxtemplater for this part.
Questions
1. Markdown to JSON Node Issue
The “News Reader AI” successfully generates the news content. However, the “Markdown to JSON” node fails to extract the url and summary fields.
→ Any suggestions on how to modify the code or regex to correctly extract these fields?
2. Docxtemplater Node Design
I’m using a Merge (Combine) node to merge the PowerPoint template binary file with the news JSON data before passing it to the Docxtemplater node.
→ Is this the correct design approach for generating a PPT with dynamic content?