Skip to content
This repository was archived by the owner on Aug 10, 2020. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Speechli API

Install Docker and Docker Compose before continuing.

To run:

docker-compose up -d

To stop:

docker-compose down

To rebuild the project:

docker-compose build

Utilities

To perform a bulk document upload to the Watson Discovery collection (can pass either a directory or a file):

docker-compose run --rm -v <path/to/data>:/tmp/data speechli-api \
    python discovery.py /tmp/data

For example, if you have data locally at /path/to/dir and /path/to/file.json (note that this must be an absolute path):

# If a directory
docker-compose run --rm -v /path/to/dir:/tmp/data speechli-api \
    python discovery.py /tmp/data

# If a file
docker-compose run --rm -v /path/to/file.json:/tmp/data/file.json speechli-api \
    python discovery.py /tmp/data/file.json

Note that the upload process is relatively slow.

About

☁️ Speechli API

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages