This PR fixes the missing concatenate argument in the load_data method of the base.py file. The argument was mentioned in the docstring but was not present in the method's signature. This PR adds the concatenate argument to the method signature and implements the corresponding functionality.
Changes Made
Added the concatenate argument to the load_data method signature.
Implemented the functionality to concatenate all text documents into a single document if the concatenate argument is set to True.
Updated the docstring to reflect the addition of the concatenate argument.
Testing Done
Tested the load_data method with different values of the concatenate argument to ensure correct behavior.
Description
This PR fixes the missing
concatenate
argument in theload_data
method of thebase.py
file. The argument was mentioned in the docstring but was not present in the method's signature. This PR adds theconcatenate
argument to the method signature and implements the corresponding functionality.Changes Made
concatenate
argument to theload_data
method signature.concatenate
argument is set toTrue
.concatenate
argument.Testing Done
load_data
method with different values of theconcatenate
argument to ensure correct behavior.Related Issue
This PR addresses the issue #1.
Checklist
concatenate
argument.Fixes #1.
To checkout this PR branch, run the following command in your terminal: