struct CodeRequest

Included Modules

Defined in:

crystal-mistral/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(model : String, temperature : Float64, prompt : String, suffix : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def model : String #

[View source]
def model=(model : String) #

[View source]
def prompt : String #

[View source]
def prompt=(prompt : String) #

[View source]
def suffix : String #

[View source]
def suffix=(suffix : String) #

[View source]
def temperature : Float64 #

[View source]
def temperature=(temperature : Float64) #

[View source]