struct OpenAI::Completion
- OpenAI::Completion
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
openai/completion.crConstructors
- .new(choices : Array(Choice), created : Int32, id : String, model : String)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #choices : Array(Choice)
- #clone
- #copy_with(choices _choices = @choices, created _created = @created, id _id = @id, model _model = @model)
- #created : Int32
- #created_at
- #id : String
- #model : String
Constructor Detail
Instance Method Detail
def copy_with(choices _choices = @choices, created _created = @created, id _id = @id, model _model = @model)
#