org.llm4s.config.PgSearchIndexConfigLoader
Loader that builds a org.llm4s.rag.permissions.SearchIndex.PgConfig from a PureConfig pureconfig.ConfigSource .
Reads the llm4s.rag.permissions.pg config tree to obtain PostgreSQL connection details (host, port, database, credentials) and table names used by the RAG permission-aware search index.
Use default to read the ambient environment; Llm4sConfig cannot expose this because SearchIndex lives in llm4s-rag and Llm4sConfig lives in llm4s-core.
Attributes
Graph
Reset zoom Hide graph Show graph
Supertypes
class Object
trait Matchable
class Any
Self type
Members list
Loads PostgreSQL search index configuration from the current environment (environment variables plus application.conf).
Loads PostgreSQL search index configuration from the current environment (environment variables plus application.conf).
Replaces Llm4sConfig.pgSearchIndex(), which could not follow SearchIndex out of llm4s-core.
Attributes
Returns
the PgConfig, or a org.llm4s.error.ProcessingError when required connection variables are missing or malformed.
Loads PostgreSQL search index configuration from source.
Loads PostgreSQL search index configuration from source.
Value parameters
source
PureConfig source to read from; use ConfigSource.default in production to read environment variables and application.conf.
Attributes
Returns
the PgConfig, or a org.llm4s.error.ProcessingError when required connection variables are missing or malformed.