mgnlq_testmodel
v0.0.11
Published
example model data for usage in mgnlq_model, use latter to create db testdb from this data, note that data needs to be explicitely linked as not a standard dependency
Downloads
4
Readme
mgnlq_testmodel
test model data for the mongo db based nlq processing
contains
- Mongoose schema .mongooseschema.json
- Model documents (which are effectively model data loaded into mongoose) .doc.json
- .data.json
Filename | | comment ----------------------|---|------------ model.json | | .doc.json | Model Documents | data effectively loaded into mongodb "models" collection .mongooseschema.json | .data.json | |
How to use
The data can be uploaded into a mongodb ("testdb") via mgnlq_model
npm run load_data
this module is used as reference data in many projects
an alternative source and target name can be specified via:
var mongoConnectionString = process.env.MONGO_DBURL || 'mongodb://localhost/testdb'; var modelPath = process.env.MGNLQ_MODELPATH || 'node_modules/mgnlq_testmodel/testmodel/';
history
0.0.5 uri_rank, uri