henri123lemoine
049aa315e5
Added ARD_LangChain_QA_Chat notebook to gitignore
2023-06-27 01:45:38 -04:00
henri123lemoine
b25777741d
Added main() for modularity
2023-06-24 00:21:12 -04:00
henri123lemoine
d8c6665a51
Deleted unnecessary lines and added replace_current_index functionality to create_index
2023-06-23 18:59:57 -04:00
henri123lemoine
22b912c814
Added convenient __str__ to the pinecone handler
2023-06-23 18:55:57 -04:00
henri123lemoine
61cb161ffc
Improved validate_entry
2023-06-23 18:48:56 -04:00
henri123lemoine
5ba1e0c22d
Removed unused files
2023-06-23 18:27:14 -04:00
henri123lemoine
1c96ca4112
Updated main.py to call update_dataset.py
2023-06-23 18:27:02 -04:00
henri123lemoine
1d8c025d24
Created update_dataset.py
...
It contains a class, ARDUpdater, that deals with upserting entries to both sql and pinecone databases by checking diffs. It deals with splitting chunks and embedding them before upserting to pinecone.
2023-06-23 18:26:45 -04:00
henri123lemoine
c76ad2df28
Added a Pinecone database handler
2023-06-23 18:23:10 -04:00
henri123lemoine
1514e9ec27
Created an sqlite database handler
2023-06-23 18:22:56 -04:00
henri123lemoine
72c28ad133
added example .env in src/
2023-06-23 18:22:33 -04:00
henri123lemoine
27a56b601e
Updated gitignore
2023-06-23 18:22:18 -04:00
Thomas Lemoine
3b667ce16a
simplified validation
2023-06-23 15:00:50 -04:00
Thomas Lemoine
8044111a1b
commented change in authors' type from str to list
2023-06-21 00:45:40 -04:00
Thomas Lemoine
9b8c470438
removed error_count_dict
2023-06-21 00:41:54 -04:00
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