Commit Graph
283 Commits
Author SHA1 Message Date
Thomas Lemoine 12c9db9cd0 load_dataset simpler than langchain's wrapper 2023-06-21 00:40:26 -04:00
Thomas Lemoine 5479ed7e93 minor change to MAX_LEN_PROMPT 2023-06-21 00:38:43 -04:00
Thomas Lemoine f2e160f8e3 removed commented-out code 2023-06-21 00:37:16 -04:00
Thomas Lemoine a755ecc480 removed PATH_TO_DATASET_PKL, stored in dict now 2023-06-21 00:36:14 -04:00
Thomas Lemoine e9ebb25f88 fixed minor errors from testing 2023-06-21 00:34:14 -04:00
Thomas Lemoine a25f217530 simplified dataset code + uses huggingface dataset 2023-06-21 00:30:30 -04:00
FraserLee 42d1041739 Merge pull request #31 from StampyAI/simplified-api-endpoint
Simplified api endpoint
2023-06-12 21:42:21 -04:00
Fraser 2b92a501fd include letter key in citation form 2023-06-12 21:36:53 -04:00
Fraser b8de878b0f decode url encoded strings 2023-06-12 21:34:03 -04:00
Fraser 97ebac8b07 add simplified chat API 2023-06-12 21:33:11 -04:00
Fraser 9ed99441e6 Split out json conversion into wrapping coroutine 2023-06-12 21:15:59 -04:00
FraserLee 8bb5187409 Merge pull request #30 from StampyAI/temperature-zero
set temperature = 0
2023-06-12 21:01:50 -04:00
Fraser 0496864593 set temperature = 0 2023-06-12 20:27:23 -04: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
FraserLee 32306fe932 Merge pull request #27 from StampyAI/default-question
Add a default question when opening the page for the first time
2023-06-12 20:04:54 -04:00
Fraser be8d5b1132 Merge branch 'log-followup-name' into default-question 2023-06-12 19:58:31 -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
FraserLee ebd9509696 Merge pull request #28 from StampyAI/log-followup-name
log the name of a followup when clicking through
2023-06-10 20:45:54 -04:00
Fraser 4f2b7b8435 log clicked followup name 2023-06-10 20:24:26 -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
FraserLee 62a659a83c Merge pull request #26 from StampyAI/re-strip-blocks
strip blocks again
2023-06-06 09:44:40 -04:00
Fraser c5645bc12e strip blocks again
It looks like Henri accidentally removed this in 5785e1eb49. Quick fix.
2023-06-06 09:42:54 -04:00
FraserLee ee645b0b90 Merge pull request #24 from StampyAI/suggested-followups
In text view of suggested human-authored follow-up questions
2023-06-03 00:42:15 -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 13c49f8600 log followups asked 2023-06-02 21:56:40 -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
FraserLee 203d49d7e8 Merge pull request #23 from StampyAI/suggested-followups
MVP Suggest Human-Authored Follow-Up Questions
2023-06-02 00:40:05 -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 e2fd7def4b search for followups based on both initial query and generated response 2023-06-01 23:38:39 -04:00
Fraser 820d70a3ab very basic followups check in backend 2023-06-01 23:31:11 -04:00
FraserLee 613dec0077 Merge pull request #20 from StampyAI/live-query
Default to querying from live website if pinecone url not in .env
2023-05-23 17:34:18 -04:00
Fraser 844ce744e6 Default to querying from live website if pinecone url not in .env
# Default to querying embeddings from live website if pinecone url not
# present in .env
#
# This helps people getting started developing or messing around with the
# site, since setting up a vector DB with the embeddings is by far the
# hardest part for those not already on the team.
2023-05-23 17:24:04 -04:00
FraserLee 5d927b2afc Merge pull request #14 from StampyAI/logging
Add logging
2023-05-07 21:16:59 -04:00
Fraser 6fbc1171a8 decrease amount of info logged
also add disclaimer on front-end.
2023-05-07 21:01:02 -04:00
Fraser d750a08e0e add logging via discord webhook 2023-05-07 20:47:30 -04:00