215 Commits

Author SHA1 Message Date
Chris Weaver
7cc64efc3a
Enable non-admin credentials + add page for google drive (#84)
* Enable non-admin credentials + add page for google drive

* Return one indexing status entry for each connector / credential pair

* Remove some logs

* Small fixes

* Sort index status by source
2023-06-04 11:26:50 -07:00
Yuhong Sun
8c9b3079aa
Delete conflicting records from IndexAttempt on upgrade/downgrade (#83) 2023-05-31 08:54:09 -07:00
Yuhong Sun
6891e4f198
Standardize connectors + permissioning + new frontend for admin pages + small fixes / improvements (#75)
Introducing permissioning, standardize onboarding for connectors, re-make the data model for connectors / credentials / index-attempts, making all environment variables optional, a bunch of small fixes + improvements.

Co-authored-by: Weves <chrisweaver101@gmail.com>
2023-05-30 19:59:57 -07:00
Weves
f4ef92e279 Fix OpenAI key validation 2023-05-22 13:42:20 -07:00
Yuhong Sun
8e9e284849
Fix Pull vs Poll naming (#77) 2023-05-22 11:29:50 -07:00
Chris Weaver
0c4dcb13c3
Small fix for indexing (#78) 2023-05-22 11:29:25 -07:00
Weves
806653dcb0 Add timeout option to OpenAI models 2023-05-21 14:31:15 -07:00
Yuhong Sun
62e86efec3
Update models.py 2023-05-21 14:10:23 -07:00
Yuhong Sun
6d7e7d5b71
DAN-19 Confluence Connector Backend for Public Docs (#73)
By public we mean if there is an admin account with an API key that has it setup in Danswer. Means just no support for OAuth for individual users to add docs.
2023-05-21 13:27:37 -07:00
Yuhong Sun
7559ba6e9d
DAN-93 Standardize Connectors (#70) 2023-05-21 13:24:25 -07:00
Weves
0b8c69ceeb Prompt user for OpenAI key 2023-05-20 21:11:07 -07:00
Weves
544ba8f50d initial health check 2023-05-20 12:21:56 -07:00
Yuhong Sun
16dd429826
DAN-91 Fix Web Connector Bugs (#68)
Added pdf support
2023-05-19 17:39:13 -07:00
Chris Weaver
0b46ea76e8
Don't create collection if it already exists + fix OpenAI API Key name (#66)
* Don't create collection if it already exists

* Fix openai api key name
2023-05-17 17:12:00 -07:00
Weves
8685beceb2 Add create collection to app startup 2023-05-17 16:16:09 -07:00
Weves
5f7d2853b8 Fix connectors 2023-05-16 22:45:32 -07:00
Chris Weaver
494514dc68
Quote loading UI + adding back period to end of answer + adding custom logo (#55)
* Logo

* Add spinners + some small housekeeping on the backend
2023-05-16 20:14:06 -07:00
Weves
821df50fa9 Make slack periodic use the DB 2023-05-16 17:56:15 -07:00
Weves
5ce5077833 Fix doc count 2023-05-16 17:00:22 -07:00
Weves
17ed660166 Add general status page + standardize the experience a bit 2023-05-16 01:19:27 -07:00
Yuhong Sun
0d9595733b
DAN-80 Example Env files (#48)
Also added alembic migrations running automatically
2023-05-16 01:18:08 -07:00
Weves
d76dbce09b Add Google Drive admin page 2023-05-15 17:41:37 -07:00
Yuhong Sun
17544e5b40
DAN-86 Github Connector should not return API page (#49) 2023-05-15 11:19:24 -07:00
Weves
5c98310b79 Add Github admin page + adjust way index APIs work 2023-05-14 12:45:47 -07:00
Yuhong Sun
dc4fc02ba5
DAN-60 Add streaming for chat model (#46) 2023-05-13 23:05:06 -07:00
Yuhong Sun
17bc0f89ff
DAN-56 Make google drive connector production ready (#45) 2023-05-13 23:04:16 -07:00
Yuhong Sun
fb9c3e530b
DAN-58 Email validation (#39) 2023-05-13 14:05:21 -07:00
Yuhong Sun
6ed86ed369
DAN-74 Admin routers need permission (#40) 2023-05-13 13:47:49 -07:00
Yuhong Sun
6d1b750077
DAN-59 Fix all the mypy issues (#38) 2023-05-12 20:37:52 -07:00
Yuhong Sun
5af35cf07c
DAN-57 Make qa / admin endpoints permissioned optionally (#37) 2023-05-12 20:34:30 -07:00
Weves
090578f1f3 Fix backend Dockerfiles 2023-05-12 16:52:04 -07:00
Yuhong Sun
ae2a1d3121
DAN-71 Give back all ranked results from search (#34) 2023-05-12 15:47:58 -07:00
Weves
66130c8845 Initial document display 2023-05-12 14:38:29 -07:00
Yuhong Sun
6028523198 Minor touchup 2023-05-11 23:08:53 -07:00
Chris Weaver
da8031c1aa
Fix sync DB engine (#32) 2023-05-11 22:49:44 -07:00
Yuhong Sun
20b25e322f
DAN-23 Stream model output (#30) 2023-05-11 22:49:26 -07:00
Weves
c6a0baed13 Initial login flow 2023-05-11 22:33:20 -07:00
Weves
560822a327 cleanup connector interface 2023-05-11 20:10:23 -07:00
Yuhong Sun
0b610502e0
DAN-54 Github PR Connector (#29)
also fixed some mypy stuff as well
2023-05-11 18:47:32 -07:00
Yuhong Sun
279c5e0eb1
DAN-50 References should include blurb (#26) 2023-05-10 21:03:15 -07:00
Yuhong Sun
38bcb3ee6b
DAN-51 Model warm up on start (#27)
Also added a minor prompt update
2023-05-10 21:01:14 -07:00
Yuhong Sun
632a643b7a
DAN-52 Check user role endpoint (#28) 2023-05-10 20:48:59 -07:00
Chris Weaver
911fcf4dd1
Adding initial admin pages (#25)
* Adding sidebar to admin page + adding scaffolding for Web connector + a little styling

* Rename APIs

* Restyling
2023-05-10 17:45:39 -07:00
Yuhong Sun
25b59217ef
DAN-25 Semantic Identifier for Documents (#24) 2023-05-09 22:46:45 -07:00
Yuhong Sun
6e59b02c91
DAN-47 Use only MIT Apache models (#23)
Update this repo license as well as model attribution
2023-05-09 21:01:57 -07:00
Yuhong Sun
312366eae1
DAN-45 Fix OAuth User Creation Flow (#22) 2023-05-09 20:45:43 -07:00
Yuhong Sun
e896d0786e
DAN 17 QOL Model Output (#20) 2023-05-08 20:57:52 -07:00
Weves
e8bf6b0364 Fix time_updated default 😓 2023-05-08 12:57:51 -07:00
Weves
ab36ebc332 Add QDrant to onebox setup 2023-05-07 17:36:29 -07:00
Yuhong Sun
9babe7fb95
DAN-40 Admin User Support (#18) 2023-05-07 16:30:49 -07:00