Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement Request: Enable Full Utilization of node_properties and relationship_properties in LLMGraphTransformer #1002

Open
dhiaaeddine16 opened this issue Jan 13, 2025 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@dhiaaeddine16
Copy link
Contributor

Dear Maintainers,

I would like to propose an enhancement to the llm-graph-builder project to fully leverage the node_properties and relationship_properties parameters in the LLMGraphTransformer. While these parameters are defined during initialization, they are not currently utilized to extract detailed properties for nodes and relationships in the generated knowledge graph.

Proposed Enhancement

Enable the use of node_properties and relationship_properties to allow users to specify the attributes they want to extract, providing greater control and flexibility in generating knowledge graphs.

Key Benefits

  1. Enhanced Graph Precision: Extract richer, more detailed data for nodes and relationships.
  2. Customization: Allow users to tailor property extraction to specific domain requirements.

I am confident that this enhancement will greatly improve the functionality of the llm-graph-builder and help make it even more valuable to the community. I am also happy to contribute to the implementation of this feature and assist in any way possible to help the project grow.

Thank you for considering this request, and I look forward to any feedback.

Best regards,
Dhiaa eddine.

@dhiaaeddine16
Copy link
Contributor Author

dhiaaeddine16 commented Jan 15, 2025

I’m interested in contributing to this enhancement. Could you please provide guidance on how I can contribute to the implementation of this feature?

@kaustubh-darekar
Copy link
Collaborator

Hi @dhiaaeddine16 thanks for suggestions.

currently we have option to pass allowed nodes and allowed relationships through UI.
in next release we are also adding additional instructions to be passed to LLMGraphTransformer refer(langchain-ai/langchain-experimental#23).

We can also make node_properties and relationship properties configurable by passing those through UI (Need to be implemented)

@dhiaaeddine16
Copy link
Contributor Author

dhiaaeddine16 commented Jan 16, 2025

Hi @kaustubh-darekar,

Thank you for the update and acknowledgment! I appreciate the ongoing improvements to the project.

The addition of the option to pass additional instructions to the LLMGraphTransformer in the next release sounds promising, and it aligns well with my suggestion for increased flexibility.

I also fully support the idea of making node_properties and relationship_properties configurable via the UI. This feature would significantly enhance usability by allowing users to tailor the graph-building process to their specific needs more intuitively.

If there's anything I can contribute or test regarding these enhancements, please let me know. Excited to see this project evolve further!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants