assistant-codelabs

command module
v0.0.0-...-a8bd3f9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2017 License: MIT Imports: 6 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL