From e16a0e683f28f90e737f866041b395d98c8031f8 Mon Sep 17 00:00:00 2001 From: Jeffrey Cafferata Date: Wed, 8 Nov 2017 09:27:31 +0100 Subject: [PATCH] Update quickstart.html.md.erb JsonSyntaxException: Expected a string but was BEGIN_ARRAY --- .../templates/ecommercerecommendation/quickstart.html.md.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/manual/source/templates/ecommercerecommendation/quickstart.html.md.erb b/docs/manual/source/templates/ecommercerecommendation/quickstart.html.md.erb index 5907a2dc6a..91e79c0fce 100644 --- a/docs/manual/source/templates/ecommercerecommendation/quickstart.html.md.erb +++ b/docs/manual/source/templates/ecommercerecommendation/quickstart.html.md.erb @@ -459,7 +459,7 @@ NOTE: You may see `appId` in engine.json instead, which means you are using old ## 6. Use the Engine -Now, You can retrieve predicted results. To recommend 4 items to user ID "u1". You send this JSON `{ "user": ["u1"], "num": 4 }` to the deployed engine and it will return a JSON of the recommended items. Simply send a query by making a HTTP request or through the `EngineClient` of an SDK. +Now, You can retrieve predicted results. To recommend 4 items to user ID "u1". You send this JSON `{ "user": "u1", "num": 4 }` to the deployed engine and it will return a JSON of the recommended items. Simply send a query by making a HTTP request or through the `EngineClient` of an SDK. With the deployed engine running, open another terminal and run the following `curl` command or use SDK to send the query: