Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

greeting.py 491 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  1. # -*- coding: utf-8 -*-
  2. """This module contains the dialogue states for the 'greeting' domain
  3. in the MindMeld home assistant blueprint application
  4. """
  5. from .root import app
  6. @app.handle(intent='greet')
  7. def greet(request, responder):
  8. responder.reply('Hi, I am your home assistant. I can help you to check weather, set temperature'
  9. ' and control the lights and other appliances.')
  10. @app.handle(intent='exit')
  11. def exit(request, responder):
  12. responder.reply('Bye!')
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...