struct AI::Google::RetrievalConfig

Overview

Retrieval configuration for grounding.

Included Modules

Defined in:

ai/google/google_generative_ai_options.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(lat_lng : LatLng | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def lat_lng : LatLng | Nil #

Latitude/longitude for location-based grounding.


[View source]