Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Safeguards for accidental large cost runs #4

Open
dpaleka opened this issue Aug 16, 2022 · 3 comments
Open

Safeguards for accidental large cost runs #4

dpaleka opened this issue Aug 16, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@dpaleka
Copy link
Collaborator

dpaleka commented Aug 16, 2022

Implement some sort of warning that you need to explicitly override to continue if the input file is unreasonably large.

This doesn't prevent failure modes when the script itself is called multiple times, but it's a good start.

@pszemraj
Copy link
Owner

good idea, can be also be an argparse switch that has no shorthand, something like --safeguard-size which defaults to 100 or so, then you have to reconfirm every safeguard_size number of queries.

I can take a look at this after my exams early Sept if you don't already have something/a better idea by then

@pszemraj pszemraj added the enhancement New feature or request label Aug 25, 2022
@pszemraj
Copy link
Owner

did we resolve this with your PR or is there more work to be done?

@dpaleka
Copy link
Collaborator Author

dpaleka commented Nov 29, 2022

I think the PR did not resolve that particular point, only some other issues with the OpenAI API

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants