/doc-generator

Primary LanguageJavaScript

doc-generator

This is a utility for generating fake training documents and accompanying csv input file

  1. Make a config.js file in the root of the project and add the following line, substituting the unique part of the bucket path for the xxx-xxx-xxx part.
export const bucketPathString = "gs://cloud-ai-platform-xxx-xxx-xxx";
  1. Run this command to generate a new set of documents and csv file.
node docMaker.js

The input file and training documents will be written to their own directory, like this:

files