post http://localhost:3000/v0.1/namespaces//queries
Responses
500Internal server error
500Internal server error
xxxxxxxxxx
curl --request POST \
--url http://localhost:3000/v0.1/namespaces/namespaceId/queries \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
14{
"id": "c2c3080f-6797-46c0-8acb-ff45ad074ca4",
"namespace": "66164b96a5fb5134170b4870_htn4wlf3nxiolbjz6p3pu2ff379q",
"query": "What is the attitude gyro?",
"results": [
{
"id": "21cb0ece-54b7-4e28-bbd6-553bdd753658",
"score": 0.31385386,
"text": "Arm The horizontal distance from the reference datum to the center of gravity of an \nitem \nMoment The product of the weight of an item multiplied by its arm \nAirplane center of gravity (C.G.) The point at which an airplane would balance if suspended. Its distance from \nthe reference datum is found by dividing the total moment by the total weight of \nthe airplane",
"pageNumber": 14,
"pageContent": "Arm The horizontal distance from the reference datum to the center of gravity of an item Moment The product of the weight of an item multiplied by its arm Airplane center of gravity (C.G.) The point at which an airplane would balance if suspended. Its distance from the reference datum is found by dividing the total moment by the total weight of the airplane"
}
]
}