Skip to content

Extend KnowledgeGraph to accept Graph #97

@gkorland

Description

@gkorland

extend the KnowledgeGraph such it can get a Graph reference instead of creating a connection.

db = FalkorDB(host='localhost', port=6379)
db.select_graph("kg_name")

kg = KnowledgeGraph(
    model_config=KnowledgeGraphModelConfig.with_model(model),
    graph=graph
)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions