mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-22 22:05:13 +02:00
Good demo query
This commit is contained in:
parent
bd647f3b3d
commit
31156f59b1
1 changed files with 3 additions and 2 deletions
|
|
@ -5,8 +5,9 @@ from trustgraph.graph_rag_client import GraphRagClient
|
||||||
|
|
||||||
rag = GraphRagClient(pulsar_host="pulsar://localhost:6650")
|
rag = GraphRagClient(pulsar_host="pulsar://localhost:6650")
|
||||||
|
|
||||||
query="""This knowledge graph describes the Space Shuttle disaster.
|
query="""
|
||||||
Present 20 facts which are present in the knowledge graph."""
|
Identify any facts which provide an explanation of the explosion of the
|
||||||
|
space shuttle rocket boosters"""
|
||||||
|
|
||||||
resp = rag.request(query)
|
resp = rag.request(query)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue