POST /v1/retrievers
{
"retriever_name": "video-search",
"collection_ids": ["col_video_scenes", "col_video_transcripts"],
"input_schema": {
"properties": {
"query_text": { "type": "text", "required": true },
"query_image": { "type": "url" },
"category": { "type": "text" }
}
},
"stages": [
{
"stage_name": "hybrid_search",
"version": "v1",
"parameters": {
"queries": [
{
"feature_address": "mixpeek://video_extractor@v1/scene_embedding",
"input_mapping": { "image": "query_image" },
"weight": 0.6
},
{
"feature_address": "mixpeek://audio_extractor@v1/transcript_embedding",
"input_mapping": { "text": "query_text" },
"weight": 0.4
}
],
"fusion_method": "rrf",
"limit": 20
}
},
{
"stage_name": "filter",
"version": "v1",
"parameters": {
"filters": {
"field": "metadata.category",
"operator": "eq",
"value": "{{inputs.category}}"
}
}
}
]
}