dosubot[bot] commented on issue #210: URL: https://github.com/apache/incubator-hugegraph-ai/issues/210#issuecomment-2813114089
<!-- Answer --> The issue you're experiencing with missing edges in the final output of the demo is likely due to the regex pattern used for extracting JSON data. The regex pattern `r'(\[.*?])'` might not be robust enough to handle the JSON structures generated by LLMs, especially if there have been changes in the JSON format as mentioned in issue #187. This could result in incomplete extraction of edges from the JSON <sup>[[1]](https://github.com/apache/incubator-hugegraph-ai/blob/main/hugegraph-llm/src/hugegraph_llm/operators/llm_op/property_graph_extract.py)</sup>. To resolve this, you may need to update the regex pattern to better match the current JSON structure generated by the LLMs. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/0d0ec880-6ce4-4736-b90f-2e9274391c08?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/0d0ec880-6ce4-4736-b90f-2e9274391c08?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/0d0ec880-6ce4-4736-b90f-2e9274391c08?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/0d0ec880-6ce4-4736-b90f-2e9274391c08?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/0d0ec880-6ce4-4736-b90f-2e9274391c08?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/0d0ec880-6ce4-4736-b90f-2e9274391c08?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/0d0ec880-6ce4-4736-b90f-2e9274391c08?feedback_type=other)</sup> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
