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
ce74d81304
link lesswrong post
2023-04-01 05:08:11 -04:00
Fraser
ebeba0cfbb
fix margin
2023-04-01 03:22:00 -04:00
Fraser
219de8fd3c
pad body
2023-03-31 22:00:57 -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
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
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
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
Fraser
54cd3cba52
modify multi-citation format
...
Seems like the system wants to do this by default, more stable results by embracing it
2023-03-30 01:51:57 -04:00
Fraser
48743203b4
change prompt for more stable output from multiple sources
2023-03-29 20:39:29 -04:00
Fraser
d13f58090a
Temporarily correct truncation issues
2023-03-29 15:55:49 -04:00
Fraser
da25916cc8
rename dataset
2023-03-29 15:05:10 -04:00
Fraser
3b3d67b9ac
rename searchbox
2023-03-29 14:59:04 -04:00
Fraser
83181bda45
swap to pkl dataset
2023-03-29 14:53:26 -04:00
Fraser
35627f19eb
change from [...] to .....
...
the ai got confused
2023-03-29 03:25:40 -04:00
henri123lemoine
74d4d258df
Changed from json use to pickle use.
2023-03-29 03:20:10 -04:00
Fraser
2e1caccd7a
fix search box order
2023-03-29 03:13:24 -04:00
Fraser
6066d2487f
move dataset
2023-03-29 03:11:03 -04:00
Fraser
348ae05b1e
de-alphabetize semantic results
2023-03-29 03:03:08 -04:00
Fraser
394d56642e
unify searchbox between components
2023-03-29 02:49:19 -04:00
Fraser
145a74072c
rewrite intro, crosspage linking
2023-03-29 02:25:51 -04:00
Fraser
57407af94f
cite claims
2023-03-29 01:17:37 -04:00
Fraser
f48640d7e8
fix typo
...
accidentally said assistant instead of user
2023-03-29 00:58:08 -04:00
Fraser
ead926b28f
strip embedded meta-info
2023-03-29 00:49:22 -04:00
Fraser
72378efdd7
chunk unification
2023-03-29 00:15:27 -04:00
Fraser
07b85d6021
get things compiling again
2023-03-28 23:23:19 -04:00
henri123lemoine
59a9fb2d1d
Wrote the chat func in chat.py and moved get_top_k_blocks
2023-03-28 22:48:43 -04:00
Fraser
7e18467b2a
multiline text input support
2023-03-28 22:47:25 -04:00
Fraser
825fa40fc3
defocus input when hitting esc
2023-03-28 22:27:30 -04:00
Fraser
d170b01ddc
re-focus on input field after response
2023-03-28 21:23:05 -04:00
Fraser
cdc778211a
working chatgpt endpoint
2023-03-28 21:14:42 -04:00
Fraser
856cd9ec5e
conversational flow working
2023-03-28 20:55:42 -04:00
Fraser
d211dcdc4d
split off semantic, conversation layout
2023-03-28 20:18:44 -04:00
Fraser
3369ac5806
clean up formatting of results
2023-03-28 16:59:43 -04:00
Fraser
e4c5de2dde
fix various broken things, improvements
2023-03-28 16:44:51 -04:00