Class: LiterLlm::SearchRequest

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSearchRequest

Returns a new instance of SearchRequest.

Parameters:

  • model: (String)
  • query: (String)
  • max_results: (Integer)
  • search_domain_filter: (Array[String])
  • country: (String)


450
# File 'sig/types.rbs', line 450

def initialize: (?model: String, ?query: String, ?max_results: Integer, ?search_domain_filter: Array[String], ?country: String) -> void

Instance Attribute Details

#countryString?

Returns the value of attribute country.

Returns:

  • (String, nil)


448
449
450
# File 'sig/types.rbs', line 448

def country
  @country
end

#max_resultsInteger?

Returns the value of attribute max_results.

Returns:

  • (Integer, nil)


446
447
448
# File 'sig/types.rbs', line 446

def max_results
  @max_results
end

#modelString?

Returns the value of attribute model.

Returns:

  • (String, nil)


444
445
446
# File 'sig/types.rbs', line 444

def model
  @model
end

#queryString?

Returns the value of attribute query.

Returns:

  • (String, nil)


445
446
447
# File 'sig/types.rbs', line 445

def query
  @query
end

#search_domain_filterArray[String]?

Returns the value of attribute search_domain_filter.

Returns:

  • (Array[String], nil)


447
448
449
# File 'sig/types.rbs', line 447

def search_domain_filter
  @search_domain_filter
end