From 083b7a275c24f2c17f1f914ece288f9aaea39a34 Mon Sep 17 00:00:00 2001 From: Avraham Sakal Date: Mon, 28 Jul 2025 22:26:26 -0400 Subject: [PATCH] add `TODO.md` to make it easier to revisit the project in spurts --- TODO.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 TODO.md diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..2b0c5ca --- /dev/null +++ b/TODO.md @@ -0,0 +1,14 @@ ++ Break-out functionality in `sendMessage` into separate procedures, + namespaced by domain (e.g. `messages`, `facts`, `factTriggers`). + + Make a `withDbWrite` function to wrap the calls to these procedures, so + as to separate the generation of data from persisting it. ++ Somehow subscribe the UI to events from the `sendMessage` procedure, + so the user knows what's going on. ++ Parallelize the generation of data, so that the UI doesn't freeze for + so long while the data is being generated. ++ Chunk and generate embeddings for generated facts and fact triggers. + And save them to a database. ++ Query the database for facts triggers that match the current + conversation situation, and inject the facts they refer to into the + conversation context. ++ Implement tool use. Including tool triggers similar to fact triggers. \ No newline at end of file