mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 16:36:21 +02:00
29 lines
641 B
YAML
29 lines
641 B
YAML
|
|
type: object
|
||
|
|
description: WebSocket request for graph-rag service (flow-hosted service)
|
||
|
|
required:
|
||
|
|
- id
|
||
|
|
- service
|
||
|
|
- flow
|
||
|
|
- request
|
||
|
|
properties:
|
||
|
|
id:
|
||
|
|
type: string
|
||
|
|
description: Unique request identifier
|
||
|
|
service:
|
||
|
|
type: string
|
||
|
|
const: graph-rag
|
||
|
|
description: Service identifier for graph-rag service
|
||
|
|
flow:
|
||
|
|
type: string
|
||
|
|
description: Flow ID
|
||
|
|
request:
|
||
|
|
$ref: '../../../../api/components/schemas/rag/GraphRagRequest.yaml'
|
||
|
|
examples:
|
||
|
|
- id: req-1
|
||
|
|
service: graph-rag
|
||
|
|
flow: my-flow
|
||
|
|
request:
|
||
|
|
query: What entities are related to quantum computing?
|
||
|
|
streaming: true
|
||
|
|
triple-limit: 100
|