Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neeraj-x0/chatbot
Chatbot is an open-source Python-based conversational agent designed to engage in text-based interactions and perform various tasks. Harnessing the power of artificial intelligence, this bot offers customizable features for text-to-speech, speech-to-text, and AI-based conversations.
https://github.com/neeraj-x0/chatbot
ai artificial-intelligence chatbot pip python pyttsx3 speech-recognition voice-chat
Last synced: 19 days ago
JSON representation
Chatbot is an open-source Python-based conversational agent designed to engage in text-based interactions and perform various tasks. Harnessing the power of artificial intelligence, this bot offers customizable features for text-to-speech, speech-to-text, and AI-based conversations.
- Host: GitHub
- URL: https://github.com/neeraj-x0/chatbot
- Owner: Neeraj-x0
- Created: 2022-04-11T15:51:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-23T16:38:26.000Z (8 months ago)
- Last Synced: 2024-11-11T02:06:01.460Z (3 months ago)
- Topics: ai, artificial-intelligence, chatbot, pip, python, pyttsx3, speech-recognition, voice-chat
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chatbot
AI Based Chatbot Made on Python Completely Opensource#### Requirements
| Sl.No| Name | Description |
|:--: | :--- | :---- |
| 1 . | Python =< 3.x.x | Python For Running the project |
| 2 . | Pyttsx3 | For Text-to-Speech |
| 3 . | speech_recognition | For Speech-to-Text |
| 4 . | Pip| For installing packages|
#### Installation1. Clone and navigate to chatbot directory.
```bash
git clone https://github.com/Neeraj-x0/Chatbot
cd Chatbot
```2. Install the required packages.
```bash
pip install -r requirements.txt
```3. Run the Bot.
```bash
python main.py
```
4. You're done and let's voicechat with your bot via Commandline.### Using Pre-Built Modules for Your Project
- #### Text-to-Speech
```pythonfrom tts import * # You can Import Only 1 voice type if you want "talkm" for male voice and "talkf" for female
while True:
talkf('This will give an output in female sound')
talkm('This will give an output in male sound')
break```
- #### AI Response
```python
from chatbot import bottext = "Hello , How are you ?"
print(bot(text)) #This will print the response from AIprint(bot("HI")) #This will print the response from AI
```## Using Your Own Customizable AI
**Do you know that you can train your AI bot with your own details,
**
**yes you can Change the url of Api Response with yours Now**
**Find the URL [HERE](https://github.com/Neeraj-x0/Chatbot/blob/main/chatbot.py#L5)**
- Read [Wiki](https://github.com/Neeraj-x0/Chatbot/wiki/How-to-get-AI-URL) to Know How to get a new URL
### Author[Neeraj](https://github.com/Neeraj-x0)
### Thanks To:
- [Natesh Bhat](https://github.com/nateshmbhat) For Pyttsx3
- [Brainshop Ai](brainshop.ai) For AI Response