FlowiseAI/Flowise

Help with loading JSON file and extracting metadata

Open

#3374 aperta il 18 ott 2024

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)TypeScript (24.335 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (52.823 star)
Metriche merge PR
 (Merge medio 8g 6h) (15 PR mergiate in 30 g)

Descrizione

Hi there!

I'd like to load a JSON file into the document store using the Json File DocumentLoader, but I'm having some trouble getting the metadata to show up correctly.

The JSON File Looks Like This:

{

"id": "doc1", "text": "This is a sample document with some content.", "metadata": { "author": "John Doe", "createdDate": "2023-02-20T14:30:00.000Z", "category": "article" } }

The Issue:

When I load this JSON file into the document loader, I don't see the metadata in the expected format:

image

Flowise Version:

Just to give you some context, my Flowise version is v2.1.2.

Can You Help Me? Is my expectation wrong?

Is there something specific that I need to do or configure to get the metadata showing up correctly in the document loader?

Thanks in advance for your help!

flowise is v2.1.2

Guida contributor