Skip to content

syntithenai/snips_skill_maths

Repository files navigation

Maths skill for Snips

MIT License

snips-skill-maths

Installation

The fastest way to get going is to use the prebuilt assistant and Snipsfile at https://github.com/syntithenai/snips_skill_maths

Usage

Snips Skills Manager

It is recommended that you use this skill with the Snips Skills Manager. Simply add the following section to your Snipsfile:

pip: snips-skill-maths package_name: arithmeticskill class_name: ArithmeticSkill requires_tts: True intents:

  • intent: BasicMaths action: |

    {% skill.solve_and_say(intent.numberA,intent.numberB,intent.mathsOperator) %}

Standalone usage

import ArithmeticSkill from arithmeticskill.arithmeticskill

calculator = ArithmeticSkill() calculator.solve(2,'plus',3)

Contributing

Please see the Contribution Guidelines.

target:https://raw.githubusercontent.com/snipsco/snips-skill-hue/master/LICENSE.txt
alt:MIT License

Releases

No releases published

Packages

No packages published