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)


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

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

Instance Attribute Details

#countryString? (readonly)

Returns the value of attribute country.

Returns:

  • (String, nil)


458
459
460
# File 'sig/types.rbs', line 458

def country
  @country
end

#max_resultsInteger? (readonly)

Returns the value of attribute max_results.

Returns:

  • (Integer, nil)


456
457
458
# File 'sig/types.rbs', line 456

def max_results
  @max_results
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


454
455
456
# File 'sig/types.rbs', line 454

def model
  @model
end

#queryString (readonly)

Returns the value of attribute query.

Returns:

  • (String)


455
456
457
# File 'sig/types.rbs', line 455

def query
  @query
end

#search_domain_filterArray[String]? (readonly)

Returns the value of attribute search_domain_filter.

Returns:

  • (Array[String], nil)


457
458
459
# File 'sig/types.rbs', line 457

def search_domain_filter
  @search_domain_filter
end