-
Notifications
You must be signed in to change notification settings - Fork 172
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
Getting pydantic.errors.ConfigError: duplicate validator function while accessing Vectordbbench URL #464
Comments
I will check it later. |
Hi @alwayslove2013 , Can you please suggest for above issue ? Regards, |
Also is there any "streamlit/config.toml" config file in vectordb code ? [server] |
@chetan-shah01 Sorry, due to the long holiday for the Chinese Lunar New Year. I will check this issue soon. |
@chetan-shah01 please check the version of pip list | grep pydantic
|
@chetan-shah01 We utilized the VectorDBBench/vectordb_bench/__main__.py Lines 17 to 29 in 111048d
|
Hi Team,
I have build the VectorDbBench using v0.0.21 and deployed it on pod. While accessing the Vectordbbench Url , getting below error :
Can you please suggest on that ?
pydantic.errors.ConfigError: duplicate validator function "vectordb_bench.backend.clients.api.DBConfig.not_empty_field"; if this is intended, set
allow_reuse=True
Traceback:
File "/opt/code/vectordb_bench/frontend/pages/tables.py", line 2, in
from vectordb_bench.frontend.components.check_results.headerIcon import drawHeaderIcon
File "/opt/code/vectordb_bench/frontend/components/check_results/headerIcon.py", line 1, in
from vectordb_bench.frontend.config.styles import HEADER_ICON
File "/opt/code/vectordb_bench/frontend/config/styles.py", line 1, in
from vectordb_bench.models import DB
File "/opt/code/vectordb_bench/models.py", line 10, in
from .backend.cases import CaseType
File "/opt/code/vectordb_bench/backend/cases.py", line 5, in
from vectordb_bench.backend.clients.api import MetricType
File "/opt/code/vectordb_bench/backend/clients/init.py", line 3, in
from .api import (
File "/opt/code/vectordb_bench/backend/clients/api.py", line 33, in
class DBConfig(ABC, BaseModel):
File "/opt/code/vectordb_bench/backend/clients/api.py", line 66, in DBConfig
@validator("*")
^^^^^^^^^^^^^^
File "pydantic/class_validators.py", line 93, in pydantic.class_validators.validator.dec
File "pydantic/class_validators.py", line 156, in pydantic.class_validators._prepare_validator
The text was updated successfully, but these errors were encountered: