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
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
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
42b016cae5
move dataset load to build-time
2023-03-31 21:02:53 -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
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
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
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