Skip to content

Instantly share code, notes, and snippets.

@tankcdr
Created January 6, 2015 14:40
Show Gist options
  • Save tankcdr/3e78d4c65aa1e753dc55 to your computer and use it in GitHub Desktop.
Save tankcdr/3e78d4c65aa1e753dc55 to your computer and use it in GitHub Desktop.
WatsonQA Constructor
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