Graph Descriptor

The Generate Descriptor feature enables you to create and manage descriptors for Graph RAG recipes. Descriptors play a crucial role in defining the structure and attributes of graph-based data processing workflows. A descriptor contains metadata that specifies the configuration and properties of nodes and relationships within the graph, detailing essential information for data processing, including node attributes and entity connections. This ensures that all necessary metadata for the graph's operation is properly included.

Generate descriptor

Once the Source and Dataset tiles are configured, and the Natural Language Assistant model is set up, navigate to the recipe page. Click the Generate Descriptor button to create a new descriptor that aligns with the current configuration of the recipe.

Upload descriptor

If a descriptor has already been created, you can import it into the system using the Upload Descriptor option. This feature is especially useful for users who have pre-generated descriptors or wish to reuse descriptors created externally.

After generating or uploading the graph descriptor, the View Descriptor button will appear in the UI, allowing you to view the descriptor details.

The graph descriptor appears as shown in the image.

The Graph Editor UI offers a streamlined interface for creating, editing, and managing nodes and relationships within a graph. It enables users to define node types, relationships, and their associated properties, ensuring a customizable and structured graph model.

Nodes Configuration:

  • Type: Defines the node type (e.g., "Candidate_Profile").

  • Description: Briefly explains the node’s purpose (e.g., "Basic details of a candidate").

  • Property: Lists key attributes, such as "name" and "email."

  • Value: Specifies data for each property (e.g., "John Doe" for "name").

  • Property Description: Describes each property (e.g., "Full name of the candidate").

  • Indexing: Enables text or vector indexing for optimizing searches.

  • Actions: Allows adding or deleting nodes and properties directly from the UI.

Relationships Configuration:

  • Type: Specifies the relationship between nodes (e.g., "HAS_PORTFOLIO").

  • Source and Target: Defines the source and target nodes for each relationship

  • Description: Explains the relationship (e.g., "Candidate has a portfolio").

  • Property: Additional properties to describe the relationship.

  • Value: Assigns values to relationship properties.

  • Property Description: Clarifies the relationship property’s purpose.

  • Actions: Facilitates adding or deleting relationships from the UI.

Additional Features:

  • Add New Node: Adds new nodes with the “+ Add new node” button.

  • Add New Relationship: Adds new nodes with the “+ Add new relationship” button.

  • Download JSON: Exports the graph configuration in JSON format.

  • Save: Preserves changes to the graph configuration.

The Graph Editor UI provides an efficient environment for defining and managing graph structures, enabling easy creation of comprehensive datasets with well-defined entities and relationships.

Last updated