Skip to content

SAP Conversational AI Skill to access the SAP Help Portal Search API

License

Notifications You must be signed in to change notification settings

nithin19888/search-conversion

 
 

Repository files navigation

search-conversion

The search-conversion service transforms an SAP Help Portal Search API response into an SAP Conversational AI readable format.

Installation

To run the service locally, first either get it via go get

go get -u github.com/afritzler/search-conversion

or clone the repository.

git clone https://github.com/afritzler/search-conversion.git
cd search-conversion

Usage

Build the app via make and start the service

cd search-conversion
make
./search-conversion

The service will be exposed via http://localhost:8080. The default port 8080 can be changed by setting the PORT environment variable.

export PORT=5000
./search-conversion

Adjust the examples/request.json to your needs and run a curl against either localhost or your corresponding service URL.

curl -vX POST https://YOUR_SERVICE_URL/search -d @examples/request.json \
--header "Content-Type: application/json"

Deploy to CloudFoundry

To deploy the service to a CloudFoundry environment

git clone https://github.com/afritzler/search-conversion.git
cd search-conversion
cf push

Deploy to Google AppEngine

To deploy the service to the Google AppEngine

git clone https://github.com/afritzler/search-conversion.git
cd search-conversion
gcloud app deploy

About

SAP Conversational AI Skill to access the SAP Help Portal Search API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 93.3%
  • Makefile 4.8%
  • Dockerfile 1.9%