mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-03 13:43:24 +00:00
Resolve GHI 10674 (#10977)
This commit is contained in:
parent
ff732e10f8
commit
f945426874
@ -27,6 +27,10 @@ class HuggingFaceDatasetLoader(BaseLoader):
|
|||||||
Args:
|
Args:
|
||||||
path: Path or name of the dataset.
|
path: Path or name of the dataset.
|
||||||
page_content_column: Page content column name. Default is "text".
|
page_content_column: Page content column name. Default is "text".
|
||||||
|
Note: Currently the function assumes the content is a string.
|
||||||
|
If it is not download the dataset using huggingface library and convert
|
||||||
|
using the json or pandas loaders.
|
||||||
|
https://github.com/langchain-ai/langchain/issues/10674
|
||||||
name: Name of the dataset configuration.
|
name: Name of the dataset configuration.
|
||||||
data_dir: Data directory of the dataset configuration.
|
data_dir: Data directory of the dataset configuration.
|
||||||
data_files: Path(s) to source data file(s).
|
data_files: Path(s) to source data file(s).
|
||||||
|
Loading…
Reference in New Issue
Block a user