Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test/try merge 1 #51

Merged
merged 345 commits into from
Sep 5, 2024
Merged

test/try merge 1 #51

merged 345 commits into from
Sep 5, 2024

Conversation

onimsha
Copy link

@onimsha onimsha commented Sep 4, 2024

Weves and others added 30 commits July 24, 2024 15:41
* included check for existing emails

* cleaned up logic
danswer-ai#1929)

* autoscale with pool=thread crashes celery. remove and use concurrency instead (to be improved later)

* update dev background script as well
* answer.py

* Let it continue if broken
* changed default fast model to gpt-4o-mini

* Changed the way we get the sqlalchemy session
Signed-off-by: Alex Co <alex.tuan@mindvalley.com>
* 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
…S=0 (danswer-ai#1958)

Co-authored-by: Emerson Gomes <emerson.gomes@thalesgroup.com>
* 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>
* Fixed default indexing frequency

* fixed more defaults
* authorized users and groups only have read access

* slightly better variable naming
pablodanswer and others added 28 commits August 27, 2024 04:26
* 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>
* rework assistants creation flow + components

* remove unnecessary padding + validate each page

* remove additional spacing

* rebase + form
* filter by user for docset display

* spacing
* ran bump-pydantic

* replace root_validator with model_validator

* mostly working. some alternate assistant error. changed root_validator and typing_extensions

* working generation chat. changed type

* replacing .dict with .model_dump

* argument needed to bring model_dump up to parity with dict()

* fix a fewremaining issues -- working with llama and gpt

* updating requirements file

* more requirement updates

* more requirement updates

* fix to make search work

* return type fix:

* half way tpyes change

* fixes for mypy and pydantic:

* endpoint fix

* fix pydantic protected namespaces

* it works!

* removed unecessary None initializations

* better logging

* changed default values to empty lists

* mypy fixes

* fixed array defaulting

---------

Co-authored-by: hagen-danswer <hagen@danswer.ai>
Signed-off-by: Alex Co <alex.tuan@mindvalley.com>
Signed-off-by: Alex Co <alex.tuan@mindvalley.com>
* Confluence improvements

* Improve CONFLUENCE_CONNECTOR_INDEX_ONLY_ACTIVE_PAGES
* Improve slack channel selection

* Lowercasing slack channels
Signed-off-by: Alex Co <alex.tuan@mindvalley.com>
* get accurate model output max

* squash

* udpated max default tokens

* rename + use fallbacks

* functional

* remove max tokens

* update naming

* comment out function to prevent mypy issues
* Added DanswerBot response limit environment variables

* mypy fix

* changed defaults
Signed-off-by: Alex Co <alex.tuan@mindvalley.com>
@onimsha onimsha merged commit 8a6c5d7 into main Sep 5, 2024
1 of 4 checks passed
@onimsha onimsha deleted the test/try-merge-1 branch September 5, 2024 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.