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)


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

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])


1904
1905
1906
# File 'sig/types.rbs', line 1904

def additional_files
  @additional_files
end

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


1908
1909
1910
# File 'sig/types.rbs', line 1908

def description
  @description
end

#dimInteger (readonly)

Returns the value of attribute dim.

Returns:

  • (Integer)


1907
1908
1909
# File 'sig/types.rbs', line 1907

def dim
  @dim
end

#max_lengthInteger (readonly)

Returns the value of attribute max_length.

Returns:

  • (Integer)


1905
1906
1907
# File 'sig/types.rbs', line 1905

def max_length
  @max_length
end

#model_fileString (readonly)

Returns the value of attribute model_file.

Returns:

  • (String)


1903
1904
1905
# File 'sig/types.rbs', line 1903

def model_file
  @model_file
end

#model_repoString (readonly)

Returns the value of attribute model_repo.

Returns:

  • (String)


1902
1903
1904
# File 'sig/types.rbs', line 1902

def model_repo
  @model_repo
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1901
1902
1903
# File 'sig/types.rbs', line 1901

def name
  @name
end

#query_max_lengthInteger (readonly)

Returns the value of attribute query_max_length.

Returns:

  • (Integer)


1906
1907
1908
# File 'sig/types.rbs', line 1906

def query_max_length
  @query_max_length
end