Commit Graph
175 Commits
Author SHA1 Message Date
Daniel O'Connell 2d4926d5e8 use unicode X for deleting 2023-10-18 16:56:40 +02:00
Daniel O'Connell 0a563fa8d6 Allow chat items to be deleted 2023-10-17 20:23:20 +02:00
Daniel O'Connell 7440021964 rename numTokens to maxNumTokens 2023-10-15 21:42:35 +02:00
Daniel O'Connell 66d55d93dd Move to langchain 2023-10-15 18:59:52 +02:00
Daniel O'Connell e4f60fbaa3 fix searchbar 2023-10-07 15:12:13 +02:00
Daniel O'Connell 23c01d45eb prettier formatting 2023-10-03 23:51:52 +02:00
Daniel O'Connell ac25ce7746 Allow abortion of current search 2023-10-03 23:42:53 +02:00
Daniel O'Connell 3f39eac0cb Add better model validations 2023-10-03 21:50:20 +02:00
Daniel O'Connell 0881a01015 Do not rerender playground on every change 2023-10-03 20:41:36 +02:00
Daniel O'Connell 43f1aab75a add styling to playground 2023-10-02 18:53:33 +02:00
Daniel O'Connell 88a88406f5 Allow the backend to be configured 2023-10-02 18:53:33 +02:00
Daniel O'Connell ff55dd5da8 Basic playground 2023-10-02 18:53:33 +02:00
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