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