Commit Graph
45 Commits
Author SHA1 Message Date
Brandon Thomas bd4644098f Upgrade sqlx to latest (0.7.2)
Hypothetically this unblocks native rustls over IP address. If so, we
can drop native OpenSSL and Ubuntu packages and make a much simpler
build.

See this issue:
https://github.com/launchbadge/sqlx/issues/1095#issuecomment-798050828

Had to deal with a few migration issues,

- changes to transactor types:
  https://github.com/launchbadge/sqlx/issues/2606

- changes to sqlx_core that impacted our serialization/deserialization macros
2023-11-19 23:25:52 -05:00
Brandon Thomas 699bb6a6a7 Clion auto-optimize imports, remove dead imports, Clippy lint 2023-09-20 01:39:58 -04:00
Brandon Thomas c40333e2a2 Fixup sqlx offline query caching, fix failing tests, fix docker 2023-03-08 05:56:59 -05:00
Brandon Thomas 5af6a68de7 Random init news story progress - better for initial mix of stories 2023-02-24 04:21:26 -05:00
Brandon Thomas 19532388a3 work on selecting random stories to scrape 2023-02-24 04:05:03 -05:00
Brandon Thomas 8f40db9a3e return short news title in HTTP endpoint 2023-02-22 08:36:18 -05:00
Brandon Thomas b0a7c953be Try to remove stories that have TTS strokes 2023-02-22 08:29:06 -05:00
Brandon Thomas 5d111f0a68 fix job queue state flow 2023-02-22 07:35:45 -05:00
Brandon Thomas 51a5571d84 new jobs: LLM title summary, LLM categorization 2023-02-22 07:28:04 -05:00
Brandon Thomas 95f2ec3e40 Add new status columns to list queries 2023-02-22 06:02:10 -05:00
Brandon Thomas 8395739500 save debugging info 2023-02-20 05:23:07 -05:00
Brandon Thomas c537f09c8f Image generation works! 2023-02-20 05:09:35 -05:00
Brandon Thomas 896938b762 begin work on per-website greenlighting 2023-02-19 06:05:48 -05:00
Brandon Thomas 486960905d Add web_content_type to news_stories and news_story_productions 2023-02-19 05:57:36 -05:00
Brandon Thomas 68a3c123eb Include all news stories if "recent" is an empty list 2023-02-18 01:19:41 -05:00
Brandon Thomas f7ddd24325 Get next audio file in sequence 2023-02-16 02:26:48 -05:00
Brandon Thomas 1b1ed15f21 endpoint for random news story 2023-02-15 04:55:46 -05:00
Brandon Thomas dc93602306 track audio durations in db 2023-02-15 04:04:21 -05:00
Brandon Thomas 2898f40ad1 Fix errors 2023-02-15 03:34:27 -05:00
Brandon Thomas ced51c7f58 track extra metadata throughout production 2023-02-15 03:20:38 -05:00
Brandon Thomas b208847ec8 insert news story, tighten up timings 2023-02-15 02:48:15 -05:00
Brandon Thomas a735d3e972 sequence length 2023-02-15 01:24:16 -05:00
Brandon Thomas 90aa091398 refactor tts_render_targets -> tts_render_tasks 2023-02-15 01:12:58 -05:00
Brandon Thomas f8e7ae3ced preproduction story finalization 2023-02-14 13:09:22 -05:00
Brandon Thomas 0a0105410d Get updated audio status 2023-02-14 05:13:57 -05:00
Brandon Thomas 69a79b76ea seems to work better? 2023-02-14 04:26:53 -05:00
Brandon Thomas 809387958c cleanup 2023-02-14 03:29:46 -05:00
Brandon Thomas 44f7824910 cleanup 2023-02-14 02:59:29 -05:00
Brandon Thomas 1e05dcb7e2 Add sequence order 2023-02-14 02:47:07 -05:00
Brandon Thomas 72bdea7d10 Record inference details 2023-02-14 02:22:00 -05:00
Brandon Thomas c3981e8554 idempotency crate, FakeYou requests to infer work 2023-02-14 02:03:31 -05:00
Brandon Thomas 6b937b7cd0 FakeYou rendering *almost* works 2023-02-14 01:37:26 -05:00
Brandon Thomas 1d173a74d5 split into paragraph heuristic 2023-02-13 04:34:24 -05:00
Brandon Thomas 3786a64eb1 text splitting 2023-02-13 03:49:01 -05:00
Brandon Thomas 144df6ffc0 refactor to make llm rendition a part of production flow 2023-02-12 17:52:18 -05:00
Brandon Thomas 85e0ce4b4a Greenlighting stories + production workflow (abstract, but will use) 2023-02-12 15:54:26 -05:00
Brandon Thomas ba3ff9768a WIP - tables for stories 2023-02-10 06:28:55 -05:00
Brandon Thomas b8e37d2e77 mark jobs done 2023-02-10 03:49:45 -05:00
Brandon Thomas 5a1e61b692 add some filters 2023-02-10 01:16:51 -05:00
Brandon Thomas 6c33c31289 skip CNN video content 2023-02-08 05:13:45 -05:00
Brandon Thomas b1bbfe21ec OpenAI API calls 2023-02-08 03:36:41 -05:00
Brandon Thomas b8fe3a0e7d fix pagination bugs 2023-02-07 03:04:04 -05:00
Brandon Thomas 6a86f43a92 scraping appears to work 2023-02-07 02:18:00 -05:00
Brandon Thomas 6abbbaae01 list query, enum macros for web_scraping_targets (sqlite) 2023-02-06 23:46:22 -05:00
Brandon Thomas eefe48f8ca CNN candidate articles via RSS + Sqlite inserts 2023-02-05 05:02:13 -05:00