struct CodeRequest
- CodeRequest
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
crystal-mistral/types.crConstructors
- .new(model : String, temperature : Float64, prompt : String, suffix : String)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #model : String
- #model=(model : String)
- #prompt : String
- #prompt=(prompt : String)
- #suffix : String
- #suffix=(suffix : String)
- #temperature : Float64
- #temperature=(temperature : Float64)
Constructor Detail
def self.new(model : String, temperature : Float64, prompt : String, suffix : String)
#