646 Commits

Author SHA1 Message Date
pablodanswer
5775aec498 more solid schema context passing 2024-09-25 14:15:16 -07:00
pablodanswer
198f80d224 remove dependency fully in alembic migrations 2024-09-25 12:08:33 -07:00
pablodanswer
c2e953633a update vespa + sidebar 2024-09-24 19:00:31 -07:00
pablodanswer
0ff4ff0abc update typing 2024-09-23 17:51:31 -07:00
pablodanswer
4f9420217e more secure callback 2024-09-23 14:12:31 -07:00
pablodanswer
e5584ca364 basic flows functional 2024-09-23 13:51:40 -07:00
pablodanswer
ae3218f941 squash - need to update sql alchemy engine 2024-09-22 16:45:06 -07:00
pablodanswer
5b220ac7b1 validatid across several tenants (+ more secure db_sessions) 2024-09-22 14:43:44 -07:00
pablodanswer
d1641652a2 squash 2024-09-22 11:19:25 -07:00
pablodanswer
17412fb9f7 fix web build 2024-09-22 11:18:55 -07:00
pablodanswer
e9906c37fe functional multi tenancy (excluding accurate provisioning) 2024-09-21 21:31:05 -07:00
pablodanswer
f98c77397d update formatting 2024-09-20 15:56:05 -07:00
pablodanswer
918623eb97 callback toast 2024-08-31 18:16:08 -07:00
pablodanswer
827e4169c5 squash 2024-08-29 19:36:16 -07:00
pablodanswer
06c3e2064f fully valid auth scheme 2024-08-29 18:57:53 -07:00
pablodanswer
0a1c8ae980 functional sso callback 2024-08-29 18:22:31 -07:00
pablodanswer
cb0a1e4fdc functional porting over user 2024-08-29 17:25:43 -07:00
pablodanswer
0547fff1d5 functional redirect auth screen 2024-08-29 13:17:20 -07:00
pablodanswer
01841adb43 squash 2024-08-29 12:58:25 -07:00
pablodanswer
bc5b269446 finalize billing settings page 2024-08-29 12:55:36 -07:00
pablodanswer
64768f82f3 add billing 2024-08-29 12:17:20 -07:00
pablodanswer
90da2166c2 add proper stripe checkout button for user 2024-08-29 11:49:10 -07:00
pablodanswer
7b895008d3 plan out 2024-08-28 14:43:16 -07:00
pablodanswer
3838908e70 proper parentheses 2024-08-28 10:34:33 -07:00
pablodanswer
3112a9df9d extract loading 2024-08-28 10:26:24 -07:00
pablodanswer
fb29c70f37 squash 2024-08-28 08:56:48 -07:00
pablodanswer
e547cd6a79 minor formatting 2024-08-28 08:53:36 -07:00
pablodanswer
1fa324b135 proper padding 2024-08-28 08:52:30 -07:00
pablodanswer
f4f3dd479e ux improvements 2024-08-28 08:45:55 -07:00
pablodanswer
5a83b00190
change backg (#2255) 2024-08-28 03:20:06 +00:00
Chris Weaver
57491ceaae
Lowercase slack channels automatically (#2254)
* Improve slack channel selection

* Lowercasing slack channels
2024-08-28 03:07:26 +00:00
hagen-danswer
e4e67c61ef
Some additional curator polish (#2253) 2024-08-28 02:44:24 +00:00
pablodanswer
336ddbd1fe
Filter by user for docset display (#2245)
* filter by user for docset display

* spacing
2024-08-27 21:01:04 +00:00
pablodanswer
525f3e01f5
remove constant refresh artifact (#2241) 2024-08-27 17:51:59 +00:00
pablodanswer
feaa85f764 new util for modal edge cases 2024-08-27 09:50:17 -07:00
pablodanswer
b36cd4937f
Cleaner + cleaner assistants creation flow etc. (#2232)
* rework assistants creation flow + components

* remove unnecessary padding + validate each page

* remove additional spacing

* rebase + form
2024-08-27 16:01:57 +00:00
pablodanswer
97ba71e1b3
Db search (#2235)
* k

* update enum imports

* add functional types + model swaps

* remove a log

* remove kv

* fully functional + robustified for kv swap

* validated with hosted + cloud

* ensure not updating current search settings when reindexing

* add instance check

* revert back to updating search settings (will need a slight refactor for endpoint)

* protect advanced config override1

* run pretty

* fix typing

* update typing

* remove unnecessary function

* update model name

* clearer interface names

* validated foreign key constaint

* proper migration

* squash

---------

Co-authored-by: Yuhong Sun <yuhongsun96@gmail.com>
2024-08-27 04:26:51 +00:00
pablodanswer
5f12b7ad58
Rebased concurrent chats (#2214)
* refactored for stop / regenerate

* properly reset blank screen

* functional new message carry-over

* robust chat session state persistence

* add env variable

* rebased onto regenerate

* squash

* squash

* squash

* rebase + robustify tool calling

* squash

* alembic

* remove environment variable

* simplify interface

* squash

* minor streaming improvement

* some robustification
2024-08-27 02:57:31 +00:00
hagen-danswer
205c3c3fc8
Combined the get document set endpoints (#2234)
* Combined the get document set endpoints

* removed unused function

* fixed permissioning for document sets
2024-08-25 19:02:27 +00:00
Christian Köberl
e5ceb76de8
Fix icons in personas (assistants) - AWS and Azrue were mixed up (#2027)
Fixes #2025
2024-08-25 06:36:50 +00:00
hagen-danswer
c21b0ee3f5
Curator polish (#2229)
* add new user provider hook

* account for additional logic

* add users

* remove is loading

* Curator polish

* useeffect -> provider + effect

* squash

* use use user for user default models

* squash

* Added ability to add users to groups among other things

* final polish

* added connection button to groups

* mypy fix

* Improved document set clarity

* string fixes

---------

Co-authored-by: pablodanswer <pablo@danswer.ai>
2024-08-25 01:10:24 +00:00
pablodanswer
1e1b2a0901
add some quick search filterl logic (UX) (#2218) 2024-08-24 15:45:46 -07:00
pablodanswer
1bc899cc67
Add CSS identifiers to main sections (#2224)
* squash

* add initial ids
2024-08-23 23:59:17 +00:00
pablodanswer
6fc6ee5c37
Update white-labelling to be clearer (advanced settings) (#2228)
* update white labelling to be somewhat clearer

* ensure logotype set to null post submission
2024-08-23 20:47:16 +00:00
pablodanswer
e749fa0f28
Update search tool selection (#2223)
* update search tool selection

* squash
2024-08-23 16:58:39 +00:00
pablodanswer
2e0222d1c1
logotype from toggle -> redirect (#2222) 2024-08-23 16:15:50 +00:00
pablodanswer
e89dc67e5d
Update embedding interface (#2205)
* squash

* simplify interface

* some updates to typing

* cloud provider type

* update typing to be even clearer

* push local commit (squash)

* cleaner interfaces

* another quick pass

* squash

* cleaner alembic

* cleaner

* remove trailing whitespace

* add sequence

* quick circle back to double check

* update

* update naming

* update naming
2024-08-23 03:52:02 +00:00
pablodanswer
7da6d33451
slightly updated settings error (#2217)
* update settings issues

* slightly updated settings error
2024-08-23 02:19:00 +00:00
hagen-danswer
c042a19c00
Curator role (#2166)
* Added backend support for curator role

* modal refactor

* finalized first 2 commits

same as before

finally

what was it for

* added credential, cc_pair, and cleanup

mypy is super helpful hahahahahahahahahahahaha

* curator support for personas

* added connector management permission checks

* fixed the connector creation flow

* added document access to curator

* small cleanup added comments and started ui

* groups and assistant editor

* Persona frontend

* Document set frontend

* cleaned up the entire frontend

* alembic fix

* Minor fixes

* credentials section

* some credential updates

* removed logging statements

* fixed try catch

* fixed model name

* made everything happen in one db commit

* Final cleanup

* cleaned up fast code

* mypy/build fixes

* polish

* more token rate limit polish

* fixed weird credential permissions

* Addressed chris feedback

* addressed pablo feedback

* fixed alembic

* removed deduping and caching

* polish!!!!
2024-08-23 01:39:37 +00:00
pablodanswer
5409777e0b
add edge case (#2216) 2024-08-22 20:40:18 +00:00