Inspiration
We live in a world of overwhelming quantities of news misinformation. Sorting through this and understanding the issues that impact you is important. Knowing the relevant details of an issue can help you find clarity on the course of action that you should take and the importance of your action.
What it does
Civic Lens takes a prompt from the user and returns 5 relevant articles to the search result along with relevant petitions from change.org.
How we built it
The backend is split into two parts, a chat gpt api that searches for relevant articles and a webscraper that scrapes change.org for relevant petitions. These are then connected to the front end through endpoints to display the results.
Challenges we ran into
Being down a member, it was difficult to divide up the work in an efficient manner. Also we ran into many errors using Fast API and technical aspects of the chatgpt API and webscraper. There were also issues with modals when making it clickable while using a framework we never used before like React.
Accomplishments that we're proud of
Overcoming the issues that we ran into, learning new coding languages and working together.
What we learned
We learned how to code in react, create a webscraper, and use a chatgpt api.
What's next for Civic Lens
Civic Lens hopes to bring a little bit more clarity in this world where we are overwhelmed with news and information on a daily basis, helping people find their views and understand what actions to take.
Built With
- beautiful-soup
- chatgpt
- fastapi
- javascript
- openai
- python
- react
- selenium
Log in or sign up for Devpost to join the conversation.