mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-26 00:46:22 +02:00
* Added row embeddings API and CLI support * Updated protocol specs * Row embeddings agent tool * Add new agent tool to CLI
39 lines
960 B
YAML
39 lines
960 B
YAML
type: object
|
|
description: |
|
|
Row embeddings query request - find similar rows by vector similarity on indexed fields.
|
|
Enables semantic/fuzzy matching on structured data.
|
|
required:
|
|
- vectors
|
|
- schema_name
|
|
properties:
|
|
vectors:
|
|
type: array
|
|
description: Query embedding vector
|
|
items:
|
|
type: number
|
|
example: [0.023, -0.142, 0.089, 0.234, -0.067, 0.156]
|
|
schema_name:
|
|
type: string
|
|
description: Schema name to search within
|
|
example: customers
|
|
index_name:
|
|
type: string
|
|
description: Optional index name to filter search to specific index
|
|
example: full_name
|
|
limit:
|
|
type: integer
|
|
description: Maximum number of matches to return
|
|
default: 10
|
|
minimum: 1
|
|
maximum: 1000
|
|
example: 20
|
|
user:
|
|
type: string
|
|
description: User identifier
|
|
default: trustgraph
|
|
example: alice
|
|
collection:
|
|
type: string
|
|
description: Collection to search
|
|
default: default
|
|
example: sales
|