Commit Graph

41 Commits

Author SHA1 Message Date
Jorge Manrubia 5ad2d09eae Move the hack to fetch completed cards to the insight command logic
We need to rework this as part of the filters revamp. "indexed_by" being
a mix of filters keeps biting us.
2025-07-24 16:48:05 +02:00
Jorge Manrubia 018c746d2a Make the prompt smarter about the current context to make better calls 2025-07-24 16:48:03 +02:00
Jorge Manrubia 8bb7783215 Extract "prompt generation" logic to models for events, comments and cards
So that we can reuse in other scenarios
2025-07-24 16:48:03 +02:00
Jorge Manrubia 4d3e7bf0af Fix: llm model 2025-07-24 16:48:01 +02:00
Jorge Manrubia f3fa324f09 Let summaries know about collections 2025-07-23 16:54:39 +02:00
Jorge Manrubia c082a1b1f5 More tweaks 2025-07-23 13:15:49 +02:00
Jorge Manrubia c8c297a75e Fix model selection (I had broken it!) 2025-07-23 13:10:47 +02:00
Jorge Manrubia 49518692bb Some prompt refinements 2025-07-23 13:04:41 +02:00
Jorge Manrubia fc1ff7bf5e Fix tests 2025-07-23 12:21:20 +02:00
Jorge Manrubia 90ddadea5c Format 2025-07-23 12:04:18 +02:00
Jorge Manrubia f32e89c277 Format 2025-07-23 11:43:10 +02:00
Jorge Manrubia c3ae05833e Make models selectable 2025-07-23 11:02:34 +02:00
Jorge Manrubia 5322ce2afb Add comment's context for each card too 2025-07-22 22:43:01 +02:00
Jorge Manrubia e1ab4ec13c Use 4o for now, it's just better for summarizing and conversation
It's more expensive, going with the best and we'll tune later
2025-07-22 22:34:12 +02:00
Jorge Manrubia 662f6dffe8 Use gpt-4.1 for now, several prompt refinements 2025-07-22 21:32:10 +02:00
Jorge Manrubia fd0484176c Format 2025-07-22 18:59:10 +02:00
Jorge Manrubia e87ed26f75 Add tests 2025-07-22 18:45:07 +02:00
Jorge Manrubia 6aca86c87a Forgot to rename this 2025-07-22 18:31:52 +02:00
Jorge Manrubia 13b20d43c8 Refine prompt 2025-07-22 18:13:44 +02:00
Jorge Manrubia ca640b5b45 Remove (not used) 2025-07-22 15:39:40 +02:00
Jorge Manrubia 26089f77b7 Remove unused column and rename contents => content 2025-07-22 15:23:39 +02:00
Jorge Manrubia 0397327442 Avoid links to comments for now 2025-07-22 14:40:59 +02:00
Jorge Manrubia 6d26195bc7 Add a debug prompt endpoint so that we can play with the prompts live 2025-07-22 14:33:34 +02:00
Jorge Manrubia 89a9e7f32c Tweak prompt for trying to avoid liks like "card 1234" 2025-07-22 12:28:05 +02:00
Jorge Manrubia 9c6f1354c4 Broadcast and show summaries on the fly 2025-07-22 12:26:32 +02:00
Jorge Manrubia 053ae76312 Tweak prompt 2025-07-22 12:06:56 +02:00
Jorge Manrubia 7cd459f2b8 AI Summaries: basic abstractions, functional version 2025-07-22 11:57:39 +02:00
Jorge Manrubia 905ccb9b4b Make comments the event's host 2025-04-24 13:45:48 +02:00
David Heinemeier Hansson 2f8a9bed0e There is only ever one account per database
So there is no protection in scoping things by account cc @jorgemanrubia
2025-04-12 11:30:28 +02:00
Jorge Manrubia 9b4169c7ca Scope data by account
With a single database this problem is not as bad, but it feels
safer to do things right. Also, not everyone in an account has access
to all the bubbles.
2025-04-07 13:09:49 +02:00
Kevin McConnell a65d7b0397 Don't blow up on missing comment 2025-03-05 16:51:14 +00:00
Kevin McConnell 415e872a2b Combine concerns 2025-01-14 13:57:48 +00:00
Kevin McConnell a082eb75f5 Track events for new comments too 2025-01-13 14:21:47 +00:00
Jose Farias 85d47a35ab threadables -> messageables 2024-10-25 15:03:31 -06:00
Jose Farias 3db14a117c Store stage ids in event particulars 2024-10-24 17:36:40 -06:00
Jose Farias c57f18c20c Materialize abstract thread
The domain language is clearer if we just persist a thread. Also rename some models so their purpose is clear.
2024-10-24 17:36:14 -06:00
Jose Farias ad88f90302 Fine not to denormalize user names in events 2024-10-24 15:50:00 -06:00
Jose Farias 06ea38a9f7 Denormalize event data 2024-10-23 13:38:00 -06:00
Jose Farias b0565fbf20 Spike workflows 2024-10-21 15:33:30 -06:00
Jose Farias f4b5210ca1 Spike persisted filters 2024-10-16 16:41:11 -06:00
Jose Farias ec7fc75054 Spike events system 2024-10-11 20:14:09 -05:00