55 Commits

Author SHA1 Message Date
Yuhong Sun
d17426749d
Group support for Slack Followup (#951) 2024-01-15 19:21:06 -08:00
Yuhong Sun
4cd9122ba5
Slack Followup Option (#948) 2024-01-15 14:26:20 -08:00
Weves
1b6eb0a52f Add API Key table 2024-01-12 17:48:25 -08:00
Yuhong Sun
d7141df5fc
Metadata and Title Search (#903) 2024-01-02 11:25:50 -08:00
Weves
56882367ba Fix migrations 2023-12-23 12:58:00 -08:00
Weves
d9fbd7ffe2 Add hiding + re-ordering to personas 2023-12-22 23:04:43 -08:00
Yuhong Sun
8b7d01fb3b
Allow Duplicate Naming for CC-Pair (#862) 2023-12-22 23:03:44 -08:00
Weves
a099f8e296 Rework header a bit + remove assumption of all personas having a prompt 2023-12-14 23:06:39 -08:00
Yuhong Sun
65fde8f1b3
Chat Backend (#801) 2023-12-14 22:14:37 -08:00
Weves
56785e6065 Add model choice to Persona 2023-12-07 00:20:42 -08:00
Chris Weaver
78d1ae0379
Customizable personas (#772)
Also includes a small fix to LLM filtering when combined with reranking
2023-11-28 00:57:48 -08:00
Yuhong Sun
39d09a162a
Danswer APIs Document Ingestion Endpoint (#716) 2023-11-26 19:09:22 -08:00
Yuhong Sun
8e5e11a554
Add md files to File Connector (#749) 2023-11-20 19:56:06 -08:00
Weves
5c9c70dffb Remove more native enums 2023-11-01 12:51:33 -07:00
Yuhong Sun
57ecab0098
Fix Json Output Issue and Fix miscount of new docs per Index Attempt (#641) 2023-10-29 00:34:28 -07:00
Yuhong Sun
fad311282b
Remove extra missed Enum (#638) 2023-10-27 13:58:20 -07:00
Yuhong Sun
ca0f186b0e
Remove all in-postgres Enums (#637) 2023-10-27 12:13:57 -07:00
Weves
a7099a1917 Add retrieved_document_ids to QueryEvent 2023-10-20 12:43:15 -07:00
Yuhong Sun
6a449f1fb1
Introduce Recency Bias (#592) 2023-10-19 12:54:35 -07:00
Yuhong Sun
bf5844578c
Personas to have option to be aware of current date and time (#582) 2023-10-16 23:42:39 -07:00
Chris Weaver
37e9ccf864
Make docs indexed cnt more accurate (#579) 2023-10-16 20:18:19 -07:00
Yuhong Sun
b5982c10c3
Celery Beat (#575) 2023-10-16 14:59:42 -07:00
Yuhong Sun
595f61ea3a
Add Retrieval to Chat History (#577) 2023-10-15 13:40:07 -07:00
Weves
e7cc0f235c Add migration 2023-10-10 15:32:30 -07:00
Yuhong Sun
beb54eaa5d
Fix migrations that went to the same revision (#525) 2023-10-05 21:58:14 -07:00
Yuhong Sun
0632e92144
Chat without tools should use a less complex prompt (#524) 2023-10-05 21:44:13 -07:00
Chris Weaver
9c89ae78ba
Move is_public from Credential to ConnectorCredentialPair (#523) 2023-10-05 20:55:41 -07:00
Yuhong Sun
aee573cd76
Chat Feedback Backend (#513) 2023-10-04 20:52:24 -07:00
Yuhong Sun
351475de28
Consolidate versions for easier extension (#495) 2023-10-01 23:49:38 -07:00
Chris Weaver
d41d844116
Slack bot management dashboard (#483) 2023-09-26 14:03:27 -07:00
Chris Weaver
0c58c8d6cb
Adding Document Sets (#477)
Adds:
- name for connector credential pairs + frontend changes to start populating this field
- document set table migration
- during indexing, document sets are now checked and inserted into Vespa
- background job to check if document sets need to be synced
- document set management APIs
- document set management dashboard in the UI
2023-09-26 12:53:19 -07:00
Yuhong Sun
5cc17d39f0
Chat Backend API edge cases handled (#472) 2023-09-21 20:24:47 -07:00
Weves
db024ad7b7 Provide default value for 'retrieval_enabled' column in migration 2023-09-20 13:30:57 -07:00
Yuhong Sun
32eee88628
Special Danswer flow for Chat (#459) 2023-09-18 21:10:20 -07:00
Yuhong Sun
63215e9c9a
Fix Migration Conflict (#449) 2023-09-15 17:56:03 -07:00
Yuhong Sun
e549d2bb4a
Chat with Context Backend (#441) 2023-09-15 12:17:05 -07:00
Weves
c4e0face9b Move connector / credential pair deletion to celery 2023-09-14 16:23:13 -07:00
Yuhong Sun
5977a28f58
No Context Chat Backend (#397) 2023-09-05 22:32:00 -07:00
Yuhong Sun
ac2a4f9051
Ruff Styling (#368) 2023-08-31 15:55:01 -07:00
Yuhong Sun
b2a51283d1
Learn from feedback backend (#343)
---------

Co-authored-by: Weves <chrisweaver101@gmail.com>
2023-08-28 13:29:29 -07:00
Yuhong Sun
96575bf893
Remove Unused Imports and Variables (#344) 2023-08-27 17:39:41 -07:00
Yuhong Sun
8159fdcdce
Add Vespa and rework Document Indices (#317) 2023-08-24 08:46:28 -07:00
Chris Weaver
d5bb10b61f
Improve indexing status display (#278)
Adds:
- actual error message in UI for indexing failure
- if a connector is disabled, stops indexing immediately (after the current batch of documents) to allow for deletion
- adds num docs indexed for the current run + a speed
2023-08-12 14:49:04 -07:00
Chris Weaver
89f71ac335
Support deletion of documents when a connector is deleted (#271) 2023-08-09 00:53:42 -07:00
Chris Weaver
132a9f750d
Add Github Action to run mypy / reorder-python-imports / black on all PRs (#251)
Also fixes import ordering (previously, local imports weren't grouped together as they should have been)
2023-07-29 16:53:38 -07:00
Yuhong Sun
87fe6f7575
Add ingestion metrics (#256) 2023-07-29 16:37:22 -07:00
jabdoa2
63780113d3
Add support for openid connect (#206)
This allow using Danswer in typical (non-google) enterprise environments.

* Access Tokens can be very large. A token without claims is already 1100 bytes for me (larger than allowed in danswer by default). With roles I got a 12kB token. For that reason I changed the field to TEXT in the database.
* Danswer used to swallow most errors when OIDC would fail. Nodejs forwards a request to the backend and swallows all errors. Even within the backend we catched all ValueErrors and only returned the last exception with the request. Added full stack trace logging to allow debugging issues with userinfo and other endpoints.
* Allow changing name of the login provider on the login button.
* Changed variables and URLs to generic OAUTH_XX (without google in the name) but kept compatibility with the existing google integration
* Tested again Keycloak with OpenID Connect

Next steps:
* Claim to role mappings
* Auto login/SSO (Login button is just an extra click)
2023-07-29 14:04:32 -07:00
Yuhong Sun
6fe54a4eed
DAN-115 Document Polling (#91)
Includes updated document counting for polling
2023-06-15 21:07:05 -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