Skip to content

Code in Python to extract training phrases tables from a Dialogflow CX Agent

Notifications You must be signed in to change notification settings

migoogle/DF_CX_TP_TABLE_EXTRACTION

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dialogflow CX Training Phrases Extraction

Python code to export the training phrases from a Dialogflow Agent to a .csv file.

To install run the following commnands in your console:

  1. Clone the repository:
git clone https://github.com/migoogle/DF_CX_TP_TABLE_EXTRACTION.git
  1. Install the dependencies:
pip install dfcx-scrapi

(additionaly, you can install the dependencies with pip install -r requirements.txt)

Setup your agent and output file:

  1. In main.py file, fill in the paths to the Dialogflow Agent and the output file, e.g:
cred_path = '/credentials/serviceKey.json'
agent_id = 'projects/financial-bot-webhook/locations/global/agents/...601e-b396-48ed-b819-59a0426ed65b'
Intents_CSV_Output = '/taxonomy.csv'
  1. Run the code
python main.py

About

Code in Python to extract training phrases tables from a Dialogflow CX Agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages