Good demo query

This commit is contained in:
Cyber MacGeddon 2024-07-15 18:58:03 +01:00
parent bd647f3b3d
commit 31156f59b1

View file

@ -5,8 +5,9 @@ from trustgraph.graph_rag_client import GraphRagClient
rag = GraphRagClient(pulsar_host="pulsar://localhost:6650")
query="""This knowledge graph describes the Space Shuttle disaster.
Present 20 facts which are present in the knowledge graph."""
query="""
Identify any facts which provide an explanation of the explosion of the
space shuttle rocket boosters"""
resp = rag.request(query)