struct

Crig::Providers::HuggingFace::SubProvider

Inherits Struct < Value < Object

Constructors

custom(route : String) : self
Source
fireworks
Source
hf_inference
Source
hyperbolic
Source
nebius
Source
new(kind : SubProviderKind = SubProviderKind::HFInference, custom_route : String | Nil = nil)
Source
novita
Source
sambanova
Source
together
Source

Instance methods

completion_endpoint(model : String) : String
Source
custom_route
Source
image_generation_endpoint(model : String) : String
Source
kind
Source
model_identifier(model : String) : String
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source
transcription_endpoint(model : String) : String
Source