module

LLM

Constants

TRACE = false

Development use; set to true to trace HTTP

Class methods

connection_by(provider : String) : Connection | Nil

Returns an instance of a provider-specific LLM::Connection, for known provider (one of openai, ollama, azure_openai, or google_ai_studio) or nil if unknown.

Source
connection_provider_label(connection : Connection) : String

Returns the provider label for the given connection instance

Source

Nested types