Inspiration
The consensus app https://consensus.app/search/ inspired me and I wanted to build something as powerful for News. I feel it is hard to know what sources to trust and to get an overview over how a story is being covered from multiple angles, we get into silos and it is really difficult to break out of it. I want this app to provide a good overview of an issue / unfolding story by surfacing relevant information right away. I also wanted it to explore different points of view (by getting Claude to wear different hats and embody different personas) and show users something curious or surprising.
What it does
The app lets users pose a question, then it goes out and finds relevant News snippets using You.com's API, and analyses them in order to answer the question in multiple ways. It does sentiment analysis, it extracts entities, it summarises the narrative related to the question, synthesises key points and provides multiple perspectives. It also provides a peek into the articles themselves with links for further exploration and reading.
How we built it
It is built with FastAPI and Python on the backend and the app is built with Nextjs with Javascript.
Challenges we ran into
Difficult to handle errors in a graceful way, the app is trying to do quite a few different things at once and managing that in a way that's user friendly was challenging. With regards to prompting, getting Claude to play ball was a bit tricky at times as it would get stubborn with some prompts, but we established more trust as time went on.
Accomplishments that we're proud of
Being able to tackle the problem from multiple angles, extracting entities and running smaller LMs for sentiment, as well as some advanced prompting techniques to get Claude to provide some interesting perspectives on the news stories.
What we learned
More about Claude! <3 More about prompting, error handling, state management, tailwindcss, async calls to Claude, how to get good quality news snippets
What's next for InsightWire
There is a lot that can be built on top, I've barely scratched the surface with what can be done in this area. Some ideas that would be really interesting to explore:
- Some more advanced and sophisticated claim detection and verification based on how claims are substantiated across news sources
- Analysing how events unfold by constructing timelines
- Constructing a graph of related entities found in the news around a story and understanding how they interplay
- Make it more evidence based
- Connect social data
Built With
- claude
- fastapi
- javascript
- nextjs
- python
- tailwind
Log in or sign up for Devpost to join the conversation.