mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 16:36:21 +02:00
22 lines
665 B
YAML
22 lines
665 B
YAML
type: object
|
|
description: Document embeddings query response with matching chunks and similarity scores
|
|
properties:
|
|
chunks:
|
|
type: array
|
|
description: Matching document chunks with similarity scores
|
|
items:
|
|
type: object
|
|
properties:
|
|
chunk_id:
|
|
type: string
|
|
description: Chunk identifier URI
|
|
example: "urn:trustgraph:chunk:abc123"
|
|
score:
|
|
type: number
|
|
description: Similarity score (higher is more similar)
|
|
example: 0.89
|
|
example:
|
|
- chunk_id: "urn:trustgraph:chunk:abc123"
|
|
score: 0.95
|
|
- chunk_id: "urn:trustgraph:chunk:def456"
|
|
score: 0.82
|