Class: RubyLLM::Turbovec::SearchResults

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

Instance Method Summary collapse

Instance Method Details

#indices::Array[::Integer]

Returns:

  • (::Array[::Integer])


26
# File 'sig/ruby_llm/turbovec.rbs', line 26

def indices: () -> ::Array[::Integer]

#indices_for_query::Array[::Integer]

Parameters:

  • (::Integer)

Returns:

  • (::Array[::Integer])


30
# File 'sig/ruby_llm/turbovec.rbs', line 30

def indices_for_query: (::Integer) -> ::Array[::Integer]

#k::Integer

Returns:

  • (::Integer)


28
# File 'sig/ruby_llm/turbovec.rbs', line 28

def k: () -> ::Integer

#nq::Integer

Returns:

  • (::Integer)


27
# File 'sig/ruby_llm/turbovec.rbs', line 27

def nq: () -> ::Integer

#scores::Array[::Float]

Returns:

  • (::Array[::Float])


25
# File 'sig/ruby_llm/turbovec.rbs', line 25

def scores: () -> ::Array[::Float]

#scores_for_query::Array[::Float]

Parameters:

  • (::Integer)

Returns:

  • (::Array[::Float])


29
# File 'sig/ruby_llm/turbovec.rbs', line 29

def scores_for_query: (::Integer) -> ::Array[::Float]