42piratas / VOTEgpt

votegpt.io
https://votegpt.io
GNU General Public License v3.0
2 stars 0 forks source link

Iteration 01 #8

Open 42piratas opened 4 months ago

42piratas commented 4 months ago

Premises

  1. Database Priority
  1. Transparency:
  1. Democratic/Non-Democratic Flag:

Features

  1. Select Country:

NOTE: Let's keep the alternative of going to any country's website in particular for a future on-demand scenario.

Footer

Other Home Page Elements

thiagopbraga commented 4 months ago

Some comments:

Database Priority

We can use a version control table in the database where we can record the last update day. This way we would speed up this verification. is 1 day?

Transparency

The referral link comes from the chatgpt search return, correct?

Democratic/Non-Democratic Flag

We can create a table with all countries with some information like that, and in future use this informations for filters

Select Country

In this case I think we can do something more organic, I haven't found any updated API that provides this data yet but I can look for it. But as it will be on demand, we can do it organically too.

42piratas commented 4 months ago

@thiagopbraga

1 - Yes, we need a table for countries with multiple properties, including smth like "is-democratic"; 2 - Yes, all properties must have records on "created-at" and "upadted-at"; 3 - Different properties may have different "data-life-time". For example, "is-democratic" may be updated every 06 months while the list of candidates within a election may be updated every 01 week, and candidates profile's info may need to be updated every 03 days or so. Thus, every property may have a different "data-life-time" rule. All these rules/variables should be found (user-friendly named) in a single place for easy maintenance (I suppose config.py is that place, but I could be wrong); 4 - Yes, sources come from ChatGPT as well, except when certain info comes from APIs; then, we should know ourselves the source/links; 5 - Yes, whenever possible (i.e. when we retrieve data from specific sites, like for "is-democratic" and for the list of scheduled elections in each country) we should retrieve the information through direct APIs rather than through ChatGPT. But when certain sources don't have APIs and there's no other way to crawl their data, we can query ChatGPT to specifically retrieve information from that specific source;

42piratas commented 4 months ago

@thiagopbraga fyi, I updated the first msg of this thread under Premises/Database Priority by adding the following:

- We only update our database as needed. If a country is never selected, no information about elections in that country will be stored. Similarly, if certain data becomes outdated but isn’t requested by any voter, it will remain outdated indefinitely. Except for the property "is-democratic".

42piratas commented 3 months ago

@thiagopbraga Based on our discussions yesterday, for this first version, in favor of simplification, pls let's do like this:

I'll update the prompts accordingly, and I will create issues to deal with such cases (and others that we discussed yesterday) in future versions.