Skip to main content

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


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)

Uploaded Source

Built Distribution

open_jarvis_sdk-0.0.1-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page