TagUI
Uploading data to Aito
Making predictions
// Construct a predict query from your input data
linetext = "Rental car New York May 2021"
amount = 34.22
query = {"from": "invoice_data", "where": {"Item_Description": linetext, "Inv_Amt": amount}, "predict": "GL_Code", "limit": 1}// Configure HTTP headers
api_config = {method:'POST', header:['x-api-key: bvss2i2dIkaWUfBCdzEO89LpxUkwO3A24hYg8MBq','content-type: application/json'], body:query};// Make API call to Aito predict endpoint
api https://public-1.api.aito.ai/api/v1/_predictAll the code together
Last updated
Was this helpful?