WikiStar / api.py

Commit History

Trim comments; server-key gate, usage log, store=True for retrievable summaries
ef6610c

omerehrlich commited on

Require user API key for pipeline + generated-page summaries; keep secret for demo summaries; add OpenAI key guide link
7d06b63

omerehrlich commited on

By-section 'All edit types' cell click: one combined summary of all edits, not per-label
cea1ff8

omerehrlich commited on

Substitute {PAGE_NAME} with article name in summary prompt and legend tooltips
419d22f

omerehrlich commited on

Hide structural sections (See also, Further reading, External links, References, Other sources, Resources) from aggregated views and summaries
e85174b

omerehrlich commited on

grouped_idx: chain rows via linker's (rev_id, section) pointers
ee0123b

omerehrlich commited on

Rename identity-card metrics; ship User column for editor count
39c371f

omerehrlich commited on

Add TLDR to evolution summary (prompt + UI)
9918584

omerehrlich commited on

Add Artificial intelligence demo with evolution summary
e498a75

omerehrlich commited on

Add Artificial intelligence as a fifth demo (slimmed CSV, centered tile)
43a67a2

omerehrlich commited on

Redesign landing page; fall back to Space's OPENAI_API_KEY secret
e0f155a

omerehrlich commited on

Summaries: bullets + bottom line moved to top
e785a63

omerehrlich commited on

Summarization uses gpt-5.4 unconditionally; inference unchanged
9bfb03f

omerehrlich commited on

Render evolution summary as markdown with Show more; rewrite case-study texts
2e9ff7a

omerehrlich commited on

Wire evolution summaries for Ising model, Vaccine, and Chaos theory demos
3690b9d

omerehrlich commited on

Send all matched snippets to /summarize (drop MAX_SNIPPETS cap)
6b9cbcd

omerehrlich commited on

Add Ising model, Vaccine, and Chaos theory case-study demos
4469420

omerehrlich commited on

Summarize a label across all periods (Over-Time toolbar + stepper panel)
dd0537a

omerehrlich commited on

Constrain summaries to evidence matching the label definition
e99a192

omerehrlich commited on

Summaries: bold evidence + bottom-line sentence, anchored to taxonomy definition
3a38a8b

omerehrlich commited on

Demo: collapse slim/heavy split into a single LFS-tracked CSV loaded at startup
b8fde83

omerehrlich commited on

Demo: split heavy text columns into a lazy-loaded gzipped CSV (Edits table + download), keeping slim file fast for charts and summaries
88269cc

omerehrlich commited on

Restore /demo, /summarize, SPA mount lost in a04ea44; keep label 11 renumber
bac064e

omerehrlich commited on

Drop taxonomy label 11; renumber 'None of the above' from 12 to 11
a04ea44

omerehrlich commited on

Add Section evolution tab (debuts + renames per period)
16281d1

omerehrlich commited on

Add CSV+summary upload path with hybrid client-side parsing
2e7e94d

omerehrlich commited on

Add download buttons for evolution summary and classified CSV
9a854d1

omerehrlich commited on

Add per-page evolution summary (label 1/6) shown at top of results
64770a6

omerehrlich commited on

Drop temperature param from /summarize: not supported by GPT-5 family
9edc39e

omerehrlich commited on

Add interactive edit summaries: /summarize endpoint + click-to-summarize panel
d48df32

omerehrlich commited on

Speed up /demo: gzip, slim payload, in-memory cache
0e1ff55

omerehrlich commited on

Swap demo from Circadian rhythm to CRISPR
12da8b8

omerehrlich commited on

Add Circadian Rhythm demo: GET /demo endpoint + 'View Demo' button
cf67f2a

omerehrlich commited on

Add grouped_idx + interactive edits-over-time, heatmap, and co-occurrence charts
16b0322

omerehrlich commited on

Per-instance OpenAI client + per-call temp JSONL; remove os.environ mutation
a98a573

omerehrlich commited on