Giter VIP home page Giter VIP logo

voice-integration-chatbot-using-chatterbot-in-python's Introduction

Voice ChatBot-using-chatterbot-in-Python

Voice ChatBot using chatterbot in Python

Follow my steps

default make sure you know pyton

1.Install python 2 or above

2.Star this project at right corner

3.open your terminal and import pytssx and chatterbot one for Chatbot and other for Voice Integration

pip install pytssx pip install chatterbot

4.make a folder inside it make a chatbot python file eg.chat.py

5.Inside that folder make a txt file chat.txt and Download my chat.txt from above and copy the content

and paste into yours

5.Paste this in your python file

import pyttsx3

from chatterbot.trainers import ListTrainer

from chatterbot import ChatBot

engine=pyttsx3.init()

bot=ChatBot('Akash chatbot')

con=open('chat.txt','r').readlines()

bot.set_trainer(ListTrainer)

bot.train(con)

while True:

res=input("you:")

resp=bot.get_response(res)

print('Bot:',resp)

engine.say(resp)   #for voice

engine.runAndWait()

6.save and Run this into yours terminal or cmd

python yourfile.py

7.Done , Congralution you made your Chatbot


voice-integration-chatbot-using-chatterbot-in-python's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.