Hands on AI
Jan 8, 2024

--

The dataset link doesn't work anymore because the collaborator doesn't want to share the dataset.

However, that's not a problem. You can create your own dataset. Sharing a small example for you to follow.

# Example

questions = ["What is a variable?", "How to loop in Python?", "Explain the concept of inheritance in OOP."]

answers = ["A variable is a container for storing data.", "You can loop in Python using 'for' or 'while' statements.",

"Inheritance in OOP allows a class to inherit properties and methods from another class."]

PS: This tutorial and the above #Example are just samples used to get you started and explain the underlying concept of building a chatbot. Feel free to use your own datasets.

--

--

Hands on AI
Hands on AI

Written by Hands on AI

Tutorials and case studies on various aspects of machine learning and artificial intelligence.

Responses (1)