TemplateRoutingResponse
Semantic-template routing result containing the request, candidate templates, and selected templates.
requestRequest (string)required
candidates object[]
Array [
template_idTemplate Id (string)required
itemItem (string)required
table_id object
anyOf
- string
- null
string
name object
anyOf
- string
- null
string
matched_question object
anyOf
- string
- null
string
scoreScore (number)required
rerank_score object
anyOf
- number
- null
number
]
routed object[]
Array [
template_idTemplate Id (string)required
itemItem (string)required
table_id object
anyOf
- string
- null
string
name object
anyOf
- string
- null
string
matched_question object
anyOf
- string
- null
string
scoreScore (number)required
rerank_score object
anyOf
- number
- null
number
]
TemplateRoutingResponse
{
"request": "string",
"candidates": [
{
"template_id": "string",
"item": "string",
"table_id": "string",
"name": "string",
"matched_question": "string",
"score": 0,
"rerank_score": 0
}
],
"routed": [
{
"template_id": "string",
"item": "string",
"table_id": "string",
"name": "string",
"matched_question": "string",
"score": 0,
"rerank_score": 0
}
]
}