Closed albertah1 closed 1 year ago
@albertah1 I am getting same issue
Sorry about this, we've reproduced and @viswavi is working on it.
The latest release (0.0.6 on PyPi) should fix these issues @albertah1 @chintanshrinath. Apologies for the reliability issues here.
Do pip install --upgrade prompt2model
to fetch these updates.
I am running prompt2model_demo.py and enter the example text. This error appears repeatedly immediately:
Parsing prompt... ERROR:root:{'max_tokens': 4000, 'input_cost_per_token': 1.5e-06, 'output_cost_per_token': 2e-06} is not of type 'integer' - 'max_tokens' ERROR:root:{'max_tokens': 4000, 'input_cost_per_token': 1.5e-06, 'output_cost_per_token': 2e-06} is not of type 'integer' - 'max_tokens'