Commit Graph

115 Commits

Author SHA1 Message Date
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 dd28e3d1e9 Replace special value with just not asuming that filters are about open cards by default 2025-07-24 16:48:03 +02:00
Jorge Manrubia 9d0887f6bd Use a workaround with a special indexed_by filter to "query all" 2025-07-24 16:48:02 +02:00
Jorge Manrubia 83d743fe2a Make the translator use the /insight command 2025-07-24 16:48:02 +02:00
Jorge Manrubia 1c6adf54a8 Restore semantic searches 2025-07-24 16:47:57 +02:00
Jorge Manrubia 6080c2aa9b Refine when to filter by cards, make it more relaxes with the expressions it accepts 2025-07-24 16:47:53 +02:00
Jorge Manrubia 6a2614d025 Regenerate fixtures 2025-07-23 16:58:06 +02:00
Jorge Manrubia 62994c05f8 Regenerate fixtures 2025-07-23 13:18:36 +02:00
Jorge Manrubia da4afe7252 Regenerate fixtures after tweaking prompt 2025-07-23 13:12:41 +02:00
Jorge Manrubia fc1ff7bf5e Fix tests 2025-07-23 12:21:20 +02:00
Jorge Manrubia 70f19e54b5 Add assertion on HTML content 2025-07-22 18:47:48 +02:00
Jorge Manrubia e87ed26f75 Add tests 2025-07-22 18:45:07 +02:00
Jorge Manrubia 39c7a54ad6 Add /user command
The LLM was relying on it. Having it missing resulted in a stack overflow error!

https://fizzy.37signals.com/5986089/collections/7/cards/1135
2025-07-18 17:59:02 +02:00
Jorge Manrubia 921db25646 Make sure it doesn't infer custom abbreviations when matching user names 2025-07-18 17:31:19 +02:00
Jorge Manrubia 16abcf2049 Bump cache version 2025-07-18 14:32:04 +02:00
Jorge Manrubia d9b2a49892 Resolve stages 2025-07-18 12:47:03 +02:00
Jorge Manrubia 44873e8ac4 More refinements 2025-07-18 06:50:13 +02:00
Jorge Manrubia d81568ff57 Filter by stage id, much better collection filtering 2025-07-18 05:50:22 +02:00
Jorge Manrubia b30bc85f4e Rework prompt to make it less ambiguous and better overall 2025-07-18 05:11:08 +02:00
Jorge Manrubia 1486392b6b WIP 2025-07-17 13:32:37 +02:00
Jorge Manrubia 5f04696fe8 Rewrite prompt to be more accurate and example-driven 2025-07-17 13:32:36 +02:00
Jorge Manrubia 88074cc7ed Remove unneeded * 2025-07-04 21:57:18 +02:00
Jorge Manrubia f18b79d464 Rename /add_card => /add 2025-07-03 17:23:56 +02:00
Jorge Manrubia 7794dd2fc4 More prompt tweaks 2025-07-03 16:07:21 +02:00
Jorge Manrubia f4147bda27 Support completed by via natural language 2025-07-03 15:52:11 +02:00
Jorge Manrubia ac2400a657 Add /reopen command 2025-07-03 13:52:12 +02:00
Jorge Manrubia a2ca8b1dc0 Improved support to act on cards via ID 2025-07-03 13:09:10 +02:00
Jorge Manrubia 75387891d5 Refine prompt 2025-07-03 12:54:24 +02:00
Jorge Manrubia ca4628b457 Add more tests and fix failing ones 2025-07-03 12:46:36 +02:00
Jorge Manrubia 1f21c12c35 Support viewing user profiles and activity 2025-06-27 15:22:45 +02:00
Jorge Manrubia 4e894fa5fe refresh fixtures 2025-06-27 13:55:50 +02:00
Jorge Manrubia 7da4696952 Always downcase names 2025-06-27 13:55:10 +02:00
Jorge Manrubia f5832f1a36 Remove vcr_record call 2025-06-27 13:40:57 +02:00
Jorge Manrubia cabf57dec3 Support closing soon and falling back soon via natural language 2025-06-27 13:39:19 +02:00
Jorge Manrubia 4d5017b671 Add chip filters for the new time window filters
rename close => closure to ease interpretation by the LLM
2025-06-27 13:38:45 +02:00
Jorge Manrubia 3391a20843 Fix: creator_ids is an array, not a single value 2025-06-27 13:38:23 +02:00
Jorge Manrubia 3fbfa1404c Add support for filtering by creation or completion windows of times 2025-06-27 13:38:22 +02:00
Jorge Manrubia fe96ed89b8 Format 2025-06-26 17:21:41 +02:00
Jorge Manrubia c760393ed3 Add command to create new cards 2025-06-26 17:14:47 +02:00
Jorge Manrubia 8802461484 Support visiting certain pages 2025-06-26 16:43:04 +02:00
Jorge Manrubia e45c479952 More prompt tweaks 2025-06-26 16:14:02 +02:00
Jorge Manrubia 78bb3d699b Lots of prompts improvements and tightening 2025-06-26 16:08:24 +02:00
Jorge Manrubia cd4e6c75d7 Set temperature to 0 2025-06-26 08:42:06 +02:00
Jorge Manrubia 74c97aac01 Update help 2025-06-26 01:07:47 +02:00
Jorge Manrubia 0765116779 Add stage command to assign workflows to cards 2025-06-26 01:05:51 +02:00
Jorge Manrubia 8ea6a656e1 Format 2025-06-25 23:43:45 +02:00
Jorge Manrubia c1ebbb6255 Add help 2025-06-25 23:33:10 +02:00
Jorge Manrubia 30103d3088 Add tests 2025-06-25 23:29:25 +02:00
Jorge Manrubia c0d46390d4 Refine prompt 2025-06-25 15:49:32 +02:00
Jorge Manrubia 7018d30144 Review prompt 2025-06-25 15:40:22 +02:00