Config

org.llm4s.vectorstore.VectorStoreFactory.Config
See theConfig companion object
final case class Config(backend: Backend, path: Option[String], connectionString: Option[String], options: Map[String, String])

Configuration for creating a vector store.

Value parameters

backend

The storage backend to use

connectionString

Connection string (for remote backends)

options

Additional backend-specific options

path

Path to database file (for file-based backends)

Attributes

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

Members list

Value members

Concrete methods

Create in-memory store (SQLite).

Create in-memory store (SQLite).

Attributes

def withOption(key: String, value: String): Config

Add a configuration option.

Add a configuration option.

Attributes

def withPgVector(connectionString: String): Config

Create with pgvector backend.

Create with pgvector backend.

Attributes

def withQdrant(url: String): Config

Create with Qdrant backend.

Create with Qdrant backend.

Attributes

def withSQLite(path: String): Config

Create with SQLite backend.

Create with SQLite backend.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product