Skip to content

Commit

Permalink
adds description comment for fallbackRelationshipType
Browse files Browse the repository at this point in the history
  • Loading branch information
quantropi-minh committed Jan 19, 2025
1 parent aa6aedd commit 940370c
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,12 @@ export interface LLMGraphTransformerProps {
strictMode?: boolean;
nodeProperties?: string[];
relationshipProperties?: string[];

/**
* @description
* The LLM may rarely create relationships without a type, causing extraction to fail.
* Use this to provide a fallback relationship type in such case.
*/
fallbackRelationshipType?: string | null
}

Expand Down

0 comments on commit 940370c

Please sign in to comment.