localGPT icon indicating copy to clipboard operation
localGPT copied to clipboard

JSONLoader

Open CodeAKrome opened this issue 2 years ago • 0 comments

Added support for JSON files with string or list values, one dict @ file. List values get concatenated with comma by default. All keys besides JSON_CONTENT_KEY are added to metadata. Values besides string or list of strings are dropped on the floor with a warning. Data to search defaults to "text" value.

JSON configuration

JSON_CONTENT_KEY = "text" JSON_JOIN_CHAR = "," JSON_JQ_SCHEMA = "."

CodeAKrome avatar Jun 24 '23 20:06 CodeAKrome