Skip to content

How to extract text of retrieved_nodes #7

@kezhen1

Description

@kezhen1

Hello, I am trying to reproduce CoCoMIC, but finds that entity in retrieved_nodes is just locale like "src.diffusers.models.vq_model.VQModel.init" but doesn't include contents of implementation of that entity.
Could you please show how to find the content of each entity in retrieved_nodes?

{
"prompt": " ... ",
"groundtruth": " ... ",
"retrieved_nodes": [
" ...<PROJECT_ENTITY>... ",
],
"retrieved_edges": [
["<ENTITY_IDX>", "<RELATION_TYPE>", "<RELATION__TYPE_IDX>", "<ENTITY_IDX>"],
],
"metadata": {
"file":"<ABSOLUTE_FILE_PATH>"
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions