Software Development Kit for varius AI tasks including Intent Parsing & more
Project description
Jarvis SDK
This Jarvis Software Development Kit contains methods for various AI assistant tasks including Intent Parsing
Documentation
Skill
Whenever Jarvis captures a Skill with Intent in a spoken phrase or chat platform, you can execute some code and provide an appropriate response.
from jarvis_sdk import Skill
@Skill.on("Weather", "getWeather")
def Weather_getWeather(captured_data):
# captured_data is an instance of [`CapturedIntentData`](#CapturedIntentData)
# process the query in here and return a list of possible responses. The Jarvis AI will try to
# pick the best reply based on mood, talkactiveness and much more
return [
"It's sunny",
"It's really sunny, temperatures reaching 34°C"
]
@Skill.on("Weather", "*")
def Weather_all(captured_data):
# you can also attach a listener for all intents on all skill.
# Make sure you return None or nothing, because everything else
# is being treated as response and is presented to the user
return None
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
open-jarvis-sdk-0.0.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for open_jarvis_sdk-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fbffd8671767673850d4ed9adffade98f67bb4ad8ea60cb751178c9f67ca12e |
|
MD5 | 0219a8c4835bb80b450b07d53bd5276b |
|
BLAKE2b-256 | e4dd7ccdcfc4422d11b98f5c67f7c96297602151fc24af49a9aee7fb113c1fec |