Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This is a starter project for a proxy to https://dialogflow.com/ To start call:

>>> go run  <path_to_go>/go/src/leo/main.go <flags>

To enable demo chat at http://<base_url>:8080 use flag: -chat

Example:

>>> go run  <path_to_go>/go/src/leo/main.go -chat.

If you run this on your local machine, go to:

http://localhost:8080 to test.

To enable endpoint use flag: -leo

Example:

>>> go run  <path_to_go>/go/src/leo/main.go -leo.

After service initialization, to get a simple text response from leo agent go to:

http://<base_url>:8080/askleo/<text_to_be_processed>

Note: <user_entered_text> will be sent using GET method.

To view documentation:

>>> godoc -http=:6060 -goroot=<path_to_leo_package>

This will display docs at http://localhost:6060/pkg/leo If you need to get a text representation of a particular page just add:

?m=all,text

to the page url.

Dependencies:

  1. UUID package for Go language. To install run:

    go get github.com/satori/go.uuid
    
  2. Go package for DuckDuckGo Instant Answer API. To install run:

    go get -u github.com/ajanicij/goduckgo
    

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published