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)


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

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


1941
1942
1943
# File 'sig/types.rbs', line 1941

def additional_files
  @additional_files
end

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


1945
1946
1947
# File 'sig/types.rbs', line 1945

def description
  @description
end

#dimInteger (readonly)

Returns the value of attribute dim.

Returns:

  • (Integer)


1944
1945
1946
# File 'sig/types.rbs', line 1944

def dim
  @dim
end

#max_lengthInteger (readonly)

Returns the value of attribute max_length.

Returns:

  • (Integer)


1942
1943
1944
# File 'sig/types.rbs', line 1942

def max_length
  @max_length
end

#model_fileString (readonly)

Returns the value of attribute model_file.

Returns:

  • (String)


1940
1941
1942
# File 'sig/types.rbs', line 1940

def model_file
  @model_file
end

#model_repoString (readonly)

Returns the value of attribute model_repo.

Returns:

  • (String)


1939
1940
1941
# File 'sig/types.rbs', line 1939

def model_repo
  @model_repo
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1938
1939
1940
# File 'sig/types.rbs', line 1938

def name
  @name
end

#query_max_lengthInteger (readonly)

Returns the value of attribute query_max_length.

Returns:

  • (Integer)


1943
1944
1945
# File 'sig/types.rbs', line 1943

def query_max_length
  @query_max_length
end