From edd16aa79c2e56c9b4a02f173fa7bc344a915c95 Mon Sep 17 00:00:00 2001 From: Yudha H Tejaningrat Date: Tue, 24 Jun 2025 12:59:04 +0700 Subject: [PATCH] fix: sample rag/text_to_sql_pipeline psql port to str --- examples/pipelines/rag/text_to_sql_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pipelines/rag/text_to_sql_pipeline.py b/examples/pipelines/rag/text_to_sql_pipeline.py index 31471ad..a2354f8 100644 --- a/examples/pipelines/rag/text_to_sql_pipeline.py +++ b/examples/pipelines/rag/text_to_sql_pipeline.py @@ -40,7 +40,7 @@ class Pipeline: **{ "pipelines": ["*"], # Connect to all pipelines "DB_HOST": os.getenv("DB_HOST", "http://localhost"), # Database hostname - "DB_PORT": os.getenv("DB_PORT", 5432), # Database port + "DB_PORT": os.getenv("DB_PORT", "5432"), # Database port "DB_USER": os.getenv("DB_USER", "postgres"), # User to connect to the database with "DB_PASSWORD": os.getenv("DB_PASSWORD", "password"), # Password to connect to the database with "DB_DATABASE": os.getenv("DB_DATABASE", "postgres"), # Database to select on the DB instance