Chatbot

  • 3 Replies
  • 578 Views
*

Awais Shahid

  • Roomba
  • *
  • 8
Chatbot
« on: December 24, 2016, 04:45:47 pm »
Hello
I'm new Machine Learning. I want to build a chatbot using asp.net anyone can guide me what should I do the process???

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6202
  • Mostly Harmless
Re: Chatbot
« Reply #1 on: December 24, 2016, 07:27:26 pm »
Welcome :)

Here's a good place as any to start : http://aidreams.co.uk/forum/index.php?topic=8770.0

*

kei10

  • It's a honor to meet everyone!
  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 444
  • Just kidding.
Re: Chatbot
« Reply #2 on: December 24, 2016, 08:44:21 pm »
Hi and welcome! :)
Greetings, signature.

*

8pla.net

  • Trusty Member
  • *********
  • Terminator
  • *
  • 866
    • 8pla.net
Re: Chatbot
« Reply #3 on: December 25, 2016, 04:53:23 pm »
I don't have access to ASP.NET right now, so this is untested ASP.NET
code for discussion purposes.   Maybe if someone runs a quick alpha test
they'll report back here on this thread.

Code: [Select]
<% @Page Language="C#" Debug="true" %>
<% @Import Namespace="System.Web" %>
<!DOCTYPE html>
<html>
    <head>
        <title>Chatbot</title>
        <script language="C#" runat="server">
        void Page_Load(object sender,EventArgs e)
           {
           if (IsPost) {

              string stimulus = Request.Form["stimulus"];

              string response = "Please go on.";

              <text>
              You: @stimulus <br />
              Bot: @response <br />
              </text>
           }
    }
   </script>
    </head>
    <body>
      <form method="POST" action="" >
        <fieldset>
          <legend>Chatbot</legend>
          <div>
            <label for="stimulus">Input:</label>
            <input type="text" name="stimulus" value="" />
          </div>
          <div>
            <label>&nbsp;</label>
            <input type="submit" value="Submit" class="submit" />
          </div>
        </fieldset>
      </form>
    </body>
</html>


It only has one response, but if this is working, more responses can be added later on.
Advice: Start simple and have fun building it up from there.
My Very Enormous Monster Just Stopped Using Nine