Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vishalshenoy2002/jen
This is a python package which has different types of assistant which will help you make your own assistant.
https://github.com/vishalshenoy2002/jen
assistant framework personal-assistant pip pip-install virtual-assistant
Last synced: about 17 hours ago
JSON representation
This is a python package which has different types of assistant which will help you make your own assistant.
- Host: GitHub
- URL: https://github.com/vishalshenoy2002/jen
- Owner: VishalShenoy2002
- License: mit
- Created: 2021-10-19T09:11:58.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-27T04:17:01.000Z (almost 3 years ago)
- Last Synced: 2024-11-13T16:48:02.466Z (1 day ago)
- Topics: assistant, framework, personal-assistant, pip, pip-install, virtual-assistant
- Language: Python
- Homepage: https://pypi.org/project/JenAssistant/
- Size: 16.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# JenAssistant
## What is JenAssistant?
Jen is a package which has a list of different types of assistants which can help you in virtual assistant projects.## Sample Code
This is the code for making a Simple Assistant. Here it checks if the word calendar is there in the command you have provided and accordingly displays the calendar for the given year
```python
from jen.assistant import SimpleAssistant
from jen.functions import display_cli_calendarassistant=SimpleAssistant("Assistant")
command=input("What do you want the Assistant to Do :")
if "calendar" in command:
year=int(input("Enter Year:"))
assistant.display_response("Displaying the calendar for {}".format(year))
display_cli_calendar(year)
```This is the code for making a Speech Recognising Assistant. This can recognise your speech and display the output accordingly.
```python
from jen.assistant import SpeechRecognisingAssistant
from jen.functions import display_cli_calendarassistant=SpeechRecognisingAssistant('Bot')
command=assistant.listen_to_the_user()if "calendar" in command:
year=assistant.take_input("Enter Year :")
display_cli_calendar(int(year))
```## Error Handling
Here if we get a PyAudio Error then import the configure module
```python
from jen import configureconfigure.configure_pyaudio()
```