Skip to content

Commit

Permalink
Update falkor db test to use 0.1.3b0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
randombet committed Nov 26, 2024
1 parent d3f8352 commit 7425700
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/agentchat/contrib/graph_rag/test_falkor_graph_rag.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

import pytest
from conftest import reason, skip_openai # noqa: E402
from graphrag_sdk import KnowledgeGraph, Source
from graphrag_sdk.ontology import Ontology
from graphrag_sdk.schema import Schema

try:
from autogen.agentchat.contrib.graph_rag.document import (
Expand Down Expand Up @@ -34,7 +33,7 @@ def test_falkor_db_query_engine():
3. Query it with a question and verify the result contains the critical information.
"""
# Arrange
test_schema = Ontology()
test_schema = Schema()
actor = test_schema.add_entity("Actor").add_attribute("name", str, unique=True)
movie = test_schema.add_entity("Movie").add_attribute("title", str, unique=True)
test_schema.add_relation("ACTED", actor, movie)
Expand Down

0 comments on commit 7425700

Please sign in to comment.