Skip to content
This repository has been archived by the owner on Jun 5, 2022. It is now read-only.

Commit

Permalink
temp knowledgebase
Browse files Browse the repository at this point in the history
  • Loading branch information
tjandy98 committed Jul 13, 2018
1 parent b5265a9 commit 6a75b40
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions qna.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,21 @@ let https = require ('https');
// **********************************************

// NOTE: Replace this with a valid host name.
let host = "askaboutblockchain.azurewebsites.net";
// let host = "askaboutblockchain.azurewebsites.net";
let host = "ehubbot.azurewebsites.net";

// NOTE: Replace this with a valid endpoint key.
// This is not your subscription key.
// To get your endpoint keys, call the GET /endpointkeys method.
let endpoint_key = "ba5eac5c-0ec8-479a-80bd-8c527ae060d7";
// let endpoint_key = "ba5eac5c-0ec8-479a-80bd-8c527ae060d7";
let endpoint_key = "189f6541-fbcc-449a-a035-9f3729a27f19";
//

// NOTE: Replace this with a valid knowledge base ID.
// Make sure you have published the knowledge base with the
// POST /knowledgebases/{knowledge base ID} method.
let kb = "275be859-8d17-4817-876f-2e4cbaa369d3";
// let kb = "275be859-8d17-4817-876f-2e4cbaa369d3";
let kb = "41556151-d5f0-4d19-a1d1-ac399f8b671a";

let method = "/qnamaker/knowledgebases/" + kb + "/generateAnswer";

Expand Down

0 comments on commit 6a75b40

Please sign in to comment.