struct

AI::Google::EmbeddingConfig

Inherits Struct < Value < Object

Configuration for the Google embedding model.

Constructors

new(provider : String, base_url : String, headers : Proc(Hash(String, String)) | Nil = nil, api_key : String | Nil = nil)
Source

Instance methods

api_key
Source
base_url
Source
headers
Source
provider
Source