Config

org.llm4s.vectorstore.PgKeywordIndex.Config
See theConfig companion object
final case class Config(host: String, port: Int, database: String, user: String, password: String, tableName: String, maxPoolSize: Int, language: String)

Configuration for PgKeywordIndex.

Value parameters

database

Database name

host

Database host

language

PostgreSQL text search configuration (default: "english")

maxPoolSize

Maximum connection pool size (default: 10)

password

Database password

port

Database port

tableName

Base table name (creates {tableName}_keyword table)

user

Database user

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

def jdbcUrl: String
def withCredentials(u: String, p: String): Config
def withDatabase(db: String): Config
def withHost(h: String): Config
def withLanguage(lang: String): Config
def withMaxPoolSize(size: Int): Config
def withPort(p: Int): Config
def withTableName(name: String): Config

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product