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

Use specific internal labels for the app #622

Open
msenechal opened this issue Jul 30, 2024 · 0 comments
Open

Use specific internal labels for the app #622

msenechal opened this issue Jul 30, 2024 · 0 comments

Comments

@msenechal
Copy link
Collaborator

msenechal commented Jul 30, 2024

We saw that for few documents, depending of the content (and schema) the LLM might come back with a KG that would create entities or relationships with labels or types that we use internally.
This is an issue for graph viz (and other processes) since we expect to get specific nodes/relationships (i.e Document PART_OF Chunk) but Document and PART_OF can be used between entities

Solution:

Every internal labels and relationships should be renamed __XXX__ 
Nodes: __Document__ , __Chunk__ , __Message__ , __Session__
Relationships: __PART_OF__ , __FIRST_CHUNK__ , __NEXT_CHUNK__ , __SIMILAR__ , __NEXT__ , __LAST_MESSAGE__

Also, in the GraphEnhancement modal to provide a schema, we should filter out those internal labels

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