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

Using Pydantic validators in the configuration classes #3443

Open
jacopo-chevallard opened this issue Oct 31, 2024 — with Linear · 1 comment
Open

Using Pydantic validators in the configuration classes #3443

jacopo-chevallard opened this issue Oct 31, 2024 — with Linear · 1 comment
Assignees
Labels
area: backend Related to backend functionality or under the /backend directory

Comments

Copy link
Collaborator

Currently, we manually implement validation in core/quivr_core/rag/entities/config.py because of the mixing of Pydantic V1 and V2 in our codebase, which breaks the use of the V2 validator decorators.

Once Pydantic V1 is removed, we should refactor the configuration classes to use the V2 validator decorators

Copy link

linear bot commented Oct 31, 2024

@dosubot dosubot bot added the area: backend Related to backend functionality or under the /backend directory label Oct 31, 2024
@jacopo-chevallard jacopo-chevallard self-assigned this Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend Related to backend functionality or under the /backend directory
Projects
None yet
Development

No branches or pull requests

1 participant