Hello, would anyone know if was possible to load a...
# nebula
j
Hello, would anyone know if was possible to load a Node Structure like the following into my graph index directly where my LLM could then map out the relationships or would I need to reformat these nodes into a suitable structure specifically for the graph index insertion? Thanks for your time again!
Copy code
[
    {
        "id_": "3c25b01b-b555-4ab3-abd8-313e043163bf",
        "embedding": 
            0.03493161126971245,
            ...
        ],
        "metadata": {
            "lecture_number": "#",
            "lecture_title": "#",
            "topic_title": "#",
            "sub_topic_title": "#",
            "content_type": "text"
        },
        "excluded_embed_metadata_keys": [],
        "excluded_llm_metadata_keys": [],
        "relationships": {
            "1": {
                "node_id": "source_id",
                "node_type": null,
                "metadata": {},
                "hash": null,
                "class_name": "RelatedNodeInfo"
            }
        },
        "text": "#",
        "start_char_idx": null,
        "end_char_idx": null,
        "text_template": "{metadata_str}\n\n{content}",
        "metadata_template": "{key}: {value}",
        "metadata_seperator": "\n",
        "class_name": "TextNode"
    },
    {
        "id_": "f12e1dc8-748d-4c75-a647-fff0d1f79ef3",
        "embedding": [
            0.00812634825706482,
            ...
        ],
        "metadata": {
            "lecture_number": "#",
            "lecture_title": "#",
            "topic_title": "#",
            "sub_topic_title": "#",
            "content_type": "equation",
            "equation_path": "#"
        },
        "excluded_embed_metadata_keys": [],
        "excluded_llm_metadata_keys": [],
        "relationships": {
            "1": {
                "node_id": "#",
                "node_type": #,
                "metadata": {},
                "hash": #,
                "class_name": "RelatedNodeInfo"
            }
        },
        "text": "#",
        "start_char_idx": null,
        "end_char_idx": null,
        "text_template": "{metadata_str}\n\n{content}",
        "metadata_template": "{key}: {value}",
        "metadata_seperator": "\n",
        "class_name": "TextNode"
    },
...
]