Error executing FalkorDB query: RediSearch: Syntax error at offset 12 near group_id #1219
-
|
Hi Falkor Team, Getting this error with both cloud and local. With local I tried here's my script import re
from typing import List, TypedDict
from datetime import datetime, timezone, timedelta
from graphiti_core import Graphiti
from graphiti_core.llm_client import LLMConfig, OpenAIClient
from graphiti_core.utils.maintenance import clear_data
from graphiti_core.driver.falkordb_driver import FalkorDriver
...
async def main():
"""Simple hello world example."""
file_path = "docs/foo.txt"
episodes = parse_doc(file_path)
falkor_driver = FalkorDriver(
host='0.0.0.0', port='6379', username=None, password=None
)
graphiti = Graphiti(
graph_driver=falkor_driver,
llm_client=OpenAIClient(
config=LLMConfig(
model="gpt-4o",
max_tokens=128000,
)
),
)
await graphiti.build_indices_and_constraints()
for i, section in enumerate(episodes):
await graphiti.add_episode(
name='bar', # <--- for debuging
episode_body='foo', # for debugging
source=EpisodeType.text,
source_description="baz",
reference_time=datetime.now(timezone.utc),
)
if __name__ == "__main__":
asyncio.run(main())here's is the stacktrace: worked fine with neo4j. lmk if I should provide more of the script. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Have same issue. After days of battling this I am abandoning Falkor and moving to Neo4J. It's a syntax issue with the way Graphiti generates cypher statements. |
Beta Was this translation helpful? Give feedback.
-
|
hi @wordyallen and @raisbecka, there’s a bug when group_id isn’t set. We fixed it in PR getzep/graphiti#775 In the meantime, you can use our branch with the latest updates: |
Beta Was this translation helpful? Give feedback.
hi @wordyallen and @raisbecka, there’s a bug when group_id isn’t set. We fixed it in PR getzep/graphiti#775
getzep/graphiti#914
Could you comment on the PR to help move it forward?
In the meantime, you can use our branch with the latest updates:
https://github.com/FalkorDB/graphiti/tree/staging