Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/henx117/chatbot
My chatbot python project
https://github.com/henx117/chatbot
chatbot python python3 spacy
Last synced: 2 months ago
JSON representation
My chatbot python project
- Host: GitHub
- URL: https://github.com/henx117/chatbot
- Owner: henX117
- Created: 2024-04-09T16:56:22.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-01T06:05:19.000Z (3 months ago)
- Last Synced: 2024-10-14T04:02:56.438Z (2 months ago)
- Topics: chatbot, python, python3, spacy
- Language: Python
- Homepage:
- Size: 14.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.txt
- Security: SECURITY.md
Awesome Lists containing this project
README
README - Chatbot Project
Description:
This project is a chatbot named Hal (short for Halsey) implemented in Python. The chatbot utilizes natural language processing (NLP) and various APIs to provide a range of functionalities, including:
- Opening and closing applications
- Performing text analysis
- Solving math problems
- Telling jokes and providing weather information
- Playing games
- Handling greetings and conversations
- Setting reminders
- Searching Wikipedia
- Generating random numbers
- merging PDF's
- and more!Prerequisites:
Before running the chatbot, ensure that you have the following libraries installed:
- spacy
- openai
- requests
- wikipedia
- inflect
- AppOpener
- gtts
- pygame
- PyPDF4
- pyttsx3
- sympy
- img2pdf
- aiohttp
- openpyxl
- matplotlibYou can install these libraries using pip. For example:
1) Spacy
pip install -U pip setuptools wheel
pip install -U spacy
python -m spacy download en_core_web_sm
python -m spacy download en_core_web_lg
pip install spacy-lookups-data2) OpenAI
pip install --upgrade openai3) Requests
pip install requests...
Usage:
1. To start the chatbot for the first time, run the "setup.py file. It will install the required libraries.
2. run the "user_setup.py" file. This will ask you for you name.
3 If you have API keys for 'openai', 'weatherstack.com', 'official-joke-api.appstop.com' --> place them in the 'api_keys.py' file.
4. Run "Hal.py"The chatbot supports various commands and intents. You can type "help" or "I need help" to see a list of available commands.
Note: Make sure to keep your API keys secure and do not share them publicly.
Acknowledgements:
The chatbot project uses various libraries and APIs, including:
- spacy: For natural language processing
- OpenAI: For language model integration
- weatherstack.com: For retrieving weather information
- official-joke-api.appspot.com: For fetching jokes
- and many other libraries previously mentioned.
These libraries are essential for running the chatbot and could not be done without them.If you have any questions, issues, or suggestions please don't hesitate to reach out!
Authors:
- Henry G