struct AI::Google::EmbeddingConfig

Overview

Configuration for the Google embedding model.

Defined in:

ai/google/google_generative_ai_embedding_model.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(provider : String, base_url : String, headers : Proc(Hash(String, String)) | Nil = nil, api_key : String | Nil = nil) #

[View source]

Instance Method Detail

def api_key : String | Nil #

[View source]
def base_url : String #

[View source]
def headers : Proc(Hash(String, String)) | Nil #

[View source]
def provider : String #

[View source]