trustgraph/tests/test-graph-rag

15 lines
312 B
Text
Raw Normal View History

2024-07-10 23:20:06 +01:00
#!/usr/bin/env python3
import pulsar
from trustgraph.graph_rag_client import GraphRagClient
rag = GraphRagClient(pulsar_host="pulsar://localhost:6650")
2024-08-05 17:11:30 -07:00
query="""Write a blog post describing the key points desribing the researcher's methodology for finding Leo VI.
"""
2024-07-10 23:20:06 +01:00
resp = rag.request(query)
print(resp)