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

DocumentLoaderConfig #49

Open
enoch3712 opened this issue Nov 2, 2024 · 0 comments
Open

DocumentLoaderConfig #49

enoch3712 opened this issue Nov 2, 2024 · 0 comments
Assignees
Labels
0.1.0 enhancement New feature or request

Comments

@enoch3712
Copy link
Owner

To build:

Create a Base Configuration Class: Define a base configuration class that includes common parameters shared across different loaders.

Implement Loader-Specific Configuration Subclasses: For each DocumentLoader implementation that requires unique parameters, create a subclass of the base configuration class to include these specific settings.

Utilize Pydantic for Data Validation: Use Pydantic models to define configuration classes, ensuring data validation and easy integration.

Modify DocumentLoader to Accept Configuration Objects: Update the DocumentLoader class and its subclasses to accept a configuration object during initialization.

Standardize Configuration Access Methods: Implement standard methods or properties in the base DocumentLoader class to access configuration parameters uniformly.

Integrate Configuration Passing in Higher-Level Classes: Modify classes like Extractor and Process to accept and pass configuration objects to the appropriate DocumentLoader.

@enoch3712 enoch3712 added the enhancement New feature or request label Nov 2, 2024
@enoch3712 enoch3712 self-assigned this Nov 2, 2024
@enoch3712 enoch3712 added 0.1.0 enhancement New feature or request and removed enhancement New feature or request labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.1.0 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant