Henri Lemoine
e7efa23ae7
aligned Citation with ShowCitation; author->authors
2023-09-04 21:25:02 -04:00
Daniel O'Connell
aea03c4546
Use new pinecone embeddings
2023-09-02 18:31:59 +02:00
Daniel O'Connell
7dd5434f9a
Move API files to a src folder
2023-09-01 20:23:56 +02:00
Fraser
bd3bda2576
fix small UI bugs around error.
2023-08-22 01:58:54 -04:00
Fraser
de3c5942f8
correct glossary.tsx indentation
2023-08-15 22:51:45 -04:00
Fraser
f914773333
Merge branch 'main' into indentation-fix
2023-08-15 22:50:31 -04:00
Fraser
f47c68b665
don't link when glossary term has no page entry
2023-08-15 22:47:22 -04:00
Fraser
5e4198aef9
add word boundaries to terms, escape regex chars
2023-08-15 22:39:08 -04:00
Fraser
4fcc46dac1
pre-sort keys
2023-08-15 22:32:51 -04:00
Fraser
391f4b3ffe
reformat to 2-space indentation
...
React and JSX tend to have a lot of deeply indented code, and in the community 2-space indentation is pretty common. Since I'm the primary dev working on the codebase, I'm going to take the initiative here and swap stuff over.
2023-08-13 11:49:48 -04:00
Fraser
8d223e6ccd
Merge remote-tracking branch 'stampy/main' into glossary
2023-08-13 11:35:13 -04:00
Fraser
65da8bb599
fill glossary terms in human written answers
2023-08-12 17:48:27 -04:00
Fraser
463e3904e3
swap order of elements for more consistent layout
2023-08-12 17:46:03 -04:00
Fraser
48d0c48964
fix positioning of hover box when text is not on far left
2023-08-12 17:32:01 -04:00
Fraser
42f3666dec
rename element to be more accurate
2023-08-12 17:06:54 -04:00
Fraser
f00bde5e88
provide glossary in context, so we only need to fetch it once
...
same story with compiling the regex state machine that identifies our terms.
2023-08-12 16:59:37 -04:00
Fraser
f358f6d7e5
also fall back to duckduckgo on in-text citations
...
accidentally missed this one the first time around
2023-08-10 13:03:20 -07:00
Fraser
3bc1fad58d
display hover text, link to aisafety.info
2023-08-09 00:26:10 -04:00
Fraser
dfc1069b07
blank all glossary terms in AI text
2023-08-08 23:53:22 -04:00
Fraser
b30eed85e7
fix trailing spaces
2023-07-30 15:30:45 -04:00
Fraser
09efc4dd8d
add one particularly good question to the standard set
2023-07-11 23:55:28 -04:00
FraserLee
4792b6350e
Merge branch 'main' into level-modes
2023-07-11 23:33:59 -04:00
Fraser
7558dbbfa9
implement changes from @Thomas-Lemoine review
2023-07-11 23:32:16 -04:00
ccstan99
64a48c6306
update header, ard-private readme
2023-07-11 18:08:53 -07:00
Fraser
f7ce715ac4
create level modes
2023-07-10 21:59:51 -04:00
Fraser
4c6f750e52
link to duckduckgo when url field empty
2023-07-10 20:39:54 -04:00
Fraser
8e99e566fe
remove information from McGill prototype
...
Now that we're off the old host, we're able to drop this old information and leave the railway site as a historical relic for the mcgill project. Nice stuff!
2023-07-05 02:13:05 -04:00
TJ Porter
299e394add
Fixes #43
2023-07-02 01:33:03 -05:00
Fraser
ed8f5ae1c0
don't SSR searchbox
2023-06-12 20:17:09 -04:00
Fraser
967a040d5b
fix typescript error
2023-06-12 20:09:33 -04:00
Fraser
f2d0ee7104
added a bunch more for variety
2023-06-12 19:57:31 -04:00
Fraser
739c2dfe4c
add ccstan99's suggested initial queries
2023-06-12 19:34:17 -04:00
Fraser
88fbf1e0b2
quick styling fix
2023-06-08 21:01:22 -04:00
Fraser
bd3b25030b
add a default question to searchbox
...
maybe we should randomly cycle between these or something
2023-06-08 21:00:40 -04:00
Fraser
da28b04513
update semantic.tsx to new search standard
2023-06-02 23:37:48 -04:00
Fraser
33c479e9d3
fix link hover style
2023-06-02 23:32:04 -04:00
Fraser
1321e59a81
style stampy answers
2023-06-02 23:31:44 -04:00
Fraser
7965952b94
change order of followup mixing
...
this feels better when actually using it, even though a question you still might want occationally drops out of scope
2023-06-02 23:28:10 -04:00
Fraser
20afe91c4b
blend generated followups with ones suggested in stampy answers
2023-06-02 23:16:52 -04:00
Fraser
4671296fcb
add logo to link
2023-06-02 22:45:37 -04:00
Fraser
ad71355821
link answers to source
2023-06-02 22:34:02 -04:00
Fraser
a209ecb7eb
display html stampy answers
2023-06-02 22:25:44 -04:00
Fraser
113d5ee81b
retain non-selected followups
2023-06-02 22:05:31 -04:00
Fraser
fdaef66f41
Get stampy answer to frontend
2023-06-02 21:54:02 -04:00
Fraser
808565e5a6
move followups into searchbox, simplify ui data model
2023-06-02 20:56:29 -04:00
Fraser
dc6c958aaf
decouple followups from loading state
2023-06-02 20:13:13 -04:00
Fraser
d84a1e4315
open followup when clicked
2023-06-02 00:34:04 -04:00
Fraser
b6b6864ea2
display followups in UI
2023-06-02 00:29:03 -04:00
Fraser
eee29179db
pass followups to front-end on finish response
2023-06-02 00:03:03 -04:00
Fraser
6fbc1171a8
decrease amount of info logged
...
also add disclaimer on front-end.
2023-05-07 21:01:02 -04:00