School
LiamBaum (0)

I need this for a class in my middle school (7th grade to be precise).
how do i make an ai that replies using the input you give

EXAMPLE
Ai: Hello, how are you
Person: Good.
Ai: Im doing good too!

EXAMPLE 2
Ai: Hello, how are you
Person: Bad.
Ai: Im sorry to hear that, why aren't you doing good?

You are viewing a single comment. View All
Masy (21)

This isnt an AI, what your trying is a simple chat bot, AI's are predictive, what your doing is just reading an input and replying based on the input

input("good"
print("thats good"
else
print("thats not good")

dont copy that it wont work, thats a rough idea of what you want to do.

Masy (21)

dont mind my synatx im in a AP Math class right now and im trying to answer questions and pay attention