Index::Search
TODO(infrawhispers) - PENDING
- application/json
Request Body required
- index_name string
queries object[]
Array [text object
id stringvalue stringbytes byteinstruction stringimage_uri object
id stringvalue stringbytes byteinstruction stringimage_bytes object
id stringvalue stringbytes byteinstruction stringembedding object
id stringvals float[]]- attributes string[]
weighting object
property name*
number- per_search_limit int64
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
response object[]
Array [search_id stringnns object[]
Array [id stringdistance floatdocument string]err_message string]
{
"response": [
{
"search_id": "string",
"nns": [
{
"id": "string",
"distance": 0,
"document": "string"
}
],
"err_message": "string"
}
]
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...