JSONLoader is designed to parse JSON files and convert them into NeumDocument objects, catering to complex data structures and nested JSON.
JSONLoader
class handles the loading of JSON files into the Neum AI ecosystem by creating NeumDocument
objects. It offers flexible data extraction, accommodating various JSON structures.
id_key
: The key used to identify the ID field within the JSON structure. Defaults to “id”. Provide a value if you have a different key for your objects.custom
: Metadata fields can be customized based on the contents of the JSON object. Simply pass a list of columns. (i.e. [“field1” , “field2”])custom
: Content is dynamically derived from the JSON object based on specified keys or entire row data. Simply pass a list of columns. (i.e. [“field1” , “field2”])