42 Commits

Author SHA1 Message Date
Yuhong Sun
b73d19f35f
Fix Azure OpenAI Docker Deployment (#302) 2023-08-15 01:06:23 -07:00
Yuhong Sun
59db40cf36
Add Azure OpenAI parameters to background job for Slackbot (#294) 2023-08-14 14:37:02 -07:00
Matthew Holland
204d89a148
Azure OpenAI integration (#293) 2023-08-14 14:30:44 -07:00
James Choncholas
758015baa5
Allow setting QA_TIMEOUT from env var (#258)
Co-authored-by: Yuhong Sun <yuhongsun96@gmail.com>
2023-08-13 10:37:32 -07:00
Yuhong Sun
3bfc72484d
Support for Request accessed GenAI Models (#270) 2023-08-06 18:31:47 -07:00
Weves
70a379b601 Set OAuth type to google by default 2023-08-01 11:03:13 -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
273802eff0
Disable Gpt4all due to mac not supporting it currently (#233) 2023-07-25 22:19:15 -07:00
Yuhong Sun
d6ca865034
Support GPT4All in memory (#230) 2023-07-23 12:26:14 -07:00
Yuhong Sun
c41421ccf4
Add model caching to docker compose prod (#219) 2023-07-19 20:01:23 -07:00
Yuhong Sun
aed88e8b9e
Merge pull request #198 from jabdoa2/cache_models_for_development
cache models for faster development cycles in docker compose
2023-07-19 19:57:06 -07:00
Yuhong Sun
f7be76dab3
Prod Template Typesense API Key Typo (#209) 2023-07-18 15:14:35 -07:00
Jan Kantert
b3ebda714d cache models for faster development cycles in docker compose 2023-07-18 13:31:26 +02:00
Chris Weaver
bc24ac53c0
Make init-letsencrypt.sh use the same stack name as docs (#192) 2023-07-16 16:49:13 -07:00
Yuhong Sun
60f05284f5
Docker compose debug option (#193) 2023-07-16 16:35:41 -07:00
Chris Weaver
676538da61
Better error message on GPT failures (#187)
* Better error message on GPT-call failures

* Add support for disabling Generative AI
2023-07-16 16:25:33 -07:00
Yuhong Sun
6c584f0650
Option for Enabling/Disabling User Auth for Docker Compose Dev (#191) 2023-07-16 15:54:55 -07:00
Yuhong Sun
554f6f3fe7
Combine Images Cleanup (#188) 2023-07-16 15:31:52 -07:00
Dan Brown
e3a4614bfe
Updated k8s and prod compose setups to work with merged images 2023-07-15 18:54:45 +01:00
Dan Brown
f27364a442
Merged background and api-server images 2023-07-13 23:59:22 +01:00
Chris Weaver
3889e01d86
Control streaming vs non-streaming on frontend with env variable (#162) 2023-07-12 01:12:42 -07:00
Yuhong Sun
367330d27a
DAN-165 Option to pull image from hub (#149) 2023-07-08 15:53:21 -07:00
Yuhong Sun
79013ac9fd
DAN-164 Background slack job to give up after 5 tries
also minor docker compose change
2023-07-07 17:19:24 -07:00
Chris Weaver
2f54795631
Basic Slack Bot Support (#128) 2023-07-03 14:26:33 -07:00
Chris Weaver
24e61a646d
Updating env file setup (#125)
* Updating env file setup
* Update qdrant version
2023-07-01 15:16:51 -07:00
Marcel
ab83f5d17f
Disable qdrant telemetry by default (#121)
* Disable qdrant telemetry by default

Signed-off-by: Marcel Coetzee <marcel@mooncoon.com>

* Add K8s config

Signed-off-by: Marcel Coetzee <marcel@mooncoon.com>

---------

Signed-off-by: Marcel Coetzee <marcel@mooncoon.com>
2023-06-30 20:53:59 -07:00
Weves
9357ba3f39 Fix docker compose for typesense 2023-06-17 22:16:56 -06:00
Weves
88399a5d7f Fix certbot 2023-06-17 17:39:50 -06:00
Yuhong Sun
97b9b56b03
Update README.md 2023-06-14 00:41:26 -07:00
Yuhong Sun
590fbbc253
DAN-120 Kubernetes (#98)
Sample Kubernetes deployment with Auth default on
Also includes a bugfix for credentialed connectors with Auth turned on
2023-06-14 00:11:25 -07:00
Chris Weaver
f20563c9bc
File connector (#93)
* Initial backend changes for file connector

* Add another background job to clean up files

* UI + tweaks for backend
2023-06-09 21:28:50 -07:00
Yuhong Sun
c4e8afe4d2
DAN-81 Improve search round 2 (#82)
Includes:
- Multi vector indexing/search
- Ensemble model reranking
- Keyword Search backend
2023-06-04 20:02:32 -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
544ba8f50d initial health check 2023-05-20 12:21:56 -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
bdebb9d441 Fix dev setup 2023-05-17 16:15:44 -07:00
Weves
25d12ea604 Temporarily pass .env file to web_server to fix DISABLE_AUTH issues 2023-05-17 15:26:07 -07:00
Yuhong Sun
795828180e
DAN-87 Need to warn user against using docker compose down (#52) 2023-05-16 20:25:16 -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
288f43111e Use HTTP/1.1 with nginx for chunked transfers 2023-05-13 14:08:14 -07:00
Weves
ab36ebc332 Add QDrant to onebox setup 2023-05-07 17:36:29 -07:00
Weves
5aabc5abe6 Add arbitrary domain support + website hosting to onebox setup 2023-05-07 00:38:27 -07:00