mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-06 11:52:10 +02:00
Fix issues, RAG working with new services
This commit is contained in:
parent
7f630a3619
commit
dc6ca7c0eb
4 changed files with 7 additions and 4 deletions
|
|
@ -6,8 +6,8 @@ from trustgraph.graph_rag_client import GraphRagClient
|
|||
rag = GraphRagClient(pulsar_host="pulsar://localhost:6650")
|
||||
|
||||
query="""
|
||||
Identify any facts which provide an explanation of the explosion of the
|
||||
space shuttle rocket boosters"""
|
||||
This knowledge graph describes the Space Shuttle disaster.
|
||||
Present 20 facts which are present in the knowledge graph."""
|
||||
|
||||
resp = rag.request(query)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue