Skip to content

IBM/contingent-plan-executor

Repository files navigation

hovor-execution-monitor

This repository contains the the logic of dialog planner. It is deployed as a bluemix python application with a NoSQL db database that is supposed to store solutiions generated by planner.

1. API endpoint

TODO The root of execution monitor API endpoint is https://hovor-exec.mybluemix.net/.

Below are the various sub-endpoints and explanation of the services they provide along with necessary input/output to/from them:

2. Run the app locally

Install the dependencies listed in the requirements.txt file to be able to run the app locally.

pip install -r requirements.txt

Run the app.

python remote_main.py

Use a configuration similar to this for the vcap-local.json file (get credentials from Shubham Agarwal):

{
"services": {
 "cloudantNoSQLDB": [
   {
     "credentials": {
       "username":"<user>",
       "password":"<pass>",
       "host":"<host>"
     },
     "db_name":"hovor-exec-develop",
     "label": "cloudantNoSQLDB"
   }
 ]
}
}

View your app at : http://localhost:8000

Send new messages with curl :

curl -d '{"user":"haz", "msg":"Toronto"}' -H "Content-Type: application/json" -X POST http://localhost:9000/new-message

About

This repository contains Contingent Plan Executor for a Declarative specification of a dialogue agent

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages