All Projects → treethought → Flask Assistant

treethought / Flask Assistant

Licence: apache-2.0
Framework for Building Virtual Assistants with Dialogflow and python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Flask Assistant

Alpha
Craft your own web-based chatbot
Stars: ✭ 113 (-68.44%)
Mutual labels:  chatbot, bots, framework
Assistant Relay
A Node.js server that allows for sending commands to Google Home/Assistant from endpoints
Stars: ✭ 638 (+78.21%)
Mutual labels:  assistant, google-assistant, google-home
Assistantcomputercontrol
Control your computer with your Google Home or Amazon Alexa assistant!
Stars: ✭ 554 (+54.75%)
Mutual labels:  assistant, google-assistant, google-home
Tock
Tock - the open source conversational AI toolkit
Stars: ✭ 175 (-51.12%)
Mutual labels:  chatbot, assistant, google-assistant
rivescript-java
A RiveScript interpreter for Java. RiveScript is a scripting language for chatterbots.
Stars: ✭ 60 (-83.24%)
Mutual labels:  bots, chatbot
nlp-dialogue
A full-process dialogue system that can be deployed online
Stars: ✭ 69 (-80.73%)
Mutual labels:  bots, chatbot
Athena
A free and open source replacement for Google Assistant on Android devices, meant to integrate with the Sapphire Framework. It contains both speech-to-text and text-to-speech services. It does not require Google services or network connectivity
Stars: ✭ 73 (-79.61%)
Mutual labels:  assistant, google-assistant
Chat-Bot
Chatbot – is a computer program that simulates a natural human conversation. Users communicate with a chatbot via the chat interface or by voice, like how they would talk to a real person.
Stars: ✭ 26 (-92.74%)
Mutual labels:  bots, chatbot
Chatbot
Python ChatBot 💬
Stars: ✭ 250 (-30.17%)
Mutual labels:  chatbot, bots
intelligo-generator
🛠️ Chatbot generator for Intelligo Framework.
Stars: ✭ 31 (-91.34%)
Mutual labels:  bots, chatbot
leon
🧠 Leon is your open-source personal assistant.
Stars: ✭ 8,560 (+2291.06%)
Mutual labels:  chatbot, assistant
Hutoma-Conversational-AI-Platform
Hu:toma AI is an open source stack designed to help you create compelling conversational interfaces with little effort and above industry accuracy
Stars: ✭ 35 (-90.22%)
Mutual labels:  bots, chatbot
Asher.Ai
Welcome to the API side of Asher, where all the language processing happens.
Stars: ✭ 20 (-94.41%)
Mutual labels:  assistant, google-assistant
intelligo.js.org
The official website for Intelligo chatbot framework.
Stars: ✭ 18 (-94.97%)
Mutual labels:  bots, chatbot
gluco-check
Use Nightscout with Google Home: "Hey Google, check my sugar"
Stars: ✭ 24 (-93.3%)
Mutual labels:  google-home, google-assistant
assistant-freebox
Plugin pour contrôler la Freebox Révolution via un Assistant comme Google Home
Stars: ✭ 22 (-93.85%)
Mutual labels:  google-home, google-assistant
Messenger
Package messenger is used for making bots for use with Facebook messenger
Stars: ✭ 278 (-22.35%)
Mutual labels:  bots, framework
Olivia
💁‍♀️Your new best friend powered by an artificial neural network
Stars: ✭ 3,114 (+769.83%)
Mutual labels:  chatbot, assistant
Assistants Pi
Headless Google Assistant and Alexa on Raspberry Pi
Stars: ✭ 280 (-21.79%)
Mutual labels:  assistant, google-assistant
Intelligo
🤖 Chatbot Framework for Node.js.
Stars: ✭ 347 (-3.07%)
Mutual labels:  chatbot, bots

Create Virtual Assistants with Python

image image image image

A flask extension serving as a framework to easily create virtual assistants using Dialogflow which may be integrated with platforms such as Actions on Google (Google Assistant).

Flask-Assistant allows you to focus on building the core business logic of conversational user interfaces while utilizing Dialogflow's Natural Language Processing to interact with users.

Now supports Dialogflow V2!

This project is heavily inspired and based on John Wheeler's Flask-ask for the Alexa Skills Kit.

Features

  • Mapping of user-triggered Intents to action functions
  • Context support for crafting dialogue dependent on the user's requests
  • Define prompts for missing parameters when they are not present in the users request or past active contexts
  • A convenient syntax resembling Flask's decoratored routing
  • Rich Responses for Google Assistant

Hello World

from flask import Flask
from flask_assistant import Assistant, ask

app = Flask(__name__)
assist = Assistant(app, project_id="GOOGLE_CLOUD_PROJECT_ID")

@assist.action("Demo")
def hello_world():
    speech = "Microphone check 1, 2 what is this?"
    return ask(speech)

if __name__ == "__main__":
    app.run(debug=True)

How-To

  1. Create an Assistant object with a Flask app.
  2. Use action decorators to map intents to the proper action function.
  3. Use action view functions to return ask or tell responses.

Documentation

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].