Crig::Providers::OpenRouter::Client
Inherits Crig::Client::TranscriptionClient < Crig::Client::AudioGenerationClient < Crig::Client::EmbeddingsClient < Crig::Client::CompletionClient < Struct < Value < Object
Constructors
from_env
SourceClass methods
builder
SourceInstance methods
api_key
Sourceapp_categories
Sourceapp_title
Sourceapp_url
Sourcebase_url
Sourceembedding_model_with_ndims(model : String, ndims : Int32) : Crig::Providers::OpenRouter::EmbeddingModel
Sourcepost_json(path : String, body : String, headers : Hash(String, String) = {} of String => String) : HTTP::Client::Response
Source