PyDialogflow for HTTPS server
© 2018 SiLeader.
features
- PyAlexa (pyalexa-lambda) like syntax
- simple system
usage
use Flask
from flask import Flask, request, jsonify
import dialow
app = Flask(__name__)
# Alexa like syntax
@app.route("/dialogflow/endpoint", methods=["POST"])
def dialogflow_endpoint():
req = dialow.Request(request.json)
if request.type == "IntentRequest":
res = dialow.Response()
res.output_speech(text="Dialogflow Test")
return jsonify(res.response)
License
Apache License 2.0
See LICENSE
for Alexa
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydialogflow-1.0.0.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydialogflow-1.0.0.tar.gz.
File metadata
- Download URL: pydialogflow-1.0.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecbdb6a83d8916261bed92ada90d5dd159d7ff71ae586ae635f3681fce47e33b
|
|
| MD5 |
69610140ff605a400f558cb4554f3bd0
|
|
| BLAKE2b-256 |
9dbde0401255fb9673763b1b71aa42d3bbeee98c95917f973186eedaab52b4cb
|
File details
Details for the file pydialogflow-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pydialogflow-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7ba71662016103e7ee3f6f38917c785209ef6703bff50d824bcf68a7e4fff16
|
|
| MD5 |
4b15dcad9b609d0ad2fe227b6a574736
|
|
| BLAKE2b-256 |
f6ac8e2cf22f7945c9502902a34853f725f43855f32d639f2240e03458bc07a5
|