PgSearchIndex

org.llm4s.rag.permissions.pg.PgSearchIndex
See thePgSearchIndex companion class
object PgSearchIndex

Attributes

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

Members list

Value members

Concrete methods

Create a new PgSearchIndex with the given configuration.

Create a new PgSearchIndex with the given configuration.

Value parameters

config

PostgreSQL configuration

Attributes

Returns

The search index, or error

def fromJdbcUrl(jdbcUrl: String, user: String, password: String, vectorTableName: String): Result[PgSearchIndex]

Create a PgSearchIndex from a JDBC URL.

Create a PgSearchIndex from a JDBC URL.

Value parameters

jdbcUrl

JDBC URL (e.g., "jdbc:postgresql://localhost:5432/mydb")

password

Database password

user

Database user

vectorTableName

Name of the vectors table

Attributes

Returns

The search index, or error