Hi, I write aggregator of news feed on some themes. Let say finance markets. I parse 20 news website and want to have from 100 articles ten at the end of a day. I use python and API ChatGPT. ChatGPT Web version works great for this purpose, but
how I can pass 10-20 article and get one summary using API?
One potential bottleneck here is how big the articles are, and especially if there is quite a significant amount of superfluous HTML content. So some kind of hierarchical handling may be needed.
Something you may want to try that handles most of this for you, is using LangChain (open source LLM wrapper library), pass it your API key, and use MapReduce summarizer. This will give you exactly what you want.