2026-01-15 11:04:37 +00:00
|
|
|
type: object
|
2026-03-17 20:36:31 +00:00
|
|
|
description: Document embeddings query response with matching chunks and similarity scores
|
2026-01-15 11:04:37 +00:00
|
|
|
properties:
|
|
|
|
|
chunks:
|
|
|
|
|
type: array
|
2026-03-17 20:36:31 +00:00
|
|
|
description: Matching document chunks with similarity scores
|
2026-01-15 11:04:37 +00:00
|
|
|
items:
|
2026-03-17 20:36:31 +00:00
|
|
|
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
|
2026-01-15 11:04:37 +00:00
|
|
|
example:
|
2026-03-17 20:36:31 +00:00
|
|
|
- chunk_id: "urn:trustgraph:chunk:abc123"
|
|
|
|
|
score: 0.95
|
|
|
|
|
- chunk_id: "urn:trustgraph:chunk:def456"
|
|
|
|
|
score: 0.82
|