// // GET: /Sandbox/ public ActionResult Index() { //Alchemy Test Calls AlchemyHelper alchemy = new AlchemyHelper(); //var response1 = alchemy.GetResponse("The \"Hand of God\" goal happened in a soccer world cup in this city", "City"); //var response2 = alchemy.GetResponse("City of Fountains", "City"); var response2 = alchemy.GetResponse("City of Fountains", "City",true); //alchemy.CallGetRankedKeywordAPI("http://www.kcfountains.com/"); //var response = alchemy.CallGetRankedNamedEntities("http://www.kcfountains.com/", "City"); return View(); }
public Dictionary<string, AlchemyWeightedData> GetPossibleResponses(GameRound gr, bool userironIo) { AlchemyHelper ah = new AlchemyHelper(); return ah.GetResponse(gr.Challenge, gr.Category.ToString(), userironIo); }