Commit Graph
199 Commits
Author SHA1 Message Date
Fraser 386614fa68 Finish restructure prompt
I've A/B tested *a lot*, and find doing it this way (sources initially, then truncated conversation, then final question) ends up allowing the user to ask clarifying questions better, with minimal if any drop in citation knowledge and relevance
2023-04-03 20:20:36 -04:00
Fraser 6e4f828cbd check valid citation
Asking questions about the format of citation itself is a quick way to check out-of-range info
2023-04-03 20:16:51 -04:00
Fraser ebbf5e81ac attempt to restructure prompt code 2023-04-03 20:16:51 -04:00
Fraser dc83b8b357 fix bug in prompt 2023-04-03 19:32:46 -04:00
Fraser f1b72307b6 Merge branch 'main' into deploy 2023-04-01 05:08:21 -04:00
Fraser ce74d81304 link lesswrong post 2023-04-01 05:08:11 -04:00
Fraser 3315522458 Merge branch 'main' into deploy 2023-04-01 03:22:11 -04:00
Fraser ebeba0cfbb fix margin 2023-04-01 03:22:00 -04:00
Fraser d49e18d4d0 add gpt 4 toggle 2023-04-01 01:20:59 -04:00
Fraser 74fa2b7b1a fix bug 2023-03-31 23:30:36 -04:00
Fraser 26f7d4411e get chat slightly more compiling 2023-03-31 23:13:44 -04:00
henri123lemoine b197ee086c Big fix total_tokens 2023-03-31 22:10:53 -04:00
Fraser 1dbb24e30a limit to a max of 3 blocks from any one source 2023-03-31 22:05:20 -04:00
Fraser 219de8fd3c pad body 2023-03-31 22:00:57 -04:00
henri123lemoine 5b64ae1efc Reduced odds of context length error. 2023-03-31 21:45:15 -04:00
Fraser 514f3bdfe1 Merge branch 'main' into deploy 2023-03-31 21:03:06 -04:00
Fraser 42b016cae5 move dataset load to build-time 2023-03-31 21:02:53 -04:00
Fraser 88efcbc709 newer screenshot 2023-03-31 20:49:03 -04:00
Fraser 3b38165ae9 public facing readme 2023-03-31 20:33:11 -04:00
Fraser 9f40017dbc fix single letter 2023-03-31 20:06:33 -04:00
Fraser 2bbffe5350 up runtime bound 2023-03-31 19:46:04 -04:00
Fraser ef935ec0c1 context sensitive dataset load 2023-03-31 19:40:05 -04:00
Fraser 52585d7991 add error passing mechanism 2023-03-31 18:32:52 -04:00
Fraser cf94c06a79 right-align sent messages 2023-03-31 18:13:03 -04:00
Fraser f82f9cfc4c drop .env from reqs 2023-03-31 17:24:22 -04:00
Fraser 23a0a7844e update api reqs 2023-03-31 17:15:01 -04:00
Fraser b80194c380 switch to remote datasource 2023-03-31 17:02:29 -04:00
Fraser de8c86e152 keep incrementing number
number go up
2023-03-31 15:29:25 -04:00
Fraser 30c9c7d727 catch more forms 2023-03-31 15:16:12 -04:00
Fraser 5f98f10767 increase margins 2023-03-31 15:01:26 -04:00
Fraser fb4e979c51 in-text citation 2023-03-31 14:57:30 -04:00
Fraser b81c2ea7f7 multi-citation fix, preserve clean api-side response 2023-03-31 14:25:39 -04:00
Fraser 5318e86821 prune list to only those actually used 2023-03-31 13:45:19 -04:00
Fraser b9f88f7c9d list citations in obvious way 2023-03-31 13:28:28 -04:00
Fraser 19b195dcfe drop back down to 30 for the moment 2023-03-31 10:10:59 -04:00
Fraser 5dd004d2bd undo git lfs
c'mon railway
2023-03-30 10:26:34 -04:00
Fraser 3c7dbef54d swap to using 600 as dataset 2023-03-30 10:09:43 -04:00
Fraser 90f274eb38 add 600mb pkl into repo 2023-03-30 09:57:22 -04:00
Fraser 55d7bc8d68 delete old api folder 2023-03-30 09:36:03 -04:00
Fraser e0c7eb8cc7 chat code working in railways 2023-03-30 09:35:23 -04:00
Fraser 03daf9040a drop from gitignore 2023-03-30 09:14:45 -04:00
Fraser 2453afd715 try configure 2023-03-30 09:01:41 -04:00
Fraser 492fd1982e semantic search working in flask 2023-03-30 08:15:36 -04:00
Fraser bb5af6e40f init flask api 2023-03-30 07:10:13 -04:00
Fraser aed097a77d test api key 3 2023-03-30 06:48:40 -04:00
Fraser e3b4d1f01d test api key 2 2023-03-30 06:46:11 -04:00
Fraser d81e0bc20d test api key 2023-03-30 06:14:15 -04:00
Fraser a7404b42d6 swap to 30% dataset 2023-03-30 05:48:28 -04:00
henri123lemoine 8c1962fa7a Updated main, success 2023-03-30 03:45:06 -04:00
henri123lemoine 41877a58a8 Updated create_dataset, success 2023-03-30 03:44:26 -04:00