Class: Xberg::SparseEmbeddingPreset

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSparseEmbeddingPreset

Returns a new instance of SparseEmbeddingPreset.

Parameters:

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


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

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

Instance Attribute Details

#additional_filesArray[String] (readonly)

Returns the value of attribute additional_files.

Returns:

  • (Array[String])


2402
2403
2404
# File 'sig/types.rbs', line 2402

def additional_files
  @additional_files
end

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


2404
2405
2406
# File 'sig/types.rbs', line 2404

def description
  @description
end

#max_lengthInteger (readonly)

Returns the value of attribute max_length.

Returns:

  • (Integer)


2403
2404
2405
# File 'sig/types.rbs', line 2403

def max_length
  @max_length
end

#model_fileString (readonly)

Returns the value of attribute model_file.

Returns:

  • (String)


2401
2402
2403
# File 'sig/types.rbs', line 2401

def model_file
  @model_file
end

#model_repoString (readonly)

Returns the value of attribute model_repo.

Returns:

  • (String)


2400
2401
2402
# File 'sig/types.rbs', line 2400

def model_repo
  @model_repo
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


2399
2400
2401
# File 'sig/types.rbs', line 2399

def name
  @name
end