cognitive-catalyst / WA-Testing-Tool

Scripts that run against Watson Assistant for K fold validation on training set, testing on blind test, and draw precision curves for comparison.
Apache License 2.0
78 stars 61 forks source link

#201 status indicator during log fetch #202

Closed andrewrfreed closed 2 years ago

andrewrfreed commented 2 years ago

Fixes #201

Example progress:

afreed@andrews-mbp:[~/Code/WA-Testing-Tool/log_analytics] (master *)$ python getAllLogs.py -a <snipped> -l https://api.us-east.assistant.watson.cloud.ibm.com/instances/<snipped> -w <snipped> -n 2 -p 10 -f "request_timestamp>2021-10-01" -o test.json
Fetched 1 log pages with 10 total logs
Fetched 2 log pages with 20 total logs
Writing 20 logs to test.json

DCO 1.1 Signed-off-by: Andrew R. Freed afreed@us.ibm.com