RedisConfig

org.llm4s.vectorstore.redis.RedisConfig
See theRedisConfig companion class
object RedisConfig

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(host: String, port: Int, tls: Boolean, database: Int, username: Option[String], password: Option[String], index: String, keyPrefix: Option[String], algorithm: RedisVectorAlgorithm, distanceMetric: RedisDistanceMetric, dimensions: Option[Int], timeout: FiniteDuration): RedisConfig

Creates a config for the server at host. Named arguments are the supported way to set the rest.

Creates a config for the server at host. Named arguments are the supported way to set the rest.

Attributes

Concrete fields

val DefaultHost: String

A local server's host.

A local server's host.

Attributes

val DefaultIndex: String

The index used unless one is configured.

The index used unless one is configured.

Attributes

val DefaultPort: Int

Redis's default port.

Redis's default port.

Attributes

val DefaultTimeout: FiniteDuration

How long connecting and each command may take unless configured otherwise.

How long connecting and each command may take unless configured otherwise.

Attributes

val MaxDimensions: Int

The largest vector size this store accepts.

The largest vector size this store accepts.

Attributes