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)


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

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


1868
1869
1870
# File 'sig/types.rbs', line 1868

def additional_files
  @additional_files
end

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


1872
1873
1874
# File 'sig/types.rbs', line 1872

def description
  @description
end

#dimInteger (readonly)

Returns the value of attribute dim.

Returns:

  • (Integer)


1871
1872
1873
# File 'sig/types.rbs', line 1871

def dim
  @dim
end

#max_lengthInteger (readonly)

Returns the value of attribute max_length.

Returns:

  • (Integer)


1869
1870
1871
# File 'sig/types.rbs', line 1869

def max_length
  @max_length
end

#model_fileString (readonly)

Returns the value of attribute model_file.

Returns:

  • (String)


1867
1868
1869
# File 'sig/types.rbs', line 1867

def model_file
  @model_file
end

#model_repoString (readonly)

Returns the value of attribute model_repo.

Returns:

  • (String)


1866
1867
1868
# File 'sig/types.rbs', line 1866

def model_repo
  @model_repo
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1865
1866
1867
# File 'sig/types.rbs', line 1865

def name
  @name
end

#query_max_lengthInteger (readonly)

Returns the value of attribute query_max_length.

Returns:

  • (Integer)


1870
1871
1872
# File 'sig/types.rbs', line 1870

def query_max_length
  @query_max_length
end