We saw an introduction to “AI agents” in yesterday’s post. To recap, AI agents, accomplish simple/complex business requirements. It can be a simple chatbot or an agent that detects why electricity bills are high for any given customer.
Given this background, let us create a basic AI Agent chatbot in Python.
[withcode id=”YVq”]
This is a vibe coded simple AI chatbot that answers just five questions. They are:
- “Hi” or “Hello”
- “How are you”
- “Who are you”
- “Bye”
- “Help”
If you do ask any other questions, it will give you a blanket answer such as this:
“So far, I am programmed to only answer five inputs 🙂 and cannot understand this input “
This AI agent runs within the browser itself…do run it and let me know how it is…:)
Just press the ‘Green Triangle’ button on the right side of the screen in the program above and you can see the AI agent in action 🙂
This post is for alphabet ‘B’ for BlogchatterA2Z by @blogchatter!
I tried to click the green 🔺. But it didn’t do anything. I do not know why.
Loved the way you are trying to create an awareness. All the best.
Oh…is it? Can you send a screenshot? I tried it even now and it seemed to be working….