graphiti/graphiti_core
TheEpTic 735b020624
BUG FIX: Fix trailing AND in edge_search_filter_query_constructor Cypher query (#541)
Fix trailing AND in edge_search_filter_query_constructor Cypher query

Corrected the edge_search_filter_query_constructor function to prevent
trailing AND operators in generated Cypher queries, which caused
Neo.ClientError.Statement.SyntaxError. Changed condition from
`j != len(and_filter_query) - 1` to `j != len(and_filters) - 1` for
valid_at, invalid_at, created_at, and expired_at filter blocks. Also
fixed outer loop condition to use `len(filters.<field>)` instead of
`len(or_list)`. Ensures valid Cypher syntax for single DateFilter cases.

Co-authored-by: TheEpTic <326774+TheEpTic@users.noreply.github.com>
2025-05-29 12:55:16 -04:00
..
cross_encoder add reranker_min_score (#355) 2025-04-15 12:33:37 -04:00
embedder Improve error handling in GeminiEmbedder by raising ValueError for empty embedding values. This change enhances robustness by ensuring that all returned embeddings contain valid data. (#515) 2025-05-21 20:32:18 -07:00
llm_client MCP Fixes (#512) 2025-05-21 19:39:41 -07:00
models Edge types (#501) 2025-05-19 13:30:56 -04:00
prompts Edge types (#501) 2025-05-19 13:30:56 -04:00
search BUG FIX: Fix trailing AND in edge_search_filter_query_constructor Cypher query (#541) 2025-05-29 12:55:16 -04:00
utils edge operations update (#539) 2025-05-28 16:33:20 -04:00
__init__.py chore: Fix packaging (#38) 2024-08-25 10:07:50 -07:00
edges.py Edge types (#501) 2025-05-19 13:30:56 -04:00
errors.py add entity type validation handling (#320) 2025-04-04 13:53:04 -04:00
graphiti.py Edge types (#501) 2025-05-19 13:30:56 -04:00
graphiti_types.py Add episode refactor (#399) 2025-04-26 00:24:23 -04:00
helpers.py Node dedupe efficiency (#490) 2025-05-15 13:56:33 -04:00
nodes.py Size optimizations (#456) 2025-05-07 20:08:30 -04:00
py.typed Add py.typed file (#105) 2024-09-11 08:44:06 -04:00