mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +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")
|
||||
|
||||
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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue