rasa-dialogflow-interpreter
rasa_core interpreter connecting to dialogflow.com API v2
A rasa_core Interpreter that sources intent data from dialogflow.com API v2. This means you can run rasa_core and do Natural Language Understanding using Dialogflow.
Installation
Install using pip:
pip install rasa-dialogflow-interpreter
Usage
from rasa_dialogflow_interpreter.interpreter import DialogflowInterpreter
from rasa_core.agent import Agent
agent = Agent.load(
'path/to/dialogue/models',
interpreter=DialogflowInterpreter(
'dialogflow-project-name',
# if you omit the `service_account_json` parameter the value
# exported to GOOGLE_APPLICATION_CREDENTIALS will be used instead
service_account_json='dialogflow-project-name.json',
))
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.
License
MIT © Frederik Ring
Metadata
Release files for rasa-dialogflow-interpreter 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rasa_dialogflow_interpreter-0.6.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rasa_dialogflow_interpreter-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / rasa_dialogflow_interpreter-0.6.0.tar.gz
| Download URL | rasa_dialogflow_interpreter-0.6.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dcc6704aa819ccd48a3fc5c083fec6b1d8c38dfae4824c895e47b555db1eace2
|
|
BLAKE2b-256 checksum How to use checksums |
79769f6f3e384d3a4014911274955758c77f5ad1d502da3233c0758d6d6f7a15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.20.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.8
|
Release files / rasa_dialogflow_interpreter-0.6.0-py3-none-any.whl
| Download URL | rasa_dialogflow_interpreter-0.6.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0e4bf4fa63edfd8f45af4bfe8bae160cae81b3123127bca9106cd6e6052c4a7
|
|
BLAKE2b-256 checksum How to use checksums |
7b089ffa3415a44f9c3b1c0582de67546ffd27cd97698ca0b346837b1ed5a244
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.20.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.8
|