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)


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

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


1884
1885
1886
# File 'sig/types.rbs', line 1884

def additional_files
  @additional_files
end

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


1886
1887
1888
# File 'sig/types.rbs', line 1886

def description
  @description
end

#max_lengthInteger (readonly)

Returns the value of attribute max_length.

Returns:

  • (Integer)


1885
1886
1887
# File 'sig/types.rbs', line 1885

def max_length
  @max_length
end

#model_fileString (readonly)

Returns the value of attribute model_file.

Returns:

  • (String)


1883
1884
1885
# File 'sig/types.rbs', line 1883

def model_file
  @model_file
end

#model_repoString (readonly)

Returns the value of attribute model_repo.

Returns:

  • (String)


1882
1883
1884
# File 'sig/types.rbs', line 1882

def model_repo
  @model_repo
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


1881
1882
1883
# File 'sig/types.rbs', line 1881

def name
  @name
end