trustgraph/tests/test-doc-rag
Cyber MacGeddon 1822ca395f Revert "Feature/configure flows (#345)"
This reverts commit a9197d11ee.
2025-04-25 19:02:08 +01:00

14 lines
276 B
Python
Executable file

#!/usr/bin/env python3
import pulsar
from trustgraph.clients.document_rag_client import DocumentRagClient
rag = DocumentRagClient(pulsar_host="pulsar://localhost:6650")
query="""
What was the cause of the space shuttle disaster?"""
resp = rag.request(query)
print(resp)