Skip to content
Open
Changes from all commits
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
3 changes: 2 additions & 1 deletion graphiti_core/driver/falkordb_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def convert_datetimes_to_strings(obj):
def sanitize(self, query: str) -> str:
"""
Replace FalkorDB special characters with whitespace.
Based on FalkorDB tokenization rules: ,.<>{}[]"':;!@#$%^&*()-+=~
Based on FalkorDB tokenization rules: ,.<>{}[]"':;!@#$%^&*()-+=~/?
"""
# FalkorDB separator characters that break text into tokens
separator_map = str.maketrans(
Expand Down Expand Up @@ -321,6 +321,7 @@ def sanitize(self, query: str) -> str:
'=': ' ',
'~': ' ',
'?': ' ',
'/': ' ',
}
)
sanitized = query.translate(separator_map)
Expand Down