Commit Graph

92 Commits

Author SHA1 Message Date
Avraham Sakal cb749072f2 fix: object generation errors; easily-switchable model 2025-08-15 17:01:34 -04:00
Avraham Sakal 341cf5bff1 upgrade ai sdk to v5 2025-08-15 16:27:25 -04:00
Avraham Sakal 3aa252e248 upgraded dependencies (ai sdk v5) 2025-08-10 17:47:12 -04:00
Avraham Sakal d44215841e editable fact triggers in the UI 2025-08-08 17:46:29 -04:00
Avraham Sakal df1e263ef7 editable facts in the UI 2025-08-08 17:43:03 -04:00
Avraham Sakal 46595649df add "Fact Triggers" tab in UI 2025-08-08 17:24:31 -04:00
Avraham Sakal 2cea5500c8 lint 2025-08-08 17:07:07 -04:00
Avraham Sakal a8eba580d0 biome format 2025-08-08 17:02:53 -04:00
Avraham Sakal 5e5549e85f factored-out generateFromFact into fact-triggers module 2025-08-08 17:02:09 -04:00
Avraham Sakal 41e94feef6 factored-out generateRunningSummary into messages module 2025-08-08 16:54:01 -04:00
Avraham Sakal 84e9ff8bd2 factored-out fact generation into facts module 2025-07-31 09:15:32 -04:00
Avraham Sakal 083b7a275c add TODO.md to make it easier to revisit the project in spurts 2025-07-28 22:26:26 -04:00
Avraham Sakal c2815b4d83 generate fact triggers on each turn 2025-07-28 22:15:59 -04:00
Avraham Sakal 55d35e150c slight refactor of delete-by-id implementation 2025-07-28 22:15:40 -04:00
Avraham Sakal 5c8620ef5e use message.id as React key 2025-07-28 21:34:18 -04:00
Avraham Sakal 5d443ef1b1 improve clarity of generated facts by using proper pronouns to refer to the user 2025-07-28 21:23:40 -04:00
Avraham Sakal bf0bfe5b07 improve prompt quality 2025-07-27 18:25:40 -04:00
Avraham Sakal c69e4de738 cleaner UI 2025-07-27 18:25:24 -04:00
Avraham Sakal 91e38521aa buttons on hover over message 2025-07-27 17:40:23 -04:00
Avraham Sakal 3b84e01057 refactor trpc procedures into domains 2025-07-27 17:22:58 -04:00
Avraham Sakal 25523559aa fetch facts on load, facts are deletable 2025-07-27 16:56:44 -04:00
Avraham Sakal caf36cf67b each generation/completion uses one system prompt and one user prompt for maximum clarity for the model 2025-07-27 13:36:01 -04:00
Avraham Sakal ee9e9424ab generate and save facts 2025-07-27 10:53:25 -04:00
Avraham Sakal d7716bd451 "chats" menu open by default 2025-07-27 09:57:45 -04:00
Avraham Sakal 01d2997f77 use lowdb for faster iteration; use strings for ids and camelCase for field names for consistency 2025-07-27 09:46:34 -04:00
Avraham Sakal 1f80ad4ba9 factored-out system prompts into their own functions 2025-07-22 08:03:15 -04:00
Avraham Sakal 5cfc70632e display the runningSummary as markdown as well 2025-07-21 20:42:09 -04:00
Avraham Sakal 3ba60b999c generate runningSummary on each turn, and include it with the main completion 2025-07-21 20:38:42 -04:00
Avraham Sakal d4018bdc8e configure opencode.json models properly 2025-07-15 09:06:19 -04:00
Avraham Sakal c36ebfa4e7 add AGENTS.md for opencode 2025-07-15 08:44:09 -04:00
Avraham Sakal af95d5d566 add opencode.json 2025-07-15 08:19:51 -04:00
Avraham Sakal de26fc5eb5 improve ui consistency with immer; implement addConversation 2025-07-14 07:51:24 -04:00
Avraham Sakal 7a9f0c956c setup postgres and kyseley for most data instead of milvus 2025-07-13 20:14:53 -04:00
Avraham Sakal 511f05af83 gather milvus collection creations into initialization function 2025-07-11 17:49:37 -04:00
Avraham Sakal cccc1f0877 fix: load envs in env.js 2025-07-11 17:48:43 -04:00
Avraham Sakal de0dafb518 begin database modeling, and user experience outline 2025-07-11 09:26:31 -04:00
Avraham Sakal 4f356153bb * trpc same data shape as generateText
* read `.env` file
* use zustand for state management
* fix peer dependency warnings by installing zod
* install milvus client
2025-06-30 08:44:49 -04:00
Avraham Sakal e0c5329ff6 fix: linting errors 2025-06-29 15:21:40 -04:00
Avraham Sakal 5ef118e9bc basic route-specific trpc file example 2025-06-29 15:17:10 -04:00
Avraham Sakal 602ba72f75 format 2025-06-27 16:25:35 -04:00
Avraham Sakal 2a4ff2e509 setup pnpm/biome/vscode 2025-06-27 16:12:47 -04:00
Bati 9916e95de0 scaffold Vike app with Bati 2025-06-26 21:42:05 -04:00