Crig::Client::DefaultProviders
Inherits Enum < Comparable < Value < Object
Constants
Anthropic = 0_u8
Cohere = 1_u8
Gemini = 2_u8
HuggingFace = 3_u8
OpenAI = 4_u8
OpenRouter = 5_u8
Together = 6_u8
XAI = 7_u8
Azure = 8_u8
DeepSeek = 9_u8
Groq = 10_u8
Hyperbolic = 11_u8
Moonshot = 12_u8
Mira = 13_u8
Mistral = 14_u8
Ollama = 15_u8
Perplexity = 16_u8
Doubleword = 17_u8
Class methods
all
Sourceprovider_names
SourceInstance methods
env_factory
Sourceprovider_name
SourceAppends a String representation of this enum member to the given io.
See also: to_s.
to_s
Returns a String representation of this enum member.
In the case of regular enums, this is just the name of the member.
In the case of flag enums, it's the names joined by vertical bars, or "None",
if the value is zero.
If an enum's value doesn't match a member's value, the raw value is returned as a string.
Color::Red.to_s # => "Red"
IOMode::None.to_s # => "None"
(IOMode::Read | IOMode::Write).to_s # => "Read | Write"
Color.new(10).to_s # => "10"