class LLM::AdapterFactory

Overview

Factory for creating LLM adapters based on provider configuration.

Defined in:

llm/adapter.cr

Class Method Summary

Class Method Detail

def self.for(provider : String, model : String, api_key : String | Nil = nil) : Adapter #

[View source]