Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: save Gemini prediction in price_tag_predictions table #630

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

raphael0202
Copy link
Contributor

We now save Gemini prediction in price_tag_predictions table.
I really struggled with unit-testing this method (as unittest.mock.patch function didn't work for some weird reason), so I leave it as-it for now.
I also moved Gemini code to open_prices.proofs.ml as it belongs here (and not in open_prices.commons), we will maybe split it again once we have a predictions django app.

Copy link
Member

@raphodn raphodn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@raphael0202 raphael0202 merged commit 39d3c25 into main Dec 17, 2024
6 checks passed
@raphael0202 raphael0202 deleted the save-gemini-prediction branch December 17, 2024 15:17
@raphodn raphodn linked an issue Dec 17, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add a price_tags table to store predictions
2 participants