RedisVectorAlgorithm

org.llm4s.vectorstore.redis.RedisVectorAlgorithm
See theRedisVectorAlgorithm companion object
enum RedisVectorAlgorithm(val wireName: String)

The index structure of a Redis VECTOR field, fixed when the index is created.

Value parameters

wireName

the algorithm's name in FT.CREATE

Attributes

Companion
object
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Flat extends RedisVectorAlgorithm

Brute force: exact, for small stores.

Brute force: exact, for small stores.

Attributes

case Hnsw extends RedisVectorAlgorithm

Hierarchical navigable small world graph: approximate, fast on large stores. The default.

Hierarchical navigable small world graph: approximate, fast on large stores. The default.

Attributes