Faces on the news

Faces on the news

I combined chatGPT, perplexity and python to write news summaries

the idea is to type in the niche (like “AI” or “video games” or “fitness”) and get related news for today. It works like this:

1. python node defines today’s date and sends it to chatgpt.

2. chatgpt writes queries relevant to the niche + today’s date and sends them to perplexity.

3. perplexity finds media related to the niche (like this step, cause you can find most interesting news there) and searches for news.

4. another chatgpt node summarizes and rewrites each news item into one sentence. It was tought to reach, cause sometimes gpt tries to give either too little or too much context.

5. after the list of news, it adds the list of sources.

depending on the niche the tool still gives either today’s news or news close to the date, unfortunately I can’t fix it yet.

I’ll share json file in comments, if someone is interested in details and wants to customize it with some other ai models (or hopefully help me with prompting for perplexity). 

ps I want to make a daily podcast with the news but still choosing the tool for it.

social