Skip to content

narVidhai/Dialogflow-Gateway-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dialogflow Gateway HTTP API

A simple python-based open source implementation of dialogflow-gateway HTTP API for Dialogflow.
Originally developed to work with Dialogflow Web UI.

Requirements

  • Python>=3.7
  • pip install -r requirements.txt
  • Setup the credentials in main.py

Deployment

Serving locally

  1. Run the server: python main.py
  2. Expose it to Internet. (Example: ngrok http 8000)

Hosting on GCP App Engine

  1. Optional: gcloud app create (Only do this unless there's no default service)
  2. gcloud app deploy app.yaml (Set the service paramter in app.yaml to deploy in addition to the default service)

You can now use the deployed server as the API_URL for the Web UI.

HTTP Endpoints