Daniel O'Connell
b4a072cc8e
extract chat component
2023-10-02 18:53:33 +02:00
Daniel O'Connell
edb4a89401
fix typescript errors
2023-10-02 14:24:49 +02:00
Daniel O'Connell
748daca3b7
pr fixes
2023-10-01 10:58:27 +02:00
Daniel O'Connell
0a5f995855
Reuse citation numbers
2023-09-30 23:46:47 +02:00
Daniel O'Connell
718b177bd0
Change method of numbering citations
2023-09-30 23:36:38 +02:00
Daniel O'Connell
5126a8d767
Separate citations state
2023-09-30 19:25:31 +02:00
Daniel O'Connell
42108e8dfc
Use textareas for previous questions
2023-09-30 18:13:56 +02:00
Daniel O'Connell
266936a4b5
Notify when fetching followups
2023-09-30 18:02:35 +02:00
Daniel O'Connell
382430da32
Session ids
2023-09-29 17:08:26 +02:00
Daniel O'Connell
04c0d743f4
PR comments
2023-09-29 13:23:11 +02:00
Daniel O'Connell
025e6881f0
move Stampy URL cleaner to JS
2023-09-29 13:14:12 +02:00
Daniel O'Connell
149dd13d1f
Clean up web search
2023-09-29 13:14:12 +02:00
Daniel O'Connell
cedb2aa280
Component for pages + small tidy ups
2023-09-28 23:08:26 +02:00
Daniel O'Connell
ac7fdbc442
Restructure web components
2023-09-28 22:45:51 +02:00
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