1952 Commits

Author SHA1 Message Date
rkuo-danswer
015f415b71
avoid reindexing secondary indexes after they succeed () 2024-07-30 03:12:58 +00:00
rkuo-danswer
96b582070b
authorized users and groups only have read access ()
* authorized users and groups only have read access

* slightly better variable naming
v0.4.7
2024-07-29 19:53:42 +00:00
rkuo-danswer
4a0a927a64
fix removed parameter in MediaWikiConnector () 2024-07-29 18:47:30 +00:00
hagen-danswer
ea9a9cb553 Fix typing for previous message 2024-07-29 10:01:38 -07:00
pablodanswer
38af12ab97
remove unnecessary index drop () 2024-07-29 09:51:53 -07:00
hagen-danswer
1b3154188d
Fixed default indexing frequency ()
* Fixed default indexing frequency

* fixed more defaults
2024-07-29 08:14:49 -07:00
Weves
1f321826ad Bigger images 2024-07-28 23:47:06 -07:00
Weves
cbfbe4e5d8 Fix image generation follow up q 2024-07-28 23:47:06 -07:00
pablodanswer
3aa0e0124b
Add new admin page ()
* add admin page

* credential + typing fix

* rebase fix

* on add, cleaner buttons

* functional G + Ddrive

* organized auth sections

* update types and remove logs

* ccs -> connectors

* validated formik

* update styling + connector-handling logic

* udpate colors

* separate out hooks + util functions

* update to adhere to rest standards

* remove "todos"

* rebase

* copy + formatting + sidebar

* update statuses + configuration possibilities

* update interfaces to be clearer

* update indexing status page

* formatting

* address backend security + comments

* update font

* fix form routing

* fix hydration error

* add statuses, fix bugs, etc. (squash)

* fix color (squash)

* squash

* add functionality to sidebar

* disblae buttons if deleting

* add color

* minor copy + formatting updates
- on modify credential, close
- update copy for deletion of connectors

* fix build error

* copy

---------

Co-authored-by: Yuhong Sun <yuhongsun96@gmail.com>
2024-07-28 20:57:43 -07:00
Yuhong Sun
f2f60c9cc0
Fix EE Import backoff Logic () 2024-07-27 11:06:11 -07:00
Emerson Gomes
6c32821ad4
Allow removal of max_output_tokens by setting GEN_AI_MAX_OUTPUT_TOKENS=0 ()
Co-authored-by: Emerson Gomes <emerson.gomes@thalesgroup.com>
2024-07-27 09:07:29 -07:00
Weves
d839595330 Add query override 2024-07-26 17:40:21 -07:00
Yuhong Sun
e422f96dff
Pull Request Template () 2024-07-26 17:34:05 -07:00
Weves
d28f460330 Fix black 2024-07-26 16:43:15 -07:00
Eugene Astroner
8e441d975d Issue fix 2024-07-26 16:40:31 -07:00
pablodanswer
5c78af1f07
Deduplicate model names () 2024-07-26 16:30:49 -07:00
rkuo-danswer
e325e063ed
Bugfix/persona access ()
* also allow access to a persona if the user is in the list of authorized users or groups

* add comment on potential performance improvements

* work around for mypy typing
2024-07-26 22:05:57 +00:00
pablodanswer
c81b45300b
Configurable models + updated assistants bar () v0.4.6 2024-07-26 11:00:49 -07:00
pablodanswer
26a1e963d1
Update personas.yaml () 2024-07-25 20:35:49 -07:00
pablodanswer
2a983263c7
Small update- Danswer update icons as well () 2024-07-25 20:31:41 -07:00
Yuhong Sun
2a37c95a5e
Types for Migrations () 2024-07-25 18:18:48 -07:00
pablodanswer
c277a74f82
Add icons to assistants! () 2024-07-25 18:02:39 -07:00
rkuo-danswer
e4b31cd0d9
allow setting secondary worker count via environment variable. default to primary worker count if unset. () 2024-07-25 20:25:43 +00:00
hagen-danswer
a40d2a1e2e
Change the way we get sqlalchemy session ()
* changed default fast model to gpt-4o-mini

* Changed the way we get the sqlalchemy session
v0.4.5
2024-07-25 18:36:14 +00:00
hagen-danswer
c9fb99d719
changed default fast model to gpt-4o-mini () 2024-07-25 10:50:02 -07:00
hagen-danswer
a4d71e08aa
Added check for unknown tool names ()
* answer.py

* Let it continue if broken
2024-07-25 00:19:08 +00:00
rkuo-danswer
546bfbd24b
autoscale with pool=thread crashes celery. remove and use concurrency… ()
* autoscale with pool=thread crashes celery. remove and use concurrency instead (to be improved later)

* update dev background script as well
2024-07-25 00:15:27 +00:00
hagen-danswer
27824d6cc6
Fixed login issue ()
* included check for existing emails

* cleaned up logic
2024-07-25 00:03:29 +00:00
Weves
9d5c4ad634 Small fix for non tool calling LLMs 2024-07-24 15:41:43 -07:00
Shukant Pal
9b32003816
Handle SSL error tracebacks in site indexing connector ()
My website (https://shukantpal.com) uses Let's Encrypt certificates, which aren't accepted by the Python urllib certificate verifier for some reason. My website is set up correctly otherwise (https://www.sslshopper.com/ssl-checker.html#hostname=www.shukantpal.com)

This change adds a fix so the correct traceback is shown in Danswer, instead of a generic "unable to connect, check your Internet connection".
2024-07-24 22:36:29 +00:00
pablodanswer
8bc4123ed7
add modern health check banner + expiration tracking ()
---------

Co-authored-by: Weves <chrisweaver101@gmail.com>
2024-07-24 15:34:22 -07:00
pablodanswer
d58aaf7a59 add href 2024-07-24 14:33:56 -07:00
pablodanswer
a0056a1b3c
add files (images) () 2024-07-24 21:26:01 +00:00
pablodanswer
d2584c773a
slightly clearer description of model settings in assistants creation tab () 2024-07-24 21:25:30 +00:00
pablodanswer
807bef8ada
Add environment variable for defaulted sidebar toggling ()
* add env variable for defaulted sidebar toggling

* formatting

* update naming
2024-07-24 21:23:37 +00:00
rkuo-danswer
5afddacbb2
order list of new attempts from oldest to newest to prevent connector starvation () 2024-07-24 21:02:20 +00:00
hagen-danswer
4fb6a88f1e
Quick fix () 2024-07-24 11:56:14 -07:00
rkuo-danswer
7057be6a88
Bugfix/indexing progress ()
* mark in progress should always be committed

* no_commit version of mark_attempt is not needed
2024-07-24 11:39:44 -07:00
Yuhong Sun
91be8e7bfb
Skip Null Docs () 2024-07-24 11:31:33 -07:00
Yuhong Sun
9651ea828b
Handling Metadata by Vector and Keyword () 2024-07-24 11:05:56 -07:00
rkuo-danswer
6ee74bd0d1
fix pointers to various background tasks and scripts () 2024-07-24 10:12:51 -07:00
pablodanswer
48a0d29a5c
Fix empty / reverted embeddings () 0.4.5 2024-07-23 22:41:31 -07:00
hagen-danswer
6ff8e6c0ea
Improve eval pipeline qol () 2024-07-23 17:16:34 -07:00
Yuhong Sun
2470c68506
Don't rephrase first chat query () 2024-07-23 16:20:11 -07:00
hagen-danswer
866bc803b1
Implemented LLM disabling for api call () 2024-07-23 16:12:51 -07:00
pablodanswer
9c6084bd0d
Embeddings- Clean up modal + "Important" call out () 2024-07-22 21:29:22 -07:00
hagen-danswer
a0b46c60c6
Switched eval api target back to oneshotqa () 2024-07-22 20:55:18 -07:00
pablodanswer
4029233df0
hide incomplete sources for non-admins () v0.4.4 2024-07-22 13:40:11 -07:00
hagen-danswer
6c88c0156c
Added file upload retry logic () 2024-07-22 13:13:22 -07:00
pablodanswer
33332d08f2
fix citation title ()
* fix citation title

* remove title function
2024-07-22 17:37:04 +00:00