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)


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

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


1848
1849
1850
# File 'sig/types.rbs', line 1848

def additional_files
  @additional_files
end

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


1850
1851
1852
# File 'sig/types.rbs', line 1850

def description
  @description
end

#max_lengthInteger (readonly)

Returns the value of attribute max_length.

Returns:

  • (Integer)


1849
1850
1851
# File 'sig/types.rbs', line 1849

def max_length
  @max_length
end

#model_fileString (readonly)

Returns the value of attribute model_file.

Returns:

  • (String)


1847
1848
1849
# File 'sig/types.rbs', line 1847

def model_file
  @model_file
end

#model_repoString (readonly)

Returns the value of attribute model_repo.

Returns:

  • (String)


1846
1847
1848
# File 'sig/types.rbs', line 1846

def model_repo
  @model_repo
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1845
1846
1847
# File 'sig/types.rbs', line 1845

def name
  @name
end