@botmock/dialogflow-cx-connector
v0.1.2
Published
Connects BM with DF CX
Downloads
15
Readme
@botmock/dialogflow-cx-connector
A package used to connect botmock exported file with dialogflow CX.
Installation
npm install @botmock/dialogflow-cx-connector
Usage
To upload botmock cx file into dialogflow cx
const connector = new DialogflowCXConnector({
dialogflowCXConfig: {
projectId: DF_PROJECT_ID,
projectRegion: DF_REGION,
}
});
await connector.upload({
file: `PATH-TO-file` //Replace this with your path of cxJson
});