File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " workflowai"
3- version = " 0.3.0 "
3+ version = " 0.3.1 "
44description = " "
55authors = [" Guillaume Aquilina <guillaume@workflowai.com>" ]
66readme = " README.md"
Original file line number Diff line number Diff line change 66class LLMUsage (BaseModel ):
77 """An object to store usage information for the LLM provider"""
88
9- prompt_token_count : Optional [int ] = Field (
10- default = None , description = "The number of tokens in the prompt" ,
9+ prompt_token_count : Optional [float ] = Field (
10+ default = None ,
11+ description = "The number of tokens in the prompt" ,
1112 )
1213 prompt_cost_usd : Optional [float ] = Field (
13- default = None , description = "The cost of the prompt in USD" ,
14+ default = None ,
15+ description = "The cost of the prompt in USD" ,
1416 )
1517
16- completion_token_count : Optional [int ] = Field (
17- default = None , description = "The number of tokens in the completion" ,
18+ completion_token_count : Optional [float ] = Field (
19+ default = None ,
20+ description = "The number of tokens in the completion" ,
1821 )
1922 completion_cost_usd : Optional [float ] = Field (
20- default = None , description = "The cost of the completion in USD" ,
23+ default = None ,
24+ description = "The cost of the completion in USD" ,
2125 )
2226
2327 @property
You can’t perform that action at this time.
0 commit comments