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)


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

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


1427
1428
1429
# File 'sig/types.rbs', line 1427

def additional_files
  @additional_files
end

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


1431
1432
1433
# File 'sig/types.rbs', line 1431

def description
  @description
end

#dimInteger (readonly)

Returns the value of attribute dim.

Returns:

  • (Integer)


1430
1431
1432
# File 'sig/types.rbs', line 1430

def dim
  @dim
end

#max_lengthInteger (readonly)

Returns the value of attribute max_length.

Returns:

  • (Integer)


1428
1429
1430
# File 'sig/types.rbs', line 1428

def max_length
  @max_length
end

#model_fileString (readonly)

Returns the value of attribute model_file.

Returns:

  • (String)


1426
1427
1428
# File 'sig/types.rbs', line 1426

def model_file
  @model_file
end

#model_repoString (readonly)

Returns the value of attribute model_repo.

Returns:

  • (String)


1425
1426
1427
# File 'sig/types.rbs', line 1425

def model_repo
  @model_repo
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1424
1425
1426
# File 'sig/types.rbs', line 1424

def name
  @name
end

#query_max_lengthInteger (readonly)

Returns the value of attribute query_max_length.

Returns:

  • (Integer)


1429
1430
1431
# File 'sig/types.rbs', line 1429

def query_max_length
  @query_max_length
end