Data types
⚙️ Custom
When we say “custom”, we mean that you can customize the loader and chunker to your needs. This is done by passing a custom loader and chunker to the add
method.
The custom loader and chunker must be a class that inherits from the BaseLoader
and BaseChunker
classes respectively.
If the data_type
is not a valid data type, the add
method will fallback to the custom
data type and expect a custom loader and chunker to be passed by the user.
Example:
Was this page helpful?