Class: Xberg::LateInteractionPreset

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLateInteractionPreset

Returns a new instance of LateInteractionPreset.

Parameters:

  • name: (String)
  • model_repo: (String)
  • model_file: (String)
  • additional_files: (Array[String])
  • max_length: (Integer)
  • query_max_length: (Integer)
  • dim: (Integer)
  • description: (String)


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

def initialize: (name: String, model_repo: String, model_file: String, additional_files: Array[String], max_length: Integer, query_max_length: Integer, dim: Integer, description: String) -> void

Instance Attribute Details

#additional_filesArray[String] (readonly)

Returns the value of attribute additional_files.

Returns:

  • (Array[String])


1878
1879
1880
# File 'sig/types.rbs', line 1878

def additional_files
  @additional_files
end

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


1882
1883
1884
# File 'sig/types.rbs', line 1882

def description
  @description
end

#dimInteger (readonly)

Returns the value of attribute dim.

Returns:

  • (Integer)


1881
1882
1883
# File 'sig/types.rbs', line 1881

def dim
  @dim
end

#max_lengthInteger (readonly)

Returns the value of attribute max_length.

Returns:

  • (Integer)


1879
1880
1881
# File 'sig/types.rbs', line 1879

def max_length
  @max_length
end

#model_fileString (readonly)

Returns the value of attribute model_file.

Returns:

  • (String)


1877
1878
1879
# File 'sig/types.rbs', line 1877

def model_file
  @model_file
end

#model_repoString (readonly)

Returns the value of attribute model_repo.

Returns:

  • (String)


1876
1877
1878
# File 'sig/types.rbs', line 1876

def model_repo
  @model_repo
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1875
1876
1877
# File 'sig/types.rbs', line 1875

def name
  @name
end

#query_max_lengthInteger (readonly)

Returns the value of attribute query_max_length.

Returns:

  • (Integer)


1880
1881
1882
# File 'sig/types.rbs', line 1880

def query_max_length
  @query_max_length
end