Skip to main content

rasa_core interpreter connecting to API v2

Project description


Build Status

rasa_core interpreter connecting to API v2

A rasa_core Interpreter that sources intent data from API v2. This means you can run rasa_core and do Natural Language Understanding using Dialogflow.


Install using pip:

pip install rasa-dialogflow-interpreter


from rasa_dialogflow_interpreter.interpreter import DialogflowInterpreter
from rasa_core.agent import Agent

agent = Agent.load(
        # if you omit the `service_account_json` parameter the value
        # exported to GOOGLE_APPLICATION_CREDENTIALS will be used instead

msg = agent.handle_text('What does it all mean, Dialogflow?')

Note that due to the way that Dialogflow currently works, the returned entities will not have start and end values.


MIT © Frederik Ring

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rasa-dialogflow-interpreter, version 0.6.0
Filename, size File type Python version Upload date Hashes
Filename, size rasa_dialogflow_interpreter-0.6.0-py3-none-any.whl (3.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size rasa_dialogflow_interpreter-0.6.0.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page