platoai-node
Node implementation of the Plato AI API.
install
npm i -S platoai
usage
- You may wish to export the following variables in your shell environment:
PLATOAI_HOST
to the hostname that the platoai API server is running on (default:api.platoai.com
)PLATOAI_PORT
to the port that the platoai API server is listening on (default:9000
)
- Push a file represented by a readableStream and some metadata:
const platoai = ;platoai;
documentation
You can find the documentation here. You might also want to check out the protobuf files that define the data format used in the API at platoai/platoai-protos.