struct Memo::ServiceProvider::Info

Overview

Service configuration information

Defined in:

memo/service_provider.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : Int64, name : String, format : String, base_url : String | Nil, model : String, dimensions : Int32, max_tokens : Int32, tokens_per_byte : Float64, is_default : Bool, created_at : Time) #

[View source]

Instance Method Detail

def base_url : String | Nil #

[View source]
def created_at : Time #

[View source]
def dimensions : Int32 #

[View source]
def format : String #

[View source]
def id : Int64 #

[View source]
def is_default? : Bool #

[View source]
def max_tokens : Int32 #

[View source]
def model : String #

[View source]
def name : String #

[View source]
def tokens_per_byte : Float64 #

[View source]