blob: f6d9c61d8508e96fd7efb7ac0f9303f8eec1147e [file] [log] [blame]
"""
Send sample query to prediction engine
"""
import predictionio
engine_client = predictionio.EngineClient(url="http://localhost:8000")
print engine_client.send_query({"items": ["i1", "i3"], "num": 4})