Skip to content

Morriz/indy-news

Repository files navigation

Indy News

Try it on Streamlit!

Search for relevant independent media outlets or videos covering a topic

Contains both a streamlit app and a FastAPI module. The app uses the following SMART api endpoints:

When I say smart I mean that the search tech used is:

  • vector db
  • hybrid bm25 + vector retriever

It also contains some dumb endpoints that only match input against the "name" property:

Databases used (see data/ folder)

  • all.csv: 80+ media outlets enriched with entries from mediabiasfactcheck.com data (if found).
  • allsides.com.json: snapshot of the AllSides db
  • mediabiasfactcheck.com.json: snapshot of the MediaBiasFactCheck db

Original sources used

The following got normalized and ended up in all.csv:

Dev instructions

Run streamlit locally: .venv/bin/streamlit run Home.py

Run api locally: .venv/bin/uvicorn --host "0.0.0.0" -p 8088