Skip to content

Code for the backend of the Google Assistant codelab

License

Notifications You must be signed in to change notification settings

Depado/assistant-codelabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

assistant-codelabs

Go Report Card Go Version Go Version License

This code was written for the Google Assistant Codelabs. It integrates with Dialogflow.

Import and Export

The --import/-i flag with a CSV file allows to import a car dataset, and feed it to the main bolt database in a single transaction.

The CSV format must be in the form : id;insertion_date;brand;model;gearbox;fuel;mileage;regdate;price;zip_code;city_name;dpt_name;region_name;type;title;body_md5_hash;word_count

You can export brands and models in a Dialogflow entity compatible format using the --export/-e flag. This will create an exports/ folder containing two files : brands.json and models.json. All you have to do is to copy the content of these files, switch your Dialogflow entity to raw mode and paste it.

About

Code for the backend of the Google Assistant codelab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages