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

How to add properties to entity relationships (e.g., proficiency score between Person and Skill)? #1556

Open
Amitabitbul opened this issue Dec 24, 2024 · 0 comments

Comments

@Amitabitbul
Copy link

Discussed in #1555

Originally posted by Amitabitbul December 24, 2024
Hi Guys,

I'm exploring how to model relationships between entities that require additional properties. Specifically, I would like to know if adding attributes to the relationships themselves is possible.

Example use case:

  • Entity 1: Person
  • Entity 2: Skill
  • Desired Relationship Property: proficiency_score (indicating how proficient the person is in that skill)

Is this kind of relationship property modeling possible in GraphRAG? If so, could someone provide guidance on how to implement it?

Some specific questions:

  1. Does GraphRAG support properties/attributes on relationships?
  2. If yes, what's the recommended way to structure this in the knowledge base?
  3. If not, are there any workarounds or alternative approaches?

Any examples or documentation references would be greatly appreciated.

Thank you!

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

No branches or pull requests

1 participant