| Crates.io | intention_tester |
| lib.rs | intention_tester |
| version | 0.1.1 |
| created_at | 2019-03-11 10:07:46.860721+00 |
| updated_at | 2019-03-11 10:55:00.415038+00 |
| description | A tool to test intention detection API |
| homepage | https://github.com/QwantResearch/intention_tester |
| repository | https://github.com/QwantResearch/intention_tester |
| max_upload_size | |
| id | 120039 |
| size | 17,143 |
Test intention/category detection api against test files (in the ./data folder).
You can run intention_tester either manually or with Docker.
rust and cargo installed on your machine, you can install the intention_tester tool as follows:cargo install intention_tester
~/.cargo/bin/ directory.intention_tester -c <api-url> -i <data folder path to csv test files>
csv files in the ./data folder if you want more tests, with the same schema as the basic.csv file test.docker build -t intention_tester:1.0 . & docker run --rm intention_tester:1.0 <api-url>