Class: LlmMemoryPgvector::Configuration
- Inherits:
-
Object
- Object
- LlmMemoryPgvector::Configuration
- Defined in:
- lib/llm_memory_pgvector.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 |
# File 'lib/llm_memory_pgvector.rb', line 14 def initialize @pg_url = nil end |
Instance Attribute Details
#pg_url ⇒ Object
18 19 20 21 22 23 |
# File 'lib/llm_memory_pgvector.rb', line 18 def pg_url return @pg_url if @pg_url error_text = "Missing Connection URIs See https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING" raise ConfigurationError, error_text end |