You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bot always respond with "For fun?" or "Something is wrong with my brain." and I can't figure out why. Since the interpreter has no wiki, I'm more forced to create an issue about this.
Doesn't seem like anything is wrong?
public class ChatBot {
private static BotImpl bot;
private static BotRepository br;
private static ChatContext cc;
public static void setup() {
br = new BotRepository(new InMemoryChatContextStorage());
cc = new ChatContext("Bot");
br.setRootPath("./textbot/");
bot = (BotImpl) br.get("alice2");
bot.setChatContext(cc);
bot.setName("Bot");
bot.wakeUp();
}
public static String respond(String request) {
String respond = bot.getRespond(request);
System.out.println(respond);
return respond;
}
}
The text was updated successfully, but these errors were encountered:
Bot always respond with "For fun?" or "Something is wrong with my brain." and I can't figure out why. Since the interpreter has no wiki, I'm more forced to create an issue about this.
Doesn't seem like anything is wrong?
The text was updated successfully, but these errors were encountered: