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

Add text and embedding type to neo4j enhanced schema #17289

Merged
merged 4 commits into from
Dec 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
nit
tomasonjo committed Dec 16, 2024
commit 432884dc15df21fe90fc04cb3e9aba67171c18f0
Original file line number Diff line number Diff line change
@@ -838,7 +838,7 @@ def _enhanced_schema_cypher(
)
else:
with_clauses.append(
f"collect(distinct substring(n.`{prop_name}`, 0, 50)) "
f"collect(distinct substring(n.`{prop_name}`, 0, {LONG_TEXT_THRESHOLD})) "
f"AS `{prop_name}_values`"
)
return_clauses.append(f"values: `{prop_name}_values`")