Created
January 6, 2015 14:40
-
-
Save tankcdr/3e78d4c65aa1e753dc55 to your computer and use it in GitHub Desktop.
WatsonQA Constructor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public WatsonQA(string corpus, string baseURL, string uid, string pwd) | |
{ | |
this.url = baseURL + "/v1/question/" + corpus; | |
this.uid = uid; | |
this.pwd = pwd; | |
Console.WriteLine("url:" + this.url); | |
Console.WriteLine("uid:" + this.uid); | |
Console.WriteLine("pwd:" + this.pwd); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment