USAN / libdfegrpc

Library to present a simple C interface to the Dialogflow gRPC API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fetching / Updating the Protocol Files

The protos in this directory come from two places.

The main Google API protos come from the github googleapis repository. You should run proto_update.sh to re-download these and refresh them.

As the dialogflow API protos are now GA they are updated / installed using the same script.

Building the library

  1. Run the install_protoc.sh script to download, compile, and install
    • protoc (the protocol specification compiler)
    • the protobuf library
    • the gRPC library
  2. Run make to:
    1. Build the protobuffer code for DialogFlow
    2. Compile the protobuffer and the shim code to libdfegrpc.so
    3. Compile the test client
  3. Run make install to install the library and header files.

Running the test client

To build the test client, run make test.

To run the test client, execute:

./test_client

About

Library to present a simple C interface to the Dialogflow gRPC API

License:GNU General Public License v2.0


Languages

Language:Starlark 44.2%Language:C++ 40.3%Language:C 10.9%Language:Shell 2.9%Language:Makefile 1.8%