Politik

Ask

/api/ask

  1. Route: a greeting gets one line; any other question is sorted by what it asks.
  2. Find records in the policy dataset.
  3. Rank them: Jev judges how significant or how relevant each one is.
  4. Groq writes a cited answer from the best of them.
  5. Citations are checked against the sources.

Saying

/api/saying

  1. local-worry, or a data center.
  2. OpenAlex: “data center”.
  3. Jev on every row.
  4. Sort by weight.

Significance is judged against

Among California communities where a data center is proposed or operating, how many disputes over water, power, noise, or jobs show up in a season?

One call, three answers

who

choice

  • residents
  • workers
  • water and power users
  • a company
  • lawmakers
  • no one named

significance

score, rounded

  • 0 abstain
  • 1 low
  • 2 medium
  • 3 high

desk

choice

  • bill-stuck
  • local-worry
  • lab-money
  • research
  • speech
  • other
1high
0.62medium
0.28low
0.08abstain

No key: word rules