Copy of the repository for the team Deadlock for Newsmatics Hackathon 2025
- Team captain: Erik Čapkovič
- Authors: Erik Čapkovič, Lukáš Denkócy, Rastistlav Kollár, Lukáš Medovič, Peter Štefunko
Before you begin, ensure you have the following installed on your machine:
-
Clone the repository:
git clone https://github.com/peter-stefunko/team-deadlock cd team-deadlock -
Install the dependencies using Poetry:
cd backend poetry install -
Set up the environment variables:
Create a
.envfile in the root of the project and add the necessary environment variables. Refer to.env.templatefor the required variables.
- To develop in terminal, run the following command in the
backenddirectory:source $(poetry env info --path)/bin/activate
- If you are using an IDE for development like PyCharm or VSCode, refer to their own guide for setting up a Poetry environment.
-
To create a new migration, use:
alembic revision
1.Firstly, you should build the whole project with:
sh make build
-
You should now be able to start it up with:
make start
-
The backend should now be running at
http://localhost:8000. (with the swagger being athttp://localhost:8000/api/docs) -
You should be able to access the website at
http://localhost.
- For more
makecommands, run the following:make help
- Once you have it up and running, you can now use it to it's fullest potentiol. On the main screen of the website, there is a user search input where you can ask our system anything in you owns words, and it should find the most accurate article you are looking for.
- You can also use the random phrase generator on the left, if you feel lucky
- There are also filters on the left, and bellow the search bar, you can toggle addiotional categories, which are appended to your's search input for further enhancing similarity accuracy
- Every article is composed of the clickable title, trust score from 0 to 5, publisher, classification and also you can click up or downvote to change the article's trust score
We have a live demo of the project where you can explore the embedding-based search functionality in action.
- Demo URL: Live Demo
- Demo Swagger: Live Swagger
- Usage: Simply enter your query in the search bar, and our backend will retrieve the most relevant results using our optimized embedding-based search.
- Authentication: Some features may require authentication. If applicable, refer to the provided test credentials or register for access.
- Feedback: If you encounter any issues or have suggestions, please open an issue in this repository or contact us.
Check out the demo and experience our solution firsthand!