473,491 Members | 1,917 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Starting with AI powered chat

15 New Member
This is my first time trying to build AI chat. I'm trying to create some kind of AI that will be able to chat with humans.

Let me give you an example. Person sends a question or any other sentence and then AI analyses it and responds.

I'm not talking about chatbot, I'm talking about using PHP to build my own chat system. How and where do I start?
Aug 10 '20 #1
3 3235
dev7060
639 Recognized Expert Contributor
This is such a broad field. The real thing is knowing how the whole machine learning and artificial intelligence work behind the scenes. Then it's just a matter of providing an interface.
Aug 12 '20 #2
vilkerduarte
2 New Member
I could tell you to study machine learning and artificial neural network (RNN) construction, but if the interest is didactic it would be good to start with simple parts, instead of diving into advanced calculations.

You need to find the logical path, try to think how you can understand what someone is typing with you on Whatsapp.

I have an example:
Aug 13 '20 #3
vilkerduarte
2 New Member
Before you know what to reply, you need to identify the message being conveyed, and not exactly WHAT is written.

So start by simplifying the language. Combining words that have the same meaning and thus standardizing those words.

For example, if I write "You are an incredible person!", The system can identify that it is an exclamation, it identifies the subject (the robot itself) and identifies the adjective "Incredible", so it can draw the conclusion that it is receiving a compliment, then the robot must be "Polite" to respond accordingly.
So start by creating a vocabulary in the database, classifying verbs, adjectives, nouns and subjects ... then start to identify them.

I think it's a good start.
I hope I was helpfull.
Aug 13 '20 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1188
by: fowlertrainer | last post by:
Hello ! I want to Start the Mozilla chat under Windows, from a python program. The program must be run after the starting. But it is not working !!! import os dir="C:/Program...
3
3393
by: John Wright | last post by:
I am trying to create a very simple chat program using UDP through a web page. I am having problems getting this going. All the examples I've seen deal with remoting or application variables, or...
3
2574
by: A | last post by:
Hi all! I am currently working on a project where I need to create a web-based chat application that will be used for auctions. If possible, could I get some advice on how to create chat...
0
1793
The1corrupted
by: The1corrupted | last post by:
Alright, I've set up a chat system that only works half way... I need suggestions on how to make it work better... I'm trying to figure out a way to make $_SESSION viewable to all players by...
1
5415
oll3i
by: oll3i | last post by:
how do i run this example ? with openjms package com.ociweb.jms; import java.io.*; import javax.jms.*; import javax.naming.*;
0
1361
by: hussainiyad | last post by:
Dear anyone can help me plz , i,m starting a project chat room using with peer to peer concept with asp.net and c# , can u plz tell me what is the coding or any guidence
1
1392
by: hussainiyad | last post by:
Dear all, can anyone plz help me , i,m starting a private chat room project in peer to peer concept using with asp.net and c# , can u plz tell me how do i add the addible and font size increment...
3
2170
by: John Dalberg | last post by:
I am looking for an asp.net based chat software. I have looked at some (asp.net and php based) and they consist usually of a javascript piece where the web user (visitor) initiates a chat from a...
0
1598
by: cethie | last post by:
I am trying to run Voice and Video chat samples simultaneously using SocketCoder samples (http://silverlightvideochat.codeplex.com/). However, after I start the webcam/video chat, when I start the...
0
7118
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6980
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6862
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7364
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5452
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4886
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3087
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.