-
Notifications
You must be signed in to change notification settings - Fork 0
[QUO-2017] Polling for detections, cleanup artificats, readme, lint #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUO-2017] Polling for detections, cleanup artificats, readme, lint #14
Conversation
examples/example_logs.ts
Outdated
| console.log('pollForDetectionResults with logId: ', logId); | ||
|
|
||
| // poll for the detection results | ||
| const detectionResults = await quotientLogger.pollForDetectionResults(logId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be pollForDetection?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
examples/example_logs.ts
Outdated
| @@ -1,49 +1,63 @@ | |||
| import { QuotientAI } from '../quotientai'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think this should be from quotientai?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
README.md
Outdated
|
|
||
| ```typescript | ||
| new QuotientAI(apiKey?: string) | ||
| QUOTIENT_API_KEY={{YOUR_API_KEY}} ts-node examples/example_logs.ts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would actually just copy and paste example_logs.ts directly in here rather than have it be in the repo. Assume people won't clone this but instead have only done npm install quotientai
QUOTIENT_API_KEY={{YOUR_API_KEY}} ts-node example.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I did this. This makes a lot of sense!
No description provided.