blob: 145d1076cdb0834414d6d6342125af38e50f6b8b [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}))