Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
prompt-budget-check
main
PromptBudgetCheck
Prompt
Report
Settings
Generated using Crystal 1.16.3
2026-11-29 02:12:26 UTC
struct
PromptBudgetCheck::
Prompt
PromptBudgetCheck::Prompt
Struct
Value
Object
Defined in:
prompt_budget_check.cr
Constructors
.new
(id : String, characters : Int32, words : Int32, tokens : Int64, share : Float64, status : String)
Instance Method Summary
#characters
: Int32
#id
: String
#share
: Float64
#status
: String
#tokens
: Int64
#words
: Int32
Constructor Detail
def self.
new
(id : String, characters : Int32, words : Int32, tokens : Int64, share : Float64, status : String)
#
[
View source
]
Instance Method Detail
def
characters
: Int32
#
[
View source
]
def
id
: String
#
[
View source
]
def
share
: Float64
#
[
View source
]
def
status
: String
#
[
View source
]
def
tokens
: Int64
#
[
View source
]
def
words
: Int32
#
[
View source
]