Find answers from the community

Updated 8 months ago

ConfigurableDataSources = build_

ConfigurableDataSources = build_configurable_data_source_enum()
File "/home/ubuntu/miniconda3/envs/rrenv/lib/python3.10/site-packages/llama_index/core/ingestion/data_sources.py", line 117, in build_configurable_data_source_enum
DataSource(
File "/home/ubuntu/miniconda3/envs/rrenv/lib/python3.10/site-packages/pydantic/v1/main.py", line 341, in init
raise validation_error
pydantic.v1.error_wrappers.ValidationError: 1 validation error for DataSource
component_type
subclass of BaseComponent expected (type=type_error.subclass; expected_class=BaseComponent)

getting this error while importing:
from llama_index.postprocessor.colbert_rerank import ColbertRerank
L
s
2 comments
Are you mixing legacy and non-legacy imports ?
Add a reply
Sign up and join the conversation on Discord