Skip to content

Commit eb858b5

Browse files
Update src/neo4j_graphrag/schema.py
Co-authored-by: Estelle Scifo <stellasia@users.noreply.github.com>
1 parent 067390b commit eb858b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/neo4j_graphrag/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def _format_property(prop: Dict[str, Any]) -> Optional[str]:
342342
or None if the property should be skipped (e.g., large lists).
343343
"""
344344
if prop["type"] == "STRING" and prop.get("values"):
345-
if prop.get("distinct_count", 11) > DISTINCT_VALUE_LIMIT:
345+
if prop.get("distinct_count", DISTINCT_VALUE_LIMIT+1) > DISTINCT_VALUE_LIMIT:
346346
return f'Example: "{_clean_string_values(prop["values"][0])}"'
347347
else:
348348
return (

0 commit comments

Comments
 (0)