Fraser
f152e50db5
regen results into new format
2023-07-08 14:33:31 -04:00
Fraser
7232f8a40d
timestamp spreadsheet
2023-07-08 14:16:05 -04:00
Fraser
fb140fd9fa
better layout of citations in results
2023-07-08 14:14:27 -04:00
Fraser
a0f4613082
Re-gen answers to include ccstan's benchmark set
2023-07-08 14:05:28 -04:00
Fraser
42c93503e2
Add ccstan's benchmark questions
2023-07-08 14:00:15 -04:00
Fraser
6923907c20
csv -> data folder
2023-07-08 13:57:35 -04:00
Fraser
f779ee3140
generate answers
2023-07-08 13:56:51 -04:00
Fraser
16d8dd54b5
read questions from CSV instead of text
2023-07-08 13:56:39 -04:00
Fraser
65a59ba127
omit empty fields from citation
2023-07-08 13:50:10 -04:00
Fraser
e3db839aee
correctly format answer
2023-07-08 13:43:25 -04:00
Fraser
3b35425e7e
reading and writing to sheet
2023-07-08 13:30:36 -04:00
Fraser
361f1e1499
basic submodule working
2023-07-06 09:56:07 -04:00
Fraser
c589ca01d3
move env stuff into its own file
2023-07-06 09:30:03 -04:00
TJ Porter
8c2f305424
Fixed syntax error in Pipfile to ensure pip install works in production.
2023-07-02 01:36:48 -05: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
Fraser
0496864593
set temperature = 0
2023-06-12 20:27:23 -04:00
Fraser
4f2b7b8435
log clicked followup name
2023-06-10 20:24:26 -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
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
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
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
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
Fraser
6d6542a3bf
remove old deploy file
2023-05-07 19:56:03 -04:00
Fraser
ccccec5f82
swap from requirements.txt to Pipfile
2023-05-07 19:50:47 -04:00
Fraser
31b83689e3
add instructions on how to setup and run locally
2023-05-06 12:09:55 -04:00
Fraser
93f52f30f3
fix old dependency
2023-04-26 17:52:20 -04:00
Fraser
dee78258d6
fully working streaming
2023-04-16 21:12:33 -04:00
Fraser
6d91e42363
stream answer
2023-04-16 19:37:57 -04:00
Fraser
10c3068aa5
error passing and logging in SSE
2023-04-16 19:01:12 -04:00
Fraser
421b755a75
somewhat more complete integration
2023-04-16 18:52:58 -04:00
Fraser
0a7f68f1fc
working SSE streaming
2023-04-16 18:26:25 -04:00
Fraser
10ba7e75e0
fix date display
2023-04-06 21:17:52 -04:00
Fraser
20c9369209
log response time
2023-04-06 20:58:31 -04:00
Fraser
0fe3651f6a
error catch around larger section in chat.
2023-04-06 20:25:36 -04:00
Fraser
46cb9841c6
don't auto-download dataset on build.
2023-04-06 20:10:59 -04:00
Fraser
5e49d90654
fix typo in pormpt
2023-04-06 20:02:00 -04:00
henri123lemoine
a561404bef
Changed back to using ChatGPT by default
2023-04-05 13:17:07 -04:00
henri123lemoine
bfe01889ab
Increased k in gpt-4
2023-04-05 11:22:03 -04:00
henri123lemoine
5785e1eb49
Added python-dotenv to requirements.txt
2023-04-05 10:11:49 -04:00
henri123lemoine
2fa1e51012
Moved to Pinecode instead of pickle
2023-04-05 09:55:03 -04:00
Fraser
2eabf1ac04
disable printing
2023-04-03 20:21:52 -04:00
Fraser
386614fa68
Finish restructure prompt
...
I've A/B tested *a lot*, and find doing it this way (sources initially, then truncated conversation, then final question) ends up allowing the user to ask clarifying questions better, with minimal if any drop in citation knowledge and relevance
2023-04-03 20:20:36 -04:00