Huggingface fs
Init params.
HuggingFaceFSReader #
Bases: BaseReader
Hugging Face File System reader.
Uses the new Filesystem API from the Hugging Face Hub client library.
Source code in llama-index-integrations/readers/llama-index-readers-huggingface-fs/llama_index/readers/huggingface_fs/base.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
|
load_dicts #
load_dicts(path: str) -> List[Dict]
Parse file.
Source code in llama-index-integrations/readers/llama-index-readers-huggingface-fs/llama_index/readers/huggingface_fs/base.py
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
|
load_df #
load_df(path: str) -> DataFrame
Load pandas dataframe.
Source code in llama-index-integrations/readers/llama-index-readers-huggingface-fs/llama_index/readers/huggingface_fs/base.py
59 60 61 |
|
load_data #
load_data(path: str) -> List[Document]
Load data.
Source code in llama-index-integrations/readers/llama-index-readers-huggingface-fs/llama_index/readers/huggingface_fs/base.py
63 64 65 66 67 68 69 |
|