Accepts search query objects array each with query and optional filter. Break down complex questions into sub-questions. Refine results by criteria, e.g. time / source, don't do this often. Split queries if ResponseTooLargeError occurs.
643 matches
AI & ML/OpenIndex Retrieval Plugin
Query
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
{
"type": "object",
"required": [
"queries"
],
"properties": {
"namespace": {
"type": "string"
},
"queries": {
"type": "array",
"items": {
"type": "object",
"required": [
"query"
],
"properties": {
"filter": {
"type": "object",
"properties": {
"author": {
"type": "string"
},
"collection_id": {
"type": "string"
},
"document_id": {
"type": "string"
},
"end_date": {
"type": "string"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"language": {
"type": "string"
},
"source": {
"type": "string",
"description": "An enumeration.",
"enum": [
"email",
"web",
"file",
"chat"
]
},
"source_id": {
"type": "string"
},
"start_date": {
"type": "string"
},
"time_period": {
"type": "string"
},
"user_id": {
"type": "string"
}
}
},
"query": {
"type": "string"
},
"top_k": {
"type": "integer"
}
}
}
}
}
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
{
"type": "object",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"query",
"results"
],
"properties": {
"query": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"text",
"metadata",
"score"
],
"properties": {
"embedding": {
"type": "array",
"items": {
"type": "number"
}
},
"id": {
"type": "string"
},
"metadata": {
"type": "object",
"properties": {
"author": {
"type": "string"
},
"collection_id": {
"type": "string"
},
"created_at": {
"type": "string"
},
"document_id": {
"type": "string"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"language": {
"type": "string"
},
"source": {
"type": "string",
"description": "An enumeration.",
"enum": [
"email",
"web",
"file",
"chat"
]
},
"source_id": {
"type": "string"
},
"time_period": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"url": {
"type": "string"
},
"user_id": {
"type": "string"
}
}
},
"score": {
"type": "number"
},
"text": {
"type": "string"
}
}
}
}
}
}
}
}
}