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)


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

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)


775
776
777
# File 'sig/types.rbs', line 775

def country
  @country
end

#max_resultsInteger? (readonly)

Returns the value of attribute max_results.

Returns:

  • (Integer, nil)


773
774
775
# File 'sig/types.rbs', line 773

def max_results
  @max_results
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


771
772
773
# File 'sig/types.rbs', line 771

def model
  @model
end

#queryString (readonly)

Returns the value of attribute query.

Returns:

  • (String)


772
773
774
# File 'sig/types.rbs', line 772

def query
  @query
end

#search_domain_filterArray[String]? (readonly)

Returns the value of attribute search_domain_filter.

Returns:

  • (Array[String], nil)


774
775
776
# File 'sig/types.rbs', line 774

def search_domain_filter
  @search_domain_filter
end