Skip to content
/ botch Public

quick botch to convert some csv data into output, which can be copy and pasted into a JSON backup

License

Notifications You must be signed in to change notification settings

bkrxiii/botch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSV to Txt/JSON conversion tool

quick script to convert some csv data into output, which can be copy and pasted into JSON from plain-text

background

We were faced with manually adding entities to our chatbot agent in Dialog Flow CX. This would have meant one manual entry through a web-interface for each car brand available for purchase in the UK.

Setting up a solution via API would have taken too long to implement and get sign-off for, and we had a tight deadline for this POC; so I wrote this python script to convert the entries of a CSV file into a plain txt output that we could copy & paste into a JSON "version" of our agent, without the need for further editing, and then use this to update the whole agent.

Worked like a charm.

About

quick botch to convert some csv data into output, which can be copy and pasted into a JSON backup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages